US 7,321,553 B2 | ||
Methods and apparatus for asserting flow control at input ports of a shared-memory switch | ||
Ajith Prasad, Bangalore (India); Ananthan Ayyasamy, Bangalore (India); Jain Philip, Bangalore (India); and Paritosh Joshi, Bangalore (India) | ||
Assigned to Intel Corporation, Santa Clara, Calif. (US) | ||
Filed on Jul. 22, 2003, as Appl. No. 10/624,995. | ||
Prior Publication US 2005/0018708 A1, Jan. 27, 2005 | ||
Int. Cl. H04L 1/00 (2006.01) |
U.S. Cl. 370—230 [370/412] | 28 Claims |
1. A method comprising:
determining a proportion of a shared memory space currently allocated to a first input port of a data communication switch;
determining a proportion of the shared memory space that is not currently allocated to any input port of the data communication
switch;
asserting flow control with respect to the first input port if the proportion of the shared memory space currently allocated
to the first input port is not less than a quantity obtained by performing a calculation with respect to the proportion of
the shared memory space that is not currently allocated to any input port of the data communication switch; and
allocating a portion of an overflow zone to the first input port in regard to at least one data packet received at the first
input port at a time when flow control is asserted with respect to the first input port.
|