Patent attributes
A network switching apparatus and method for congestion control. Each one of the connection ports of the switching apparatus includes a low priority queue and a high priority queue. When a data packet enters a switching apparatus, the switching apparatus according to the type of the data packet enqueues the data packet to the low priority queue or the high priority queue. When congestion occurs at the switching apparatus, the low priority queue and the high priority queue can respectively perform the different ways of the congestion control, according to the input congestion mode. Also, when the switching apparatus receives a pause frame, response flow control can be performed, according to the output congestion mode. Since the different ways of the congestion control are performed according to the different types of the data packet, the congestion control can be optimized.