Patent ID: 9172655
Filing Date: 2015-10-27
Classification: H04L

Abstract:
1. A machine-implemented method for providing quality of service (QOS) in a network, the method comprising: determining whether a transmit segment of a port of a network device has received a grant from a scheduler to transmit a packet; wherein the port includes a plurality of sub-ports that share the transmit segment to transmit packets and share a receive segment to receive packets; when the transmit segment has received the grant, mapping a virtual queue associated with the grant to a QOS bin that includes a minimum bandwidth threshold value, a maximum bandwidth threshold value, and a counter for counting actual bandwidth consumed among a subset of the plurality of sub-ports associated with the QOS bin wherein the subset of the plurality of sub-ports operate according to different protocols; wherein the QOS bin monitors bandwidth consumed by a source traffic group for adjusting QOS priority and the source traffic group includes the virtual queue; comparing a counter value with the minimum bandwidth threshold value and the maximum bandwidth threshold value after the packet is transmitted; adjusting a QOS priority for the QOS bin, based on the comparison, when the counter value has reached the maximum bandwidth threshold value or the minimum bandwidth threshold value; and sending an adjusted QOS priority to the scheduler when the QOS priority is adjusted such that the scheduler can use the adjusted priority when evaluating requests from the plurality of sub-ports for processing received packets.