IP Library › Granted Patent US 12,348,430
Granted Patent B2
US 12,348,430 · App. 17/875,930 · Granted Jul 1, 2025

Method and procedure for real time determination of minimum fibre channel buffer to buffer credits on an inter switch link

Inventor: Edward Dana Mazurek (Mebane, NC)
Assignee: CISCO TECHNOLOGY, INC.
H04L47/39H04L43/0864H04L43/106H04L47/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,348,430
App. No.
17/875,930
Granted
Jul 1, 2025
Kind
B2
Abstract

A method for the real time determination of minimum fibre channel buffer to buffer credits on an inter switch link. In one particular embodiment, a method includes communicating a first frame to a receiving switch with a first timestamp, receiving a second frame with a second and third timestamp, adding a fourth timestamp to the second frame, calculating the round trip link latency time value using the first timestamp, the second timestamp, the third timestamp, and the fourth timestamp, and calculating the minimum number of buffer to buffer credits to be configured on the link to nondisruptively transmit traffic.

Claims (61)

1. A method, comprising:

storing a current number of frames transmitted value in a first field of a first frame and a current number of bytes transmitted value in a second field of the first frame before transmitting the first frame to a receiving switch;

transmitting the first frame from an initiating switch to the receiving switch, wherein the first frame comprises a first timestamp of the first frame being transmitted and a second timestamp of the first frame received at the receiving switch;

receiving a second frame at the initiating switch, wherein the second frame comprises at least the first timestamp, the second timestamp, and a third timestamp of the second frame being transmitted to the initiating switch;

adding a fourth timestamp to the second frame, wherein the fourth timestamp indicates when the second frame was received at the initiating switch;

calculating a round trip link latency time value using the first timestamp, the second timestamp, the third timestamp, and the fourth timestamp; and

calculating a minimum number of buffer to buffer credits to be configured on a link using at least the round trip link latency time value.

2. The method of claim 1 , wherein the first frame further comprises a Well Known Address (WKA) destination.

3. The method of claim 1 , further comprising storing the current number of frames transmitted value in a third field and the current number of bytes transmitted value in a fourth field at a periodic interval.

4. The method of claim 3 , further comprising:

calculating an average transmit frame size using at least the current number of frames transmitted value in the first field of the first frame, the current number of bytes transmitted value in the second field of the first frame, the current number of frames transmitted value in the third field of the first frame, and the current number of bytes transmitted value in the fourth field of the first frame;

calculating the round trip link latency time value in a metric unit that corresponds to distance; and

calculating the minimum number of buffer to buffer credits to be configured on the link using at least the average transmit frame size and the round trip link latency time value.

5. The method of claim 4 , further comprising:

updating the current number of frames transmitted value in the first field to reflect the current number of frames transmitted value in the third field; and

updating the current number of bytes transmitted value in the second field to reflect the current number of bytes transmitted value in the third field and the fourth field;

wherein updating the current number of frames transmitted value and updating the current number of bytes transmitted value occurs after the average transmit frame size is calculated.

6. The method of claim 1 , wherein:

the calculated minimum number of buffer to buffer credits exceeds a current number of buffer to buffer credits configured on the link; and

the method further comprises communicating a notification to a user.

7. A system, comprising:

one or more processors; and

one or more computer-readable non-transitory storage media comprising instructions that, when executed by the one or more processors, cause one or more components of the system to perform operations comprising:

storing a current number of frames transmitted value in a first field of a first frame and a current number of bytes transmitted value in a second field of the first frame before transmitting the first frame to a receiving switch;

transmitting the first frame from an initiating switch to a receiving switch, wherein the first frame comprises a first timestamp of the first frame being transmitted and a second timestamp of the first frame received at the receiving switch;

receiving a second frame at the initiating switch, wherein the second frame comprises at least the first timestamp, the second timestamp, and a third timestamp of the second frame being transmitted to the initiating switch;

adding a fourth timestamp to the second frame, wherein the fourth timestamp indicates when the second frame was received at the initiating switch;

calculating a round trip link latency time value using the first timestamp, the second timestamp, the third timestamp, and the fourth timestamp; and

calculating a minimum number of buffer to buffer credits to be configured on a link using at least the round trip link latency time value.

8. The system of claim 7 , wherein the first frame further comprises a Well Known Address (WKA) destination.

9. The system of claim 7 , the operations further comprising storing the current number of frames transmitted value in a third field and the current number of bytes transmitted value in a fourth field at a periodic interval.

10. The system of claim 9 , the operations further comprising:

calculating an average transmit frame size using at least the current number of frames transmitted value in the first field of the first frame, the current number of bytes transmitted value in the second field of the first frame, the current number of frames transmitted value in the third field of the first frame, and the current number of bytes transmitted value in the fourth field of the first frame;

calculating the round trip link latency time value in a metric unit that corresponds to distance; and

calculating the minimum number of buffer to buffer credits to be configured on the link using at least the average transmit frame size and the round trip link latency time value.

11. The system of claim 10 , the operations further comprising:

updating the current number of frames transmitted value in the first field to reflect the current number of frames transmitted value in the third field; and

updating the current number of bytes transmitted value in the second field to reflect the current number of bytes transmitted value in the third field and the fourth field;

wherein updating the current number of frames transmitted value and updating the current number of bytes transmitted value occurs after the average transmit frame size is calculated.

12. The system of claim 7 , wherein:

the calculated minimum number of buffer to buffer credits exceeds a current number of buffer to buffer credits configured on the link; and

the operations further comprise communicating a notification to a user.

13. One or more computer-readable non-transitory storage media embodying instructions that, when executed by a processor, cause performance of operations comprising:

storing a current number of frames transmitted value in a first field of a first frame and a current number of bytes transmitted value in a second field of the first frame before transmitting the first frame to a receiving switch;

transmitting the first frame from an initiating switch to a receiving switch, wherein the first frame comprises a first timestamp of the first frame being transmitted and a second timestamp of the first frame received at the receiving switch;

receiving a second frame at the initiating switch, wherein the second frame comprises at least the first timestamp, the second timestamp, and a third timestamp of the second frame being transmitted to the initiating switch;

adding a fourth timestamp to the second frame, wherein the fourth timestamp indicates when the second frame was received at the initiating switch;

calculating a round trip link latency time value using the first timestamp, the second timestamp, the third timestamp, and the fourth timestamp; and

calculating a minimum number of buffer to buffer credits to be configured on a link using at least the round trip link latency time value.

14. The one or more computer-readable non-transitory storage media of claim 13 , wherein the first frame further comprises a Well Known Address (WKA) destination.

15. The one or more computer-readable non-transitory storage media of claim 13 , the operations further comprising storing the current number of frames transmitted value in a third field and the current number of bytes transmitted value in a fourth field at a periodic interval.

16. The one or more computer-readable non-transitory storage media of claim 15 , the operations further comprising:

calculating an average transmit frame size using at least the current number of frames transmitted value in the first field of the first frame, the current number of bytes transmitted value in the second field of the first frame, the current number of frames transmitted value in the third field of the first frame, and the current number of bytes transmitted value in the fourth field of the first frame;

calculating the round trip link latency time value in a metric unit that corresponds to distance;

calculating the minimum number of buffer to buffer credits to be configured on the link using at least the average transmit frame size and the round trip link latency time value;

updating the current number of frames transmitted value in the first field to reflect the current number of frames transmitted value in the third field; and

updating the current number of bytes transmitted value in the second field to reflect the current number of bytes transmitted value in the third field and the fourth field;

wherein updating the current number of frames transmitted value and updating the current number of bytes transmitted value occurs after the average transmit frame size is calculated.

17. The one or more computer-readable non-transitory storage media of claim 16 , wherein:

the calculated minimum number of buffer to buffer credits exceeds a current number of buffer to buffer credits configured on the link; and

communicating a notification to a user.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 28, 2022
From: MAZUREK, EDWARD DANA
To: CISCO TECHNOLOGY, INC.
Reel/Frame 060658/0856 →
Continuity (1)
Related Publication 20240039861A1 · Feb 1, 2024
References Cited (16)
US 7600035B2 · Lalsangi · 2009 [cited by examiner]
US 9929829B1 · Huang · 2018 [cited by examiner]
US 10069871B2 · Jing · 2018 [cited by examiner]
US 20040153566A1 · Lalsangi et al. · 2004 [cited by applicant]
US 20080089336A1 · Mercier et al. · 2008 [cited by applicant]
US 20140204957A1 · Kanda et al. · 2014 [cited by applicant]
US 20150288570A1 · Astigarraga · 2015 [cited by examiner]
US 20170223062A1 · Jing et al. · 2017 [cited by applicant]
US 20180063004A1 · Uppunda et al. · 2018 [cited by applicant]
US 20190386906A1 · Bharadwaj · 2019 [cited by applicant]
US 20220052968A1 · Catalano et al. · 2022 [cited by applicant]
International Search Report and Written Opinion for International Application No. PCT/US2023/028006, mailed Oct. 24, 2023, 11 Pages. [cited by applicant]
Fibre Channel, Flylib.com, 31 pages, https://flylib.com/books/en/2.695.1.51/1/. [cited by applicant]
Fibre Channel Link Services (FC-LS-4), INCITS 553-20xx Link Services—4 Rev 4.03, Dec. 20, 2018, 236 pages. [cited by applicant]
FC-LS-5, Fabric Notifications Is There Anybody Out There? Authors Howard L. Johnson (Broadcom), T11-2019-00017-v000, 13 pages. [cited by applicant]
Cisco MDS 9000 Series NX-OS System Management Configuration Guide, Chapter: Configuring Interswitch Link Diagnostics, 16 pages. [cited by applicant]