Method and system for preventing deadlock in fibre channel fabrics using frame priorities
First Claim
1. A method for transmitting frames between switches in a fibre chaimel network, comprising:
- determining priority for a plurality of frames based on a hop count for each frame, where a frame with a lesser hop count has a higher priority than a frame with a greater hop count;
placing the frames in a plurality of priority queues, where each priority queue is dedicated to frames having similar priorities; and
selecting frames for transmission based on each frame'"'"'s priority;
wherein higher priority frames are selected before lower priority frames until a threshold number of higher priority frames have been selected, after which at least one lower priority frame is selected if lower priority frames are pending.
7 Assignments
0 Petitions
Accused Products
Abstract
A method and system for transmitting frames using a fibre channel switch is provided. The method includes, determining a frame'"'"'s priority based on a hop count for the frame; placing a frame in a priority queue, where the priority queue is dedicated to frames having similar priorities; selecting a frame for transmission based on the frame'"'"'s priority, if credit is available, where a frame with a higher priority is sent before a frame with a lower priority; and selecting a frame with a lower priority if enough higher priority frames have been sent. The system includes a switch with at least two priority queues for placing frames with different priorities; a counter that keeps track of frames that are transmitted from the two priority queues; and a credit control module that determines if credit is available before sending a particular frame.
321 Citations
11 Claims
-
1. A method for transmitting frames between switches in a fibre chaimel network, comprising:
-
determining priority for a plurality of frames based on a hop count for each frame, where a frame with a lesser hop count has a higher priority than a frame with a greater hop count; placing the frames in a plurality of priority queues, where each priority queue is dedicated to frames having similar priorities; and selecting frames for transmission based on each frame'"'"'s priority; wherein higher priority frames are selected before lower priority frames until a threshold number of higher priority frames have been selected, after which at least one lower priority frame is selected if lower priority frames are pending. - View Dependent Claims (2, 7, 8)
-
-
3. A system for transmitting fibre channel frames, comprising:
-
a fibre channel switch with a transmit port the transmit port having at least two priority queues for placing frames with different priorities, where a frame'"'"'s priority is based on a hop count that is in turn based upon the frame'"'"'s destination; a counter associated with each queue, each counter being configured to count frames transmitted from its associated priority queue; and a credit control module configured to determine whether sufficient credit is available before sending a particular frame. - View Dependent Claims (4, 9)
-
-
5. A fibre channel switch having a transmit port for transmitting frames, comprising:
-
at least two priority queues for placing frames with different priorities, where a frame'"'"'s priority is based on a hop count that is in turn based upon the frame'"'"'s destination; a counter associated with each queue, each counter being configured to count frames transmitted from its associated priority queue; and a credit control module configured to determine if sufficient credit is available before sending a particular frame. - View Dependent Claims (6, 10)
-
-
11. A system for transmitting fibre channel frames, comprising:
-
means for placing frames in a plurality of priority queues, where each priority queue is dedicated to frames having similar priorities; means for selecting frames for transmission based on each frame'"'"'s priority; means for determining whether a sum of empty receive buffers at a destination port and received buffers at the destination port that are filled with higher priority frames is greater than or equal to the hop count for the selected lower priority frame; wherein higher priority frames are selected before lower priority frames until a threshold number of higher priority frames have been selected, after which at least one lower priority frames is selected if lower priority frames are pending.
-
Specification