Network switching apparatus and method for congestion control
First Claim
1. A network switching apparatus with congestion control, the network switching apparatus controller comprising:
- a share buffer;
a plurality of connection ports;
a buffer control device, coupled to the share buffer;
a plurality of connection port control devices, coupled to the buffer control device, wherein the connection port control devices correspond to the connection ports one by one, when the corresponding one of the connection port control devices to a source one of the connection ports receives a data packet, the corresponding one of the connection port control device makes a request to the buffer control device, according to a size of the data packet, for allocating at least one segment needed by the data packet, thereby the data packet is stored in the at least one segment;
a forwarding device, coupled to the connection port control devices, and determining a target connection port, for the data packet, according to a type of the data packet; and
a queue control device, which is coupled to the buffer control device and the forwarding device, wherein the queue control device comprises a plurality of high priority queues and a plurality of low priority queues, one of the high priority queues and one of the low priority queues correspond to one of the connection port control device, wherein the queue control device associates said at least one segment, to one of the priority queues, according to the type of the data packet.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
38 Citations
16 Claims
-
1. A network switching apparatus with congestion control, the network switching apparatus controller comprising:
-
a share buffer;
a plurality of connection ports;
a buffer control device, coupled to the share buffer;
a plurality of connection port control devices, coupled to the buffer control device, wherein the connection port control devices correspond to the connection ports one by one, when the corresponding one of the connection port control devices to a source one of the connection ports receives a data packet, the corresponding one of the connection port control device makes a request to the buffer control device, according to a size of the data packet, for allocating at least one segment needed by the data packet, thereby the data packet is stored in the at least one segment;
a forwarding device, coupled to the connection port control devices, and determining a target connection port, for the data packet, according to a type of the data packet; and
a queue control device, which is coupled to the buffer control device and the forwarding device, wherein the queue control device comprises a plurality of high priority queues and a plurality of low priority queues, one of the high priority queues and one of the low priority queues correspond to one of the connection port control device, wherein the queue control device associates said at least one segment, to one of the priority queues, according to the type of the data packet. - View Dependent Claims (2, 3, 4)
-
-
5. A method for a congestion control, the method comprising:
-
(a) determining whether or not a target connection port is under a situation of congestion;
(b) according to a type of the data packet, enqueuing the data packet to a high priority queue or a low priority queue corresponding to the target connection port if the target connection port is under the situation of congestion;
(c) performing backpressure control if the one of the workstations or LANs connected to the target connection port is not full duplex;
(d) performing drop control if the one of the workstations or LANs does not carry a function of flow control; and
(e) performing congestion control, according to an input congestion mode of the queue on which the data packet is enqueued if the one of the workstations or LANs does carry a function of flow control. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A method of response flow control, the method comprising:
-
performing a congestion control according to an output congestion mode of a high priority queue of a source connection port if one data packet is exported from the high priority queue of the source connection port; and
performing the congestion control according to an output congestion mode of a low priority queue of the source connection port if one data packet is exported from the low priority queue of the source connection port. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification