Abstract:
Embodiments provide a network device, including a programmable processor and a non-programmable processor, where the programmable processor includes a first control port; the non-programmable processor includes a second control port, and the second control port is coupled with the first control port; the programmable processor is configured to receive a first packet, and a protocol corresponding to a packet header of the first packet is a first protocol; and the first control port and the second control port are configured to connect the programmable processor and the non-programmable processor, the non-programmable processor is configured to determine an action of the first protocol to be executed by the programmable processor on the first packet, and the programmable processor is configured to execute the action. In addition, the embodiments further provide a packet processing method. The foregoing technical solutions help reduce occupation of storage space of a programmable processor.
Abstract:
A network device management method and apparatus are provided. The method includes: generating statistical traffic data, where the statistical traffic data includes at least one of data traffic of a port of a network device, a queue status of the network device, traffic of a data packet that passes through the network device, or traffic of a target data flow that passes through the network device; and sending the statistical traffic data to a controller. The controller receives statistical traffic data sent by multiple network devices, and can adjust a path of a data flow dynamically according to a traffic status of each port of the multiple network devices or a traffic status of a transmitted data flow in the multiple network devices and by changing routing tables of the network devices, thereby improving link utilization, and further improving network performance.
Abstract:
Disclosed are a data processing method, a processor, and a data processing device. The method comprises: an arbiter sends data D(a,1) to a first processing circuit; the first processing circuit processes the data D(a,1) to obtain data D(1,2), the first processing circuit being a processing circuit among m processing circuits; the first processing circuit sends the data D(1,2) to a second processing circuit; the second processing circuit to an mth processing circuit separately process the received data; and the arbiter receives data D(m,a) sent by the mth processing circuit. The processor further comprises an (m+1)th processing circuit. Each processing circuit in the first processing circuit to the (m+1)th processing circuit can receive first data to be processed sent by the arbiter, and process the first data to be processed. The scheme is helpful to improve efficiency of data processing.