CPC H04L 47/12 (2013.01) [H04L 47/22 (2013.01); H04L 47/2416 (2013.01); H04L 47/29 (2013.01); H04L 47/521 (2013.01)] | 15 Claims |
1. A method, comprising:
determining, by a switch, a first traffic profile indicating whether to drop a packet based on utilization of a queue, wherein packets from the queue are forwarded via an egress port reachable via a fabric of interconnections;
determining, by the switch, a second traffic profile indicating whether to indicate congestion in the packet based on the utilization of the queue;
determining a third traffic profile by combining the first and second traffic profiles, wherein the third traffic profile indicates acceptance at the queue for a subset of packets being selected for dropping prior to being inserted into the queue based on the utilization of the queue;
obtaining a first probability value generated by a piece of hardware of the switch;
comparing the first probability value with a second probability value that is indicated in the third profile and corresponds to the utilization of the queue;
determining whether the utilization of the queue is within a threshold indicated in the third profile;
determining whether the first probability value is greater than the second probability value; and
in response to the packet being selected for dropping, determining whether to accept the packet at the queue and whether to set a congestion indicator in the packet based on the third traffic profile.
|