WO2017032317A1 - 网络设备 - Google Patents
网络设备 Download PDFInfo
- Publication number
- WO2017032317A1 WO2017032317A1 PCT/CN2016/096633 CN2016096633W WO2017032317A1 WO 2017032317 A1 WO2017032317 A1 WO 2017032317A1 CN 2016096633 W CN2016096633 W CN 2016096633W WO 2017032317 A1 WO2017032317 A1 WO 2017032317A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bus
- board
- pci
- forwarding
- network interface
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/109—Integrated on microchip, e.g. switch-on-chip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/40—Constructional details, e.g. power supply, mechanical construction or backplane
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2002—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where interconnections or communication control functionality are redundant
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/38—Flow based routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/552—Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0026—PCI express
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/102—Packet switching elements characterised by the switching fabric construction using shared medium, e.g. bus or ring
Definitions
- the network device includes a forwarding board and an interface board.
- the forwarding board can be configured with active/standby redundancy.
- the physical switching operation can be performed on the I/O bus between the forwarding board and the interface board. That is, the physical connection of the interface board to the I/O bus between the forwarding boards that are down to the standby state is broken, and the physical connection of the new I/O bus is established between the interface board and the forwarding board that is promoted to the active state. Moreover, the forwarding board that is promoted to the active state also needs to be initialized and configured for the newly established physical connection I/O bus.
- FIG. 1 is a schematic diagram of a network device in an embodiment
- FIG. 1 are schematic views showing the working state of the embodiment shown in FIG. 1;
- FIG. 3 is a schematic structural diagram of a network device based on a PCI-E bus in an embodiment
- FIG. 3 are schematic diagrams showing the working state of the embodiment shown in FIG. 3;
- FIG. 5 is a schematic diagram showing an extended structure of the network device shown in FIG. 3;
- FIG. 6 is a schematic flowchart of a packet forwarding method used in a network device in an embodiment
- FIG. 7 is a schematic diagram of an initialization process of a network device in an embodiment.
- network device 10 includes:
- the first forwarding board 11 The first forwarding board 11;
- An interface board 13 having a control device (also referred to as a logic device) 131 and a network interface chip 132.
- the control device 131 is connected to the first forwarding board 11 through the first I/O bus 21 and through the second I/O.
- the bus 22 is connected to the second forwarding board 12, and is connected to the network interface chip 132 through the network interface bus 23;
- the control device 131 forms the data packet 200a received by the network interface chip 132 from the outside of the network device 10 into the first uplink data packet stream 211 sent to the first forwarding board 11 through the first I/O bus 21, And a second uplink data packet 212 sent to the second forwarding board 12 through the second I/O bus 22;
- control device processes the first downlink data packet stream 221 processed by the first forwarding board 11 received by the first I/O bus 21 according to the active/standby state of the first forwarding board 11 and the second forwarding board 12.
- the second downlink data packet stream 222 processed by the second forwarding board 12 received through the second I/O bus 22 is selectively turned on by the network interface bus 23 through the network interface bus 23, so that the network interface chip 132 can be The data packet is sent in the outbound direction of the network device 10. 200b.
- uplink for limiting the flow direction of the data packet can be understood as the direction from the outside of the network device 10 to the inside of the network device 10 (ie, the inbound direction), or can be understood as the first from the interface board 13 The direction in which the forwarding board 11 and the second forwarding board 12 transmit.
- the “downlink” that defines the direction of the data packet flow can be understood as the direction from the inside of the network device 10 to the outside of the network device 10 (ie, the outgoing direction), or can also be understood as the first forwarding board 11 And the direction in which the second forwarding board 12 transmits to the interface board 13.
- upstream and downstream are used to define the opposite two opposite directions, rather than the absolute direction.
- control device 131 may utilize one copy of data message 200a as the first upstream data message stream 211 and another copy of data message 200a as the second upstream data message stream 212. That is, when receiving a data message, the control device 131 may add the data message to the first uplink data packet stream 211 and the second uplink data packet stream 212.
- control device 131 or modules therein may be implemented by specialized hardware, for example, a specially designed permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation.
- control device 131 or modules therein may be implemented by hardware executing machine readable instructions, for example, may include programmable logic devices or circuits temporarily configured by software (eg, including general purpose processors or other programmable processors). Used to perform specific operations.
- FIGS. 2a and 2b The principles described in the above embodiments may include two states as shown in FIGS. 2a and 2b:
- the control device 131 can receive the data packet 200a from the outside of the network device 10 through the network interface chip 132. Transmitted to the first turn through the first I/O bus 21
- the first upstream data packet stream 211 of the dispatching board 11 and the second upstream data packet stream 212 sent to the second forwarding board 12 through the second I/O bus 22 are provided.
- the first downlink data packet stream 221 received by the control device 131 from the first forwarding board 11 is connected to the network interface chip 132
- the second downlink data packet stream 222 received by the control device 131 from the second forwarding board 12 is The network interface chip 132 is disconnected.
- the data packet 200b sent by the network interface chip 132 to the outside of the network device 10 is from the first downlink data packet stream 221;
- the control device 131 can receive the data message 200a from the outside of the network device 10 through the network interface chip 132. Forming a first uplink data packet stream 211 that is sent to the first forwarding board 11 through the first I/O bus 21 and a second uplink data packet stream 212 that is sent to the second forwarding board 12 through the second I/O bus 22 .
- the first downlink data packet stream 221 received by the control device 131 from the first forwarding board 11 is disconnected from the network interface chip 132, and the second downlink data packet stream received by the control device 131 from the second forwarding board 12 is received.
- 222 is electrically connected to the network interface chip 132.
- the data message 200b sent by the network interface chip 132 to the outside of the network device 10 is from the second downlink data message stream 222.
- the second forwarding board 12 in the standby state and the first forwarding board 11 in the standby state can be forwarded normally as an example. Therefore, there is a second downlink data packet stream 222 in FIG. 2a and a first downlink data packet stream 221 in FIG. 2b. If the second forwarding board 12 in FIG. 2a or the first forwarding board 11 in FIG. 2b is switched to the standby state due to its own failure, the second forwarding board 12 in FIG. 2a or the first in FIG. 2b The forwarding board 11 may not have the capability of forwarding in the outbound direction of the network device 10. Correspondingly, the second downlink data packet stream 222 in FIG. 2a or the first downlink data packet stream 221 in FIG. 2b may not exist. .
- the interface board 13 is connected to the first forwarding board 11 and the second forwarding board 12 via the first I/O bus 21 and the second I/O bus 22 which are independent of each other.
- the data message 200a received by the network interface chip 132 of the board 13 in the inbound direction may be formed as a first uplink data packet stream 211 sent to the first forwarding board 11 through the first I/O bus 21, and through the second The I/O bus 22 transmits a second upstream data message stream 212 to the second forwarding board 12.
- both the first forwarding board 11 and the second forwarding board 12 in the active state and the standby state can be normally forwarded, they can exist independently through the first I/O bus 21 and the second I/O bus 22, respectively.
- the first downlink data packet stream 221 and the second downlink data packet stream 222 are transmitted. Therefore, the downlink data packet stream can be forwarded by selectively connecting the first downlink data packet stream 221 and the second downlink data packet stream 222 to the network interface chip 132.
- the forwarding board needs the active/standby switchover, the physical switching operation of the first I/O bus 21 and the second I/O bus 22 may not be performed. Therefore, the above embodiment can avoid the I/O.
- first forwarding board 11 and the second forwarding board 12 in the foregoing embodiment may be a board body having at least a forwarding function.
- first forwarding board 11 and/or the second forwarding board 12 can further integrate functions of control, calculation, storage, and the like. That is, the above embodiment refers to a board having a forwarding function as a forwarding board, and does not mean that the function of the forwarding board is limited to forwarding.
- first I/O bus 21 and the second I/O bus 22 in the above embodiment are both PCI-E (Peripheral Component Interconnect Express) buses
- PCI-E Peripheral Component Interconnect Express
- one end of the PCI-E bus will The PCI-E RC (Root Complex) is formed on the forwarding board, and the PCI-E Endpoint (endpoint) is formed on the interface board at the other end. Physical switching operation is performed on the PCI-E bus, which causes the PCI-E of the interface board.
- the Endpoint is hot-swapped and hot-inserted on the PCI-E RC of different forwarding boards.
- the hot insertion process performed on the forwarding board in the promotion state may cause the traffic interruption to reach the order of 10 seconds, and the above example in the application can avoid the physical switching operation of the PCI-E bus. at least The flow interruption is reduced to the order of nanoseconds, and the shortening of the flow interruption time is very obvious.
- the PCI-E bus is selected as an example for the first I/O bus and the second I/O bus.
- network device 30 includes:
- a first forwarding board 31 having a first PCI-E RC 411 connected to the first PCI-E bus 41 and a first CPU 310 driving the first PCI-E RC 411; wherein, in FIG. 3
- the first PCI-E RC 411 is integrated in the first CPU 310 of the first forwarding board 31, but it can be understood that the first PCI-E RC 411 can also be independent of the first CPU 310 and independent of the first
- the first PCI-E RC 411 of the CPU 310 can also be driven by the first CPU 310;
- a second forwarding board 32 having a second PCI-E RC 421 connected to the second PCI-E bus 42 and a second CPU 320 driving the second PCI-E RC 421; wherein, in FIG.
- the second PCI-E RC 421 is integrated in the second CPU 320 of the second forwarding board 32, but it can be understood that the second PCI-E RC 421 can also be independent of the second CPU 320 and independent of the second The second PCI-E RC 421 of the CPU 320 can also be driven by the second CPU 320;
- the interface board 33 has a control device 331 and a network interface chip 332.
- the control device 331 is connected to the first forwarding board 31 via the first PCI-E bus 41 and to the second forwarding via the second PCI-E bus 42.
- the board 32, and the control device 331 includes:
- the first transmit buffer queue 414 and the second transmit buffer queue 424 are selectively coupled to the select switch 450 of the network interface bus controller 430. Referring to FIG. 3 in conjunction with FIG. 4a, when the first forwarding board 31 is in the active state and the second forwarding board 32 is in the standby state:
- the copy driver 440 in the control device 331 copies the data message 400a received by the network interface chip 332 from the outside of the network device 30, and stores it in the first receive buffer queue 413 and the second receive buffer queue 423;
- the first PCI-E Endpoint 412 reads the first receive buffer queue 413 and sends the first uplink data packet stream 811 to the first forwarding board 31 through the first PCI-E bus 41 for processing by the first CPU 310.
- the second PCI-E Endpoint 422 reads the second receive buffer queue 423 and sends the second uplink data packet stream 812 to the second forwarding board 32 through the second PCI-E bus 42 for processing by the second CPU 320;
- the first PCI-E Endpoint 412 also receives the first downlink data packet stream 821 processed by the first CPU 310 from the first forwarding board 31 through the first PCI-E bus 41, and fills the first transmit buffer queue 414.
- the second PCI-E Endpoint 412 also receives the second downlink data packet stream 822 processed by the second CPU 320 from the second forwarding board 32 through the second PCI-E bus 42 and fills in the second sending buffer queue 424. ;
- the selection switch 450 connects the first transmit buffer queue 414 to the network interface bus controller 430 and disconnects the second transmit buffer queue 424 from the network interface bus controller 430 to be cached in the first transmit buffer queue 414.
- the first downlink data message stream 821 can be read by the network interface bus controller 430 and sent to the network interface chip 332 through the network interface bus 43, so that the network interface chip 332 is sent in the outbound direction of the network device 40.
- the outgoing data message 400b is from the first downstream data message stream 821.
- the copy driver 440 in the control device 331 copies the data message 400a received by the network interface chip 332 from the outside of the network device 30, and stores it in the first receive buffer queue 413 and the second receive buffer queue 423;
- the first PCI-E Endpoint 412 reads the first receive buffer queue 413 and sends the first uplink data packet stream 811 to the first forwarding board 31 through the first PCI-E bus 41 for processing by the first CPU 310.
- the second PCI-E Endpoint 422 reads the second receive buffer queue 423 and sends the second uplink data packet stream 812 to the second forwarding board 32 through the second PCI-E bus 42 for processing by the second CPU 320;
- the first PCI-E Endpoint 412 also receives the first downlink data packet stream 821 processed by the first CPU 310 from the first forwarding board 31 through the first PCI-E bus 41, and fills the first transmit buffer queue 414.
- the second PCI-E Endpoint 412 also receives the second downlink data packet stream 822 processed by the second CPU 320 from the second forwarding board 32 through the second PCI-E bus 42 and fills in the second sending buffer queue 424. ;
- the selection switch 450 disconnects the first transmit buffer queue 414 from the network interface bus controller 430 and connects the second transmit buffer queue 424 to the network interface bus controller 430 for caching in the second transmit buffer queue 424.
- the second downlink data message stream 822 can be read by the network interface bus controller 430 and sent to the network interface chip 332 through the network interface bus 43, so that the network interface chip 332 sends data in the outbound direction of the network device 40.
- Message 400b is from second data message stream 420.
- the primary forwarding board When the network device 30 is powered on, the primary forwarding board performs board-level initialization configuration on the interface board 13 through the board-level initialization process, such as powering on the board, resetting, and identifying the board.
- the first PCI-E bus 41 can be driven by the first CPU 310.
- the first receive buffer queue 413 and the first transmit buffer queue 414 may be mapped within a predetermined space of the first PCI-E Endpoint 412, and the first PCI-E RC 411 is configured with the first PCI driven by the first CPU 310.
- E Endpoint 412, the configuration of the first PCI-E Endpoint 412, and the first receive buffer queue 413 and the first transmit buffer queue 414 can be implemented;
- the second PCI-E bus 42 may be driven by the second CPU 320.
- the second PCI-E RC 421 configuration For example, the second receive buffer queue 423 and the second transmit buffer queue 424 may be mapped in a predetermined space of the second PCI-E Endpoint 422, and the second PCI-E RC 421 is configured to drive the second PCI under the driving of the second CPU 320.
- E Endpoint 422, the configuration of the second PCI-E Endpoint 422, and the second receive buffer queue 423 and the second transmit buffer queue 424 can be implemented;
- network interface configuration is performed on the network interface bus controller 430 and the network interface chip 332, which may include, for example, auto-negotiation settings, duplex or half-duplex configuration, 100 Mbps or Gigabit configuration. Equal link layer configuration.
- the network interface bus controller 430 and the network interface chip 332 shared by the first PCI-E bus 41 and the second PCI-E bus 42 can be configured by the PCI-E RC of the forwarding board in the active state, that is, if When the forwarding board 31 is in the active state, the network interface bus controller 430 and the network interface chip 332 can be driven by the first CPU 310 to drive the first PCI-E RC. In the 411 configuration, if the second forwarding board 32 is in the active state, the network interface bus controller 430 and the network interface chip 332 may be configured by the second CPU 320 by driving the second PCI-E RC 421.
- control device 331 may further include:
- the state identification module 510 is connected to the control pin 511 of the first CPU 310 of the first forwarding board 31 and the control pin 512 of the second CPU 320 of the second forwarding board 32 for identifying by controlling the control pins 511 and 512. And recording the active and standby states of the first forwarding board 31 and the second forwarding board 32 for the selection switch 450 to identify;
- the board level configuration module 520 is connected to the first CPU 310 of the first forwarding board 31 through the first management bus 521, and to the second CPU 320 of the second forwarding board 32 via the second management bus 522; and the board level configuration module 520 can The status of the first forwarding board 31 and the second forwarding board 32 are identified by the state identification module 510.
- the board level configuration module 520 When the power-on of the network device is started, if the first forwarding board 31 is in the active state, the board level configuration module 520 The first CPU 310 of the first forwarding board 31 receives the board level initial configuration of the interface board 33 through the first management bus 521, and if the second forwarding board 32 is found to be in the active state, the board level configuration module 520 passes the second management.
- the bus 522 receives the board-level initial configuration of the interface board 33 by the second CPU 320 of the second forwarding board 32;
- the network interface configuration module 530 can identify the active and standby states of the first forwarding board 31 and the second forwarding board 32 through the state identification module 510. If the first forwarding board 31 is in the active state, the network interface configuration module 530 passes the A PCI-E Endpoint 412 receives an initial configuration of the first CPU 310 to the network interface bus controller 430 and the network interface chip 332 from the first PCI-E RC 411.
- the interface configuration module 530 receives an initial configuration of the second CPU 320 to the network interface bus controller 430 and the network interface chip 332 from the second PCI-E RC 421 through the second PCI-E Endpoint 422; and the network interface configuration module 530 is completing Network interface bus controller After the initial configuration of 430, the drive network interface bus controller 430 configures the network interface chip 332 via the network interface bus 43.
- the following embodiment further provides a packet forwarding method for use in a network device.
- the network device applying the packet forwarding method may include an interface board having a network interface chip, a first forwarding board connected to the interface board through the first I/O bus, and a second forwarding connected to the interface board through the second I/O bus. board.
- the packet forwarding method includes the following steps applied to the interface board.
- the data packet received by the network interface chip from the outside of the network device is formed into a first uplink data packet stream sent to the first forwarding board by using the first I/O bus, and sent to the second I/O bus to the second I/O bus. a second uplink data packet stream exchanged by the second forwarding board;
- the first downlink data packet processed by the first forwarding board received through the first I/O bus and the second I/O bus are used according to the active/standby state of the first forwarding board and the second forwarding board.
- the second downlink data packet stream processed by the received second forwarding board is selectively connected to the network interface chip through the network interface bus.
- the first I/O bus is the first PCI-E bus and the second I/O bus is the second PCI-E bus, then:
- the first forwarding board may have a first PCI-E RC connected to the first PCI-E bus, and a first CPU driving the first PCI-E RC;
- the second forwarding board may have a second PCI-E RC connected to the second PCI-E bus, and a second CPU driving the second PCI-E RC;
- the interface board has a first PCI-E Endpoint connected to the first PCI-E bus and a second PCI-E Endpoint connected to the second PCI-E bus, a first receive buffer queue connected to the first PCI-E Endpoint, and a first send A cache queue, a second receive buffer queue and a second transmit buffer queue connected to the second PCI-E Endpoint, and a network interface bus controller connected to the network interface chip through the network interface bus.
- the message forwarding method copies the data packets received by the network interface bus controller from the network interface chip, and respectively fills the first receiving buffer queue and the second receiving buffer queue to form a first receiving buffer queue.
- the first uplink data packet stream is formed by using the second receiving buffer queue to form a second uplink data packet stream;
- the packet forwarding method may further connect the first sending buffer queue and the second sending buffer queue to the network interface bus controller to enable the first downlink data packet flow and the second downlink data packet.
- the flow is selectively turned on by the network interface bus and the network interface chip.
- the packet forwarding method in the foregoing embodiment may further implement an initialization process of an interface board of the network device, including a board level initial configuration, a PCI-E initial configuration, and a network interface configuration.
- the first forwarding board is in the active state during the initialization process after the network device is powered on, and the second forwarding board is in the standby state after the network device is powered on.
- the process initiates an initialization process by the first forwarding board and includes the following steps.
- the first forwarding board performs board level initial configuration on the interface board, and notifies the second forwarding board to start PCI-E initial configuration after the board level initial configuration is completed.
- the first forwarding board performs PCI-E initial configuration on the first PCI-E Endpoint and the first receiving buffer queue and the first sending buffer queue in the interface board, and the second forwarding board is in the second PCI-E in the interface board.
- the Endpoint and the second receive buffer queue and the second transmit buffer queue are configured for PCI-E initialization.
- the first forwarding board performs network interface configuration on the network interface bus controller and the network interface chip of the interface board.
- the operations performed by the first forwarding board and the second forwarding board in the above process may be understood to be implemented by the first CPU and the second CPU, respectively.
- the interface board can identify the first forwarding board and the control pin of the first CPU of the first forwarding board and the control pin of the second CPU of the second forwarding board The active/standby status of the second forwarding board,
- the message forwarding method may further receive the first CPU from the first or second PCI-E RC of the first or second forwarding board in the active state. Or the second CPU initializes the board level of the interface board.
- the interface board may further connect the first CPU of the first forwarding board through the first management bus, and further connect the second CPU of the second forwarding board by using the second management bus.
- the packet forwarding method further includes:
- the first forwarding board If the first forwarding board is in the active state, receiving, by the first management bus, the first CPU of the first forwarding board to initialize the board level of the interface board;
- the second CPU of the second forwarding board receives the board level initial configuration of the interface board through the second management bus.
- PCI-E initialization configuration shown in Figure 7 it may include:
- the first PCI-E Endpoint, the first receive buffer queue, and the first transmit buffer queue may be configured by the first CPU to drive the first PCI-E RC;
- the second PCI-E Endpoint, the second receive buffer queue, and the second transmit buffer queue may be configured by the second CPU to drive the second PCI-E RC;
- the interface configuration on the network interface may include: when the first forwarding board is the primary forwarding board, receiving, from the first PCI-E root complex, initial configuration of the network interface bus controller and the network interface chip by the first CPU; When the second forwarding board is the primary forwarding board, the second PCI-E root complex receives the initial configuration of the network interface bus controller and the network interface chip from the second CPU.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Bus Control (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
Claims (12)
- 一种网络设备,其特征在于,包括:第一转发板;第二转发板;接口板,该接口板具有控制装置和网络接口芯片,该控制装置通过第一I/O总线连接第一转发板、通过第二I/O总线连接第二转发板、以及通过网络接口总线连接网络接口芯片;其中,该控制装置将网络接口芯片从网络设备的外部接收到的数据报文形成通过第一I/O总线发送至第一转发板的第一上行数据报文流、以及通过第二I/O总线发送至第二转发板的第二上行数据报文流;并且,该控制装置根据第一转发板和第二转发板的主备状态,将通过第一I/O总线接收的第一转发板处理后的第一下行数据报文流和通过第二I/O总线接收的第二转发板处理后的第二下行数据报文流通过网络接口总线与网络接口芯片择一地导通。
- 根据权利要求1所述的网络设备,其特征在于,第一I/O总线为第一PCI-E总线,第二I/O总线为第二PCI-E总线,第一转发板具有连接第一PCI-E总线的第一PCI-E根复合体和驱动第一PCI-E根复合体的第一CPU,第二转发板具有连接第二PCI-E总线的第二PCI-E根复合体和驱动第二PCI-E根复合体的第二CPU,并且,控制装置包括:连接第一PCI-E总线的第一PCI-E端点;连接第二PCI-E总线的第二PCI-E端点;连接第一PCI-E端点的第一接收缓存队列和第一发送缓存队列;连接第二PCI-E端点的第二接收缓存队列和第二发送缓存队列;通过网络接口总线连接网络接口芯片的网络接口总线控制器;将网络接口总线控制器分别连接第一接收缓存队列和第二接收缓存 队列的复制驱动器,用于利用第一接收缓存队列形成第一上行数据报文流、利用第二接收缓存队列形成第二上行数据报文流;以及,将第一发送缓存队列和第二发送缓存队列择一地连接至网络接口总线控制器的选择切换器,用于使第一下行数据报文流和第二下行数据报文流通过网络接口总线与网络接口芯片择一地导通。
- 根据权利要求2所述的网络设备,其特征在于,所述第一PCI-E端点、所述第一接收缓存队列以及所述第一发送缓存队列,在网络设备上电启动时的PCI-E初始化过程中,由第一CPU通过驱动第一PCI-E根复合体配置;所述第二PCI-E端点、所述第二接收缓存队列以及所述第二发送缓存队列,在网络设备上电启动时的PCI-E初始化过程中,由第二CPU通过驱动第二PCI-E根复合体配置。
- 根据权利要求2所述的网络设备,其特征在于,该控制装置进一步包括:状态识别模块,用于通过第一CPU的控制管脚和第二CPU的控制管脚记录第一转发板和第二转发板的主备状态;选择切换开关,用于根据状态识别模块记录的主备状态,当第一转发板为主用转发板时,将通过第一I/O总线接收的第一转发板处理后的第一下行数据报文流通过网络接口总线与网络接口芯片导通,当第二转发板为主用转发板时,将通过第二I/O总线接收的第二转发板处理后的第二下行数据报文流通过网络接口总线与网络接口芯片导通。
- 根据权利要求4所述的网络设备,其特征在于,该控制装置进一步包括:网络接口配置模块,用于在网络接口配置过程中,根据状态识别模块记录的主备状态,当第一转发板为主用转发板时,从第一PCI-E根复 合体接收第一CPU对网络接口总线控制器和网络接口芯片的初始化配置;当第二转发板为主用转发板时,从第二PCI-E根复合体接收第二CPU对网络接口总线控制器和网络接口芯片的初始化配置。
- 根据权利要求4所述的网络设备,其特征在于,该控制装置进一步包括:板级配置模块,通过第一管理总线连接第一CPU、并通过第二管理总线连接第二CPU,用于在网络设备启动时,根据状态识别模块记录的主备状态,当第一转发板为主用转发板时,通过第一管理总线接收第一CPU对接口板的初始化配置,当第二转发板为主用转发板时,通过第二管理总线接收第二CPU对接口板的初始化配置。
- 一种用于网络设备中的报文转发方法,其特征在于,该网络设备包括具有网络接口芯片的接口板、通过第一I/O总线连接接口板的第一转发板、以及通过第二I/O总线连接接口板的第二转发板,并且,该报文转发方法包括应用在接口板的如下步骤:将网络接口芯片从网络设备的外部接收到的数据报文形成通过第一I/O总线发送至第一转发板的第一上行数据报文流、以及通过第二I/O总线发送至第二转发板的第二上行数据报文流;根据第一转发板和第二转发板的主备状态,将通过第一I/O总线接收的第一转发板处理后的第一下行数据报文流和通过第二I/O总线接收的第二转发板处理后的第二下行数据报文流通过网络接口总线与网络接口芯片择一地导通。
- 根据权利要求7所述的报文转发方法,其特征在于,第一I/O总线为第一PCI-E总线,第二I/O总线为第二PCI-E总线,第一转发板具有连接第一PCI-E总线的第一PCI-E根复合体和驱动第一PCI-E根复合体的第一CPU,第二转发板具有连接第二PCI-E总线的第二PCI-E根复 合体和驱动第二PCI-E根复合体的第二CPU,接口板具有连接第一PCI-E总线的第一PCI-E端点、连接第二PCI-E总线的第二PCI-E端点、连接第一PCI-E端点的第一接收缓存队列和第一发送缓存队列、连接第二PCI-E端点的第二接收缓存队列和第二发送缓存队列、以及通过网络接口总线连接网络接口芯片的网络接口总线控制器;该报文转发方法将网络接口总线控制器从网络接口芯片接收到的数据报文复制、并分别填充至第一接收缓存队列和第二接收缓存队列,以利用第一接收缓存队列形成第一上行数据报文流、利用第二接收缓存队列形成第二上行数据报文流;并且,该报文转发方法还包括:将第一发送缓存队列和第二发送缓存队列择一地与网络接口总线控制器导通,以使第一下行数据报文流和第二下行数据报文流通过网络接口总线与网络接口芯片择一地导通。
- 根据权利要求8所述的报文转发方法,其特征在于,在网络设备上电启动后的PCI-E初始化过程中,该报文转发方法进一步包括:第一PCI-E端点、第一接收缓存队列以及第一发送缓存队列由第一CPU通过驱动第一PCI-E根复合体配置;第二PCI-E端点、第二接收缓存队列以及第二发送缓存队列由第二CPU通过驱动第二PCI-E根复合体配置。
- 根据权利要求8所述的报文转发方法,其特征在于,该报文转发方法进一步包括:通过第一CPU的控制管脚和第二CPU的控制管脚识别第一转发板和第二转发板的主备状态,当第一转发板为主用转发板时,将通过第一I/O总线接收的第一转发板处理后的第一下行数据报文流通过网络接口总线与网络接口芯片导通,当第二转发板为主用转发板时,将通过第二I/O总线接收的第二转发板处理后的第二下行数据报文流通过网络接口 总线与网络接口芯片导通。
- 根据权利要求10所述的报文转发方法,其特征在于,在网络接口配置过程中,该报文转发方法进一步包括:当第一转发板为主用转发板时,从第一PCI-E根复合体接收第一CPU对网络接口总线控制器和网络接口芯片的初始化配置;当第二转发板为主用转发板时,从第二PCI-E根复合体接收第二CPU对网络接口总线控制器和网络接口芯片的初始化配置。
- 根据权利要求10所述的报文转发方法,其特征在于,在网络设备启动时,该报文转发方法进一步包括:当第一转发板为主用转发板时,通过第一管理总线接收第一CPU对接口板的初始化配置,当第二转发板为主用转发板时,通过第二管理总线接收第二CPU对接口板的初始化配置。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/753,471 US10432557B2 (en) | 2015-08-25 | 2016-08-25 | Network device |
EP16838575.5A EP3343853B1 (en) | 2015-08-25 | 2016-08-25 | Network device |
JP2018528374A JP6550192B2 (ja) | 2015-08-25 | 2016-08-25 | ネットワーク機器 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510524605.5 | 2015-08-25 | ||
CN201510524605.5A CN106487721B (zh) | 2015-08-25 | 2015-08-25 | 网络设备和用于网络设备中的报文转发方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017032317A1 true WO2017032317A1 (zh) | 2017-03-02 |
Family
ID=58099575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/096633 WO2017032317A1 (zh) | 2015-08-25 | 2016-08-25 | 网络设备 |
Country Status (5)
Country | Link |
---|---|
US (1) | US10432557B2 (zh) |
EP (1) | EP3343853B1 (zh) |
JP (1) | JP6550192B2 (zh) |
CN (1) | CN106487721B (zh) |
WO (1) | WO2017032317A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947579A (zh) * | 2019-03-22 | 2019-06-28 | 中车青岛四方车辆研究所有限公司 | 轨道车辆通用网络控制器平台及控制方法 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10761939B1 (en) * | 2018-12-13 | 2020-09-01 | Amazon Technologies, Inc. | Powering-down or rebooting a device in a system fabric |
CN109995681B (zh) * | 2019-03-07 | 2021-03-23 | 盛科网络(苏州)有限公司 | 一种单芯片实现双主控主备切换的装置及方法 |
DE102020117632B4 (de) * | 2020-07-03 | 2022-03-03 | Krohne Messtechnik Gmbh | Bussystem für eine Prozessanlage |
US11829315B2 (en) | 2020-12-16 | 2023-11-28 | Samsung Electronics Co., Ltd. | Electronic device including a structure in which an insertable device is insertable and method for operating the same |
US11892550B2 (en) | 2020-12-22 | 2024-02-06 | Samsung Electronics Co., Ltd. | Three-dimensional angle of arrival capability in electronic devices |
CN113839816B (zh) * | 2021-09-23 | 2024-01-19 | 新华三信息安全技术有限公司 | 一种配线装置及其故障切换方法 |
CN114709205B (zh) * | 2022-06-02 | 2022-09-09 | 西安紫光国芯半导体有限公司 | 一种三维堆叠芯片及其数据处理方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540933A (zh) * | 2003-04-23 | 2004-10-27 | 华为技术有限公司 | 业务板接口及与双千兆以太网交换平面互连的方法 |
US7382724B1 (en) * | 2001-11-21 | 2008-06-03 | Juniper Networks, Inc. | Automatic switchover mechanism in a network device |
CN104283718A (zh) * | 2014-10-27 | 2015-01-14 | 杭州华三通信技术有限公司 | 网络设备及用于网络设备的硬件故障诊断方法 |
CN104410502A (zh) * | 2014-10-28 | 2015-03-11 | 杭州华三通信技术有限公司 | 网络设备及用于网络设备的接口板上电初始化方法 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3608534B2 (ja) | 2001-07-18 | 2005-01-12 | 日本電気株式会社 | パケット交換装置 |
JP2003087832A (ja) * | 2001-09-07 | 2003-03-20 | Matsushita Electric Ind Co Ltd | デジタル構内交換機とデジタル専用電話機及びデジタル構内交換システム |
EP1309135B1 (en) | 2001-10-30 | 2005-03-02 | Alcatel | Forwarding of IP packets for routing protocols |
US6791554B1 (en) * | 2001-12-27 | 2004-09-14 | Advanced Micro Devices, Inc. | I/O node for a computer system including an integrated graphics engine |
US7376760B1 (en) * | 2003-02-28 | 2008-05-20 | United Electronic Industries | Methods and apparatus to support acquisition of data |
CN1996993B (zh) * | 2006-01-05 | 2010-08-04 | 华为技术有限公司 | 一种提高背板业务总线利用率的方法和系统 |
CN1909559B (zh) * | 2006-08-30 | 2010-04-14 | 杭州华三通信技术有限公司 | 基于快速外围组件互连的接口板及其切换主控板的方法 |
CN101977139B (zh) * | 2010-07-28 | 2012-09-05 | 北京星网锐捷网络技术有限公司 | 路由转发实现装置、方法及交换设备 |
US8527666B2 (en) * | 2011-02-21 | 2013-09-03 | International Business Machines Corporation | Accessing a configuration space of a virtual function |
JP6007849B2 (ja) | 2013-03-28 | 2016-10-12 | 日立金属株式会社 | ネットワーク中継装置 |
JP6155500B2 (ja) | 2014-02-12 | 2017-07-05 | APRESIA Systems株式会社 | 中継装置 |
MY173962A (en) * | 2014-03-19 | 2020-02-28 | Intel Corp | Method, apparatus and system for single-ended communication of transaction layer packets |
CN104301145B (zh) * | 2014-10-20 | 2018-03-23 | 新华三技术有限公司 | 网络设备及用于网络设备的控制串口配置方法 |
CN104601490B (zh) * | 2015-02-16 | 2018-10-09 | 新华三技术有限公司 | 网络设备的流控方法和流控装置以及网络设备 |
-
2015
- 2015-08-25 CN CN201510524605.5A patent/CN106487721B/zh active Active
-
2016
- 2016-08-25 EP EP16838575.5A patent/EP3343853B1/en active Active
- 2016-08-25 US US15/753,471 patent/US10432557B2/en active Active
- 2016-08-25 WO PCT/CN2016/096633 patent/WO2017032317A1/zh active Application Filing
- 2016-08-25 JP JP2018528374A patent/JP6550192B2/ja active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7382724B1 (en) * | 2001-11-21 | 2008-06-03 | Juniper Networks, Inc. | Automatic switchover mechanism in a network device |
CN1540933A (zh) * | 2003-04-23 | 2004-10-27 | 华为技术有限公司 | 业务板接口及与双千兆以太网交换平面互连的方法 |
CN104283718A (zh) * | 2014-10-27 | 2015-01-14 | 杭州华三通信技术有限公司 | 网络设备及用于网络设备的硬件故障诊断方法 |
CN104410502A (zh) * | 2014-10-28 | 2015-03-11 | 杭州华三通信技术有限公司 | 网络设备及用于网络设备的接口板上电初始化方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3343853A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947579A (zh) * | 2019-03-22 | 2019-06-28 | 中车青岛四方车辆研究所有限公司 | 轨道车辆通用网络控制器平台及控制方法 |
CN109947579B (zh) * | 2019-03-22 | 2021-04-09 | 中车青岛四方车辆研究所有限公司 | 轨道车辆通用网络控制器平台及控制方法 |
Also Published As
Publication number | Publication date |
---|---|
JP6550192B2 (ja) | 2019-07-24 |
EP3343853A4 (en) | 2018-12-26 |
CN106487721A (zh) | 2017-03-08 |
JP2018523957A (ja) | 2018-08-23 |
US10432557B2 (en) | 2019-10-01 |
CN106487721B (zh) | 2019-10-08 |
EP3343853B1 (en) | 2020-12-16 |
EP3343853A1 (en) | 2018-07-04 |
US20180241698A1 (en) | 2018-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017032317A1 (zh) | 网络设备 | |
KR102304678B1 (ko) | 베이스보드 관리 컨트롤러(BMC)를 사용하여 NVMe-oF 디바이스를 구성하는 시스템 및 방법 | |
US10411971B2 (en) | Method for unified communication of server, baseboard management controller, and server | |
US10747688B2 (en) | Low latency retimer | |
US8843689B2 (en) | Concurrent repair of the PCIe switch units in a tightly-coupled, multi-switch, multi-adapter, multi-host distributed system | |
US10284499B2 (en) | Dedicated control path architecture for systems of devices | |
US9860189B2 (en) | Systems and methods to enable network communications for management controllers | |
JP5207198B2 (ja) | パケットを送受信する装置、プログラムおよびその方法 | |
JP2016076257A5 (zh) | ||
US7502369B2 (en) | High speed interface systems and methods | |
WO2020131160A1 (en) | Alternative protocol selection | |
WO2024113818A1 (zh) | 交换机的复位系统及方法、非易失性可读存储介质、电子设备 | |
TW201447595A (zh) | 透過 ethernet 連接傳送pci express資料的系統和方法 | |
CN105897623B (zh) | 一种数据的传输方法和装置 | |
WO2017170033A1 (ja) | リモート端末装置とその制御方法とコンピュータシステム並びにプログラム | |
WO2016135919A1 (ja) | ストレージ装置 | |
JP5699756B2 (ja) | 情報処理装置及び情報処理装置制御方法 | |
US11960367B2 (en) | Peripheral component interconnect express device and operating method thereof | |
US20150067221A1 (en) | Data transfer apparatus and method | |
WO2015131722A1 (zh) | 一种接口卡及控制方法 | |
WO2016197798A1 (zh) | 一种实现配置同步的方法、虚拟机及备机 | |
JP2008257642A (ja) | パケット処理装置 | |
JP2017102659A (ja) | サーバ装置、スイッチモジュール制御方法 | |
US20130343382A1 (en) | Relay device, set value setting method, and relay system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16838575 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2018528374 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15753471 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2016838575 Country of ref document: EP |