US 12,231,343 B2
Head-of-queue blocking for multiple lossless queues
Liron Mula, Ramat Gan (IL); Lion Levi, Yavne (IL); and Yuval Shpigelman, Netanya (IL)
Assigned to Mellanox Technologies, Ltd., Yokneam (IL)
Filed by MELLANOX TECHNOLOGIES, LTD., Yokneam (IL)
Filed on Sep. 5, 2022, as Appl. No. 17/902,936.
Application 17/902,936 is a continuation of application No. 16/783,184, filed on Feb. 6, 2020, granted, now 11,470,010.
Prior Publication US 2022/0417161 A1, Dec. 29, 2022
Int. Cl. H04L 47/26 (2022.01); H04L 47/10 (2022.01); H04L 47/2425 (2022.01); H04L 47/30 (2022.01); H04L 47/62 (2022.01)
CPC H04L 47/26 (2013.01) [H04L 47/2433 (2013.01); H04L 47/30 (2013.01); H04L 47/39 (2013.01); H04L 47/6205 (2013.01)] 13 Claims
OG exemplary drawing
 
7. A method for communication, comprising:
using at least one transmit-queue in a network element, transmitting packets from at least two sources to a headroom buffer in a peer network element, each source having a predefined sub-priority level different from the sub-priority levels of the other of the at least two sources, such that the transmit-queue transmits packets of a plurality of different sub-priority levels;
receiving from the peer network element signaling that indicates a number of credits for transmitting packets to the peer network element;
manage for at least one specific one of the at least one transmit-queue, a current number of credits available for transmission from the at least one specific transmit-queue, responsive to the signaling;
selecting a threshold priority based on the current number of credits for the at least one specific transmit-queue; and
for the at least specific transmit-queue, transmitting packets associated with data sources of the at least one specific transmit-queue that are higher in sub-priority level than the threshold priority, and refraining from transmitting other packets associated with the at least one specific transmit-queue.