Patent ID: 7304943
Filing Date: 2007-12-04
Classification: H04L

Abstract:
1. A bandwidth control apparatus in a switch controller of a network switch, the switch controller comprising at least one queue for storing waiting-for-transmission packets, the bandwidth control apparatus comprising: a first counter, corresponding to the queue, having a default threshold; a control logic, coupled to the first counter, executing a operation of adding or subtracting the first counter by one, and determining if a packet is allowed to enter the queue; an action device, coupled to the queue and the control logic, performing actions of inputting the packet to the queue or outputting the packet from the queue, and sending a first signal to the control logic whenever one unit bytes is inputted; and a timer, coupled to the control logic, generating a second signal to the control logic every unit time; wherein when the control logic receives the first signal from the action device and the first counter does not reach the threshold, the first counter is increased by one; when the control logic receives the second signal from the timer and a value of the first counter is not zero, the first counter is decreased by one.