US 12,463,915 B2
Method and apparatus for managing a packet received at a switch
Xiaolong Zheng, Toronto (CA); Xingjun Chu, North York (CA); and Yashar Ganjali, North York (CA)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Jun. 17, 2022, as Appl. No. 17/843,362.
Prior Publication US 2023/0412518 A1, Dec. 21, 2023
Int. Cl. H04L 47/32 (2022.01); H04L 45/74 (2022.01); H04L 47/30 (2022.01)
CPC H04L 47/32 (2013.01) [H04L 45/74 (2013.01); H04L 47/30 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method comprising:
at a network device having an ingress port and an egress port, the egress port having a buffer, the network device holding a packet received at the ingress port, from a source:
determining a level of occupancy of the buffer;
determining a priority of the packet;
determining if the priority of the packet and the level of occupancy meet a condition to drop the packet;
when the condition to drop the packet is met:
determining an address of the source of the packet;
determining an address of a destination of the packet;
determining a sequence number of the packet;
generating a message, the message including:
an address of the source of the message, the address of the source of the message being the destination address of the packet;
an address of the destination of the message, the address of the destination of the message being the source address of the packet, and
the sequence number of the packet;
dropping the packet; and
sending to the source the message to indicate to the source that the packet has been dropped.