Networking processor and network device
AssigneeHuawei Technologies Co., Ltd.
InventorWan Lam
Life of this patent
Estimating the term…
Abstract
A networking processor is disclosed. The networking processor comprises a plurality of ports, a plurality of buses and a plurality of switch units. The switch unit is bound to at least one of the plurality of ports, and is configured to receive data from outside of the networking processor and send the data to the outside of the networking processor through the bound port. Each of the plurality of buses is bound to at least two of the plurality of switch units, each of the plurality of switch units is bound to at least one of the plurality of buses, and the switch unit forwards the data between different switch units through a network formed by the plurality of buses. In this way, latency of data switching is reduced.
Claims13
A networking processor, comprising a plurality of ports, a plurality of buses and a plurality of switch units, wherein
- each of the plurality of switch units is bound to at least one of the plurality of ports, and is configured to receive data from outside of the networking processor and send the data to the outside of the networking processor through a bound port;
- and
- each of the plurality of buses is bound to at least two of the plurality of switch units, each of the plurality of switch units is bound to at least one of the plurality of buses, and the switch unit forwards the data between different switch units in the plurality of switch units through a network formed by the plurality of buses,
- wherein each of the plurality of switch units comprises a switch, an access controller, and a packet processor, wherein
- the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs;
- the packet processor is configured to:
- obtain the data packet from the access controller;
- obtain a destination address from the data packet;
- determine a send port in the plurality of ports based on the destination address;
- determine a destination unit based on the send port;
- and determine, based on the destination unit, path information for forwarding the data to the destination unit;
- when the switch obtains the path information and the data from the packet processor, the switch is configured to send the data and the path information to a transferring unit based on the path information through at least one of the plurality of buses, so that the transferring unit continues to forward the data and the path information based on the path information before the data is forwarded to the destination unit;
- and
- when the switch obtains, from at least one of the plurality of buses, the data and the path information that are forwarded by another switch unit or the transferring unit, the switch is configured to continue to forward the data and the path information based on the path information before the data is forwarded to the destination unit, wherein
- the path information indicates information about the transferring unit through which the data is forwarded to the destination unit, and the transferring unit is a switch unit that is in the plurality of switch units and that is configured to forward the data.
A network device, comprising at least one networking processor interconnected through one or more buses, each of the at least one networking processor comprising a plurality of ports, a plurality of buses and a plurality of switch units, wherein
- each of the plurality of switch units is bound to at least one of the plurality of ports, and is configured to receive data from outside of the networking processor and send the data to the outside of the networking processor through a bound port;
- and
- each of the plurality of buses is bound to at least two of the plurality of switch units, each of the plurality of switch units is bound to at least one of the plurality of buses, and the switch unit forwards the data between different switch units in the plurality of switch units through a network formed by the plurality of buses,
- wherein each of the plurality of switch units comprises a switch, an access controller, and a packet processor, wherein
- the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs;
- the packet processor is configured to:
- obtain the data packet from the access controller;
- obtain a destination address from the data packet;
- determine a send port in the plurality of ports based on the destination address;
- determine a destination unit based on the send port;
- and determine, based on the destination unit, path information for forwarding the data to the destination unit;
- when the switch obtains the path information and the data from the packet processor, the switch is configured to send the data and the path information to a transferring unit based on the path information through at least one of the plurality of buses, so that the transferring unit continues to forward the data and the path information based on the path information before the data is forwarded to the destination unit;
- and
- when the switch obtains, from at least one of the plurality of bases, the data and the path information that are forwarded by another switch unit or the transferring unit, the switch is configured to continue to forward the data and the path information based on the path information before the data is forwarded to the destination unit, wherein
- the path information indicates information about the transferring unit through which the data is forwarded to the destination unit, and the transferring unit is a switch unit that is in the plurality of switch units and that is configured to forward the data.
A networking processor, comprising a plurality of ports, a plurality of buses and a plurality of switch units, wherein
- each of the plurality of switch units is bound to at least one of the plurality of ports, and is configured to receive data from outside of the networking processor and send the data to the outside of the networking processor through a bound port;
- and
- each of the plurality of buses is bound to at least two of the plurality of switch units, each of the plurality of switch units is bound to at least one of the plurality of buses, and the switch unit forwards the data between different switch units in the plurality of switch units through a network formed by the plurality of buses, wherein each of the plurality of switch units comprises a switch and an access controller, wherein
- the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs;
- when the switch obtains the data packet from the access controller, the switch is configured to:
- obtain a destination address from the data packet;
- determine a send port based on the destination address;
- determine a destination unit based on the send port;
- determine, based on the destination unit, path information for forwarding the data to the destination unit;
- and send the data and the path information to a transferring unit based on the path information through at least one of the plurality of buses, so that the transferring unit continues to forward the data and the path information based on the path information before the data is forwarded to the destination unit;
- and
- when the switch obtains, from at least one of the plurality of buses, the data and the path information that are forwarded by another switch unit or the transferring unit, the switch is configured to continue to forward the data and the path information based on the path information before the data is forwarded to the destination unit, wherein
- the path information indicates information about the transferring unit through which the data is forwarded to the destination unit, and the transferring unit is a switch unit that is in the plurality of switch units and that is configured to forward the data.
Dependencies are inferred from the claim text.