Method and apparatus for performing cut-through virtual circuit merging
First Claim
1. A method for performing cut-through virtual connection merging at an output port of a network switch having a plurality of input ports in a connection based network comprising:
- determining whether any of a plurality of cell buffers being loaded from said respective plurality of input ports contains a fully received packet available for transmission over a virtual connection;
if at least one fully received packet is determined to be available for transmission, selecting one of said fully received packets for transmission using a first predetermined selection criteria;
transmitting said selected packet over said virtual connection; and
returning to said determining step;
if no fully received packets are determined to be available for transmission over said virtual connection, determining whether any of said plurality of cell buffers contains a partially received packet available for cut-through transmission over said virtual connection;
if no partially received packets are determined to be available for transmission, returning to said determining step;
if at least one partially received packet is determined to be available for transmission over said virtual connection, selecting one of the partially received packets for cut-through transmission using a second predetermined criteria for selection;
initiating cut-through transmission of said selected partially received packet over said virtual connection;
in the event an End of Packet signal is not received for the packet undergoing cut-through transmission prior to expiration of a predetermined period following the initiation of transmission of said cut-through packet, generating and transmitting over said virtual connection an End of Packet (EOP) indication; and
returning to said determining step.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for performing virtual connection merging in an output port of a network switch are disclosed. In the event no completely assembled packets have been received and scheduled for transmission, a partially received packet is selected for cut-through transmission prior to receipt of all cells comprising the packet. Transmission of the selected packet is initiated and a timer is started. If the timer expires prior to the receipt of an end of packet indication for the packet for which transmission has commenced, and end of packet signal is generated and transmitted and the transmission of additional cells for the cut-through packet is aborted. In this manner, delays associated with packet reassembly may be avoided and buffer sizes of reassembly buffers may be reduced.
60 Citations
19 Claims
-
1. A method for performing cut-through virtual connection merging at an output port of a network switch having a plurality of input ports in a connection based network comprising:
-
determining whether any of a plurality of cell buffers being loaded from said respective plurality of input ports contains a fully received packet available for transmission over a virtual connection;
if at least one fully received packet is determined to be available for transmission, selecting one of said fully received packets for transmission using a first predetermined selection criteria;
transmitting said selected packet over said virtual connection; and
returning to said determining step;
if no fully received packets are determined to be available for transmission over said virtual connection, determining whether any of said plurality of cell buffers contains a partially received packet available for cut-through transmission over said virtual connection;
if no partially received packets are determined to be available for transmission, returning to said determining step;
if at least one partially received packet is determined to be available for transmission over said virtual connection, selecting one of the partially received packets for cut-through transmission using a second predetermined criteria for selection;
initiating cut-through transmission of said selected partially received packet over said virtual connection;
in the event an End of Packet signal is not received for the packet undergoing cut-through transmission prior to expiration of a predetermined period following the initiation of transmission of said cut-through packet, generating and transmitting over said virtual connection an End of Packet (EOP) indication; and
returning to said determining step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
disregarding the remainder of said selected partially received packet following expiration of said predetermined period.
-
-
3. The method of claim 1 wherein said initiating step further includes the step of initiating a timer having a preset expiration period upon initiation of transmission of said partially received packet and said generating step further comprises the step of transmitting an End of Packet indication if said end of packet signal is not received for the packet undergoing cut-through transmission prior to expiration of said timer expiration period.
-
4. The method of claim 1 wherein said selecting step comprises the step of selecting the first partially received packet for cut-through transmission which is eligible for cut-through transmission and which is detected by a packet scheduler.
-
5. The method of claim 4 wherein said selecting step further comprises the step of testing packets for cut-through eligibility in a round robin sequence and selecting the first partially received packet which is detected in said round robin sequence that is eligible for cut-through transmission.
-
6. The method of claim 1 wherein said selecting step further comprises the step of associating a timer value with each packet that is eligible for cut through transmission and selecting the packet for cut-through transmission having the smallest timer value.
-
7. The method of claim 1 wherein said selecting step further comprises the steps of:
-
maintaining a cell count of cells received for each packet eligible for cut-through transmission; and
selecting a packet for cut through transmission having the largest cell count from the packets eligible for cut-through transmission.
-
-
8. The method of claim 1 wherein said method further comprises the steps of:
-
at call setup, assigning a plurality of connection identifiers or ingress connections associated with corresponding VPI/VCI addresses;
at call setup associating said plurality of connection identifiers with a group identifier specifying a single egress virtual connection a received packet having a VPI/VCI address associated with one of said plurality of connection identifiers;
wherein said packet selected for cut-through transmission merging is selected from packets associated with said group identifier.
-
-
9. Packet scheduling apparatus for merging packets ford transmission from a output port of a network switch over a virtual connection, said packets received as cells through a plurality of input ports of said network switch in a connection based network, the apparatus comprising:
-
a plurality of cell buffers for storing packets associated with a corresponding plurality of connection identifiers wherein each of said plurality of connection identifiers is associated with a group identifier identifying packets to be merged over said single virtual connection;
a loadable timer operative to produce a timeout signal a predetermined period following activation of said timer; and
a scheduler, said scheduler being operative to check said plurality of cell buffers to determine whether there is at least one fully received packet in said plurality of cell buffers and, if no fully received packets are found, to determine by checking said plurality of cell buffers whether there is at least one partially received packet in said cell buffers, said scheduler being further operative to schedule a fully assembled packet stored within one of said plurality of cell buffers for transmission over said virtual connection in the event a fully assembled packet is available for transmission;
said scheduler being further operative to apply a predetermined criteria for selection to selectively initiate transmission of a partially received packet stored within one of said plurality of cell buffers, in the event no fully assembled packets are available for transmission and to activate said timer upon initiation of transmission of said partially received packet;
said scheduler being further operative to generate and transmit an end of packet signal in the event said scheduler detects said timeout signal prior to the completion of reception of said partially received packet in the respective one of said cell buffers; and
said scheduler being further operative to return to the state of checking at completion of transmission of the currently transmitting packet. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification