CN113609045A - Intelligent network card BMC communication structure and method with strong universality - Google Patents

Intelligent network card BMC communication structure and method with strong universality Download PDF

Info

Publication number
CN113609045A
CN113609045A CN202110730356.0A CN202110730356A CN113609045A CN 113609045 A CN113609045 A CN 113609045A CN 202110730356 A CN202110730356 A CN 202110730356A CN 113609045 A CN113609045 A CN 113609045A
Authority
CN
China
Prior art keywords
bmc
network card
ethernet
module
local server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110730356.0A
Other languages
Chinese (zh)
Other versions
CN113609045B (en
Inventor
于泉泉
付水论
王焕超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110730356.0A priority Critical patent/CN113609045B/en
Publication of CN113609045A publication Critical patent/CN113609045A/en
Application granted granted Critical
Publication of CN113609045B publication Critical patent/CN113609045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The intelligent network card BMC communication structure with strong universality comprises a communication unit, wherein the communication unit comprises a first interface control module which is connected with a network card BMC through a bus; the first interface control module is connected with the first FIFO cache and the second FIFO cache; the first FIFO cache is connected with an Ethernet framing module, the Ethernet framing module is connected with a second interface control module, and the second interface control module is connected with a local server or other terminals through a network port; the second interface control module is connected with the Ethernet deframing module, and the Ethernet deframing module is connected with the second FIFO buffer. The network card BMC of the application is further connected with the server BMC through an I2C bus. The application provides an intelligent network card BMC communication method with strong universality, which is used for controlling a communication unit to convert communication data of a network card BMC into an Ethernet frame form; and controlling the network card BMC to form I2C communication with the server BMC. The intelligent network card has the characteristics of low complexity, strong adaptability and easiness in test and maintenance.

Description

Intelligent network card BMC communication structure and method with strong universality
Technical Field
The application relates to the field of intelligent network cards, in particular to a BMC communication structure and method of an intelligent network card with strong universality.
Background
The core of the intelligent network card is to assist a server CPU to process network load through an FPGA and program a network interface function. The intelligent network card supports the customization of functions of a data plane and a control plane through the FPGA localized programming and assists the CPU in processing network load; with the inclusion of multiple ports and internal switches, data is quickly forwarded and intelligently mapped to relevant applications based on network packets, application sockets, and the like. The intelligent network card is applied to the server to replace a CPU (central processing unit) to carry out related network processing, so that the performance of the CPU of the server is greatly liberated.
When the intelligent network card is applied to the server, how to better monitor and manage the working state of the intelligent network card, and the normal operation of the server is necessary to identify risks and eliminate faults in time. Therefore, the intelligent network card configures a network card BMC as the existing intelligent network card shown in fig. 1, the network card BMC is connected with a server BMC on a server motherboard by using an I2C bus through a PCIe gold finger, the network card BMC is configured as a slave device, and the server BMC is configured as a master device; the server BMC can access a small amount of state information on the network card BMC to acquire partial state of the network card or issue a control instruction to the network card BMC to control the on-off power of the intelligent network card. In addition, the network card BMC is also connected with the server BMC through an additional connector through a USB bus and a UART bus, the server BMC can transmit firmware to the network card BMC through the USB bus and the UART bus to realize updating of firmware of the intelligent network card, and the server BMC obtains temperature, voltage and other states of the intelligent network card from the network card BMC through the USB bus and the UART bus; the server BMC can access the system log on the intelligent network card SOC through the USB bus and the UART bus. In addition to the above situation, some intelligent network cards need to establish NCSI bus connection with the motherboard. In order to achieve sufficient intercommunication with the main board, the conventional intelligent network card needs to be provided with a plurality of additional interfaces, so that the design complexity of the intelligent network card is increased, the size of the intelligent network card is increased, and the design cost is increased; the complex interface design makes the versatility of the intelligent network card across platforms worse, the additional interface requires that the server BMC must configure a communication channel and a corresponding interface matched with the server BMC, and once the server BMC has no corresponding interface, the server BMC cannot adapt to the intelligent network card. In addition, because the communication between the network card BMC of the intelligent network card and the server BMC is realized, the BMC of the intelligent network card and the server BMC of the same manufacturer are often required to be adopted, so that the compatibility of BMC interconnection codes is ensured, the hardware supply source is limited, and the production cost is easily increased; the network card BMC of the existing intelligent network card can only access point to point through the server BMC where the network card is located, and the testability of the network card is poor.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the intelligent network card BMC communication structure and method provided by the application have high universality.
This application provides an intelligent network card BMC communication structure that commonality is strong on the one hand, and the intelligent network card BMC communication structure that the commonality is strong includes: the communication unit comprises a first interface control module, and the first interface control module is connected with a network card BMC of the intelligent network card through a bus; the first interface control module is connected with the first FIFO cache and the second FIFO cache;
the first FIFO cache is connected with an Ethernet framing module, the Ethernet framing module is connected with a second interface control module, and the second interface control module is connected with a local server or other terminals through a network port;
the second interface control module is connected with an Ethernet deframing module, and the Ethernet deframing module is connected with a second FIFO cache;
the first interface control module caches uplink data received from the network card BMC to the first FIFO cache, the Ethernet framing module sequentially acquires the uplink data from the first FIFO cache and encapsulates the uplink data into Ethernet frames, and the Ethernet frames are sent to a local server or other terminals through the second interface control module; the second interface control module sends the Ethernet frames acquired from the local server or other terminals to the Ethernet deframing module to be analyzed into downlink data, the Ethernet deframing module sends the downlink data to the second FIFO cache for storage, and the first interface module acquires the data from the second FIFO cache in sequence and sends the data to the network card BMC.
Furthermore, the network card BMC of the smart network card BMC communication structure with strong universality is further connected with a server BMC through an I2C bus and a PCIe gold finger sideband, the server BMC is configured as an I2C master device, and the network card BMC is configured as an I2C slave device.
Furthermore, the bus of the network card BMC connected to the first interface control module is a high-speed bus.
Furthermore, the communication unit is further configured with a control clock module, a flow control state machine, a state register, a command table and an address table, the clock module is configured to provide a clock signal for a data conversion process of the communication unit, the flow control state machine is configured to control transmission of a data stream in the data conversion process, the state register is configured to record a communication unit state of the communication unit in the data conversion process, the command table is configured to set a command sequence, a command of the communication unit in the process of generating or parsing an ethernet frame is matched with the command table, and the communication unit executes a corresponding command according to the command sequence set by the command table to complete generation or parsing of the ethernet frame; the address table is used for learning and recording the address of a local server or other terminals connected in the network card BMC communication process, mapping the address and the network card BMC address, and connecting according to the address mapping in the address table when the address is reconnected.
Furthermore, the network port adopts an SFP optical module, the network port is connected with a local server LAN interface through a switch, the local server LAN interface is connected with a local server south bridge, and the local server south bridge is connected with a server BMC.
Furthermore, the network port is connected with other terminals through the switch, and the other terminals are used for communicating with the network card BMC of the intelligent network card to monitor, maintain and test the intelligent network card.
Further, the network port is directly connected with a local server LAN interface, the local server LAN interface is connected with a local server south bridge, and the local server south bridge is connected with the server BMC.
On the other hand, the application also provides a strong-universality BMC communication method for the intelligent network card, which comprises the following steps: the local server or other terminals send Ethernet frames carrying commands or data;
the second interface control module receives the Ethernet frame and sends the Ethernet frame to the Ethernet unframing module;
the Ethernet deframing module analyzes the Ethernet frame to obtain a command or data and stores the command or data in a second FIFO buffer;
the first interface control module acquires commands or data from the second FIFO cache in sequence and sends the commands or data to the network card BMC;
after the network card BMC executes the command or receives the data, the network card BMC sends feedback information;
the first interface control module receives the feedback information and sends the feedback information to a first FIFO cache for storage;
the Ethernet framing module acquires feedback information from the first FIFO buffer and packages the feedback information into an Ethernet frame;
and the second interface control module acquires the Ethernet frame generated by the Ethernet framing module and sends the Ethernet frame to a local server or other terminals.
Further, the network card BMC feeds back corresponding data to the server BMC of the local server in response to the I2C read request of the server BMC of the local server.
Further, the network card BMC acquires corresponding data from the local server BMC in response to the I2C write request of the server BMC of the local server.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the intelligent network card BMC communication structure with strong universality integrates and processes the out-of-band information of the network card BMC through the communication unit, and the network card BMC is communicated with the local server or other terminals through the Ethernet frame, so that various buses of the network card BMC communication are integrated into one bus, and the complexity of the intelligent network card is reduced.
Because the servers are all provided with LAN ports, the communication unit can be connected with the servers through the LAN ports, so that the intelligent network card can be adapted to any server, and the adaptability of the intelligent network card is improved.
The network card BMC and the server BMC are connected through the communication unit, and the intercommunicated data is converted into a standard Ethernet frame through the communication unit, so that the network card BMC and the server BMC can realize communication compatibility without adopting a BMC product of the same manufacturer. The product supply chain can be diversified to reduce costs.
The network card BMC is connected with the switch through the communication unit, and the switch is connected with the local server or other terminals, so that the local server, the server BMC of the local server and other terminals can be connected with the network card BMC through a network, and the maintainability, testability and monitorability of the intelligent network card are higher.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic diagram of a conventional connection between an intelligent network card and a BMC on a server motherboard;
fig. 2 is a schematic diagram illustrating a connection between the BMC communication structure of the smart network card with strong versatility and a local server or other terminals according to this embodiment;
fig. 3 is a schematic diagram of an intelligent network card FPGA architecture of the integrated communication unit according to this embodiment;
fig. 4 is a flowchart illustrating implementation of high-speed communication in the BMC communication method for an intelligent network card with strong versatility according to this embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The core of the intelligent network card is to assist a server CPU to process network load through an FPGA (field programmable gate array) and program the function of a network interface. The general intelligent network card has the following functions:
the FPGA localization programming of the intelligent network card supports the customization of functions of a data plane and a control plane, and assists a server CPU to process network load.
The network data is quickly forwarded by utilizing a plurality of network ports of the intelligent network card and an internal switch, and is intelligently mapped to the related application program based on a network data packet, an application program socket and the like.
The intelligent network card can improve application program and virtualization performance and realize Software Defined Networking (SDN) and Network Function Virtualization (NFV). Network virtualization, load balancing and other low-level functions are removed from the server CPU by using the intelligent network card, the server CPU is ensured to provide maximum processing capacity for the application, and the processing capacity of the server CPU is liberated.
The intelligent network card can also detect and manage the network flow of the server. The intelligent network card can also provide distributed computing resources, and the intelligent network card provides access service of the distributed computing resources for software developed by a user.
Referring to the structure of the existing intelligent network card, as shown in fig. 1, on one hand, the I2C bus connection of the network card BMC to the server BMC is realized through the sideband of the PCIe gold finger, the network card BMC is a slave device of I2C, the server BMC is a master device of I2C, and the server BMC communicates with the network card BMC through the I2C bus and is mainly used for acquiring a small amount of state information of the network card BMC and sending control instructions such as control switch power to the network card BMC; the network card BMC is connected to the server BMC via a USB & URAT bus in cooperation with a further connector. And realizing high-speed interconnection between the network card BMC and the server BMC. The server BMC is interconnected with the network card BMC through a USB & URAT bus to realize:
the server BMC sends the firmware of the devices (such as FPGA, SOC and CPLD) on the intelligent network card to the network card BMC to realize firmware refreshing;
the server BMC acquires temperature, voltage and state information from the network card BMC;
and the server BMC acquires the system log on the SOC from the network card BMC.
Besides the above-mentioned interconnection mode between the network card BMC and the server BMC, some intelligent network cards also configure an NCSI bus between the network card BMC and the server BMC for interconnection. The intelligent network card realizes high-speed interconnection between the network card BMC and the server BMC through the additional connector and the bus, so that the overall cost of the intelligent network card is increased, the size of the intelligent network card is increased, and the intelligent network card can not be adapted to servers without reserved corresponding interfaces through the additional connector. In order to realize the interconnection between the network card BMC and the server BMC, the network card BMC and the server BMC generally need to adopt BMCs of the same manufacturer, and compatibility of interconnection codes between the two BMCs is ensured to reduce adaptation work in a production process, so that the universality of the intelligent network card is further limited. The existing intelligent network card can only be in network connection with a local server through a BMC (baseboard management controller) of the local server where the intelligent network card is located, even if the local server cannot be in network connection with the intelligent network card when the intelligent network card is connected with the local server through a PCIe (peripheral component interconnect express) connector, the maintainability of the intelligent network card in the using state is poor due to the lack of a network connection mode.
Example 1
Referring to fig. 2, the embodiment provides a BMC communication structure of an intelligent network card with strong versatility, which is applied to the intelligent network card to solve the above problems of the intelligent network card. This intelligence network card BMC communication structure that commonality is strong includes:
and the communication unit is feasible, and one feasible communication unit is integrated in the FPGA of the existing intelligent network card. Referring to fig. 3, the communication unit includes a first interface control module, the first interface control module is connected to a communication interface of a network card BMC of the intelligent network card through a bus, and the bus connecting the first interface control module and the network card BMC is a high-speed bus.
The communication unit comprises a first FIFO cache and a second FIFO cache, and the first interface control module is connected with the first FIFO cache and the second FIFO cache; the first FIFO buffer is used for storing uplink data uploaded by the first interface control module, and the second FIFO buffer is used for storing downlink data received by the first interface control module.
The first FIFO cache is connected with an Ethernet framing module, the Ethernet framing module is connected with a second interface control module, and the second interface control module is connected with a local server or other terminals through a network port; in a specific implementation process, the uplink data in the first FIFO buffer is sent to the ethernet framing module according to a first-in-first-out basis, the ethernet framing module encapsulates the uplink data into an ethernet frame, the ethernet framing module sends the encapsulated ethernet frame to the second interface control module, and the second interface control module sends the encapsulated ethernet frame to a local server or other terminals through a network port.
In the specific implementation process, the network port adopts an SFP optical module, the SFP optical module is a necessary interface for the intelligent network card to transmit the Ethernet frame, and the SFP optical module with one intelligent network card reserved is connected with the second interface control module to realize the connection of the communication unit and a local server or other terminals. And the other terminals communicate with the network card BMC of the intelligent network card through the switch to monitor, maintain and test the intelligent network card.
In a specific implementation process, the network port is connected with a local server LAN interface through a switch or connected with other terminal LAN ports. The local server LAN interface is connected with a local server south bridge, and the local server south bridge is connected with a server BMC.
The second interface control module is connected with an Ethernet deframing module, and the Ethernet deframing module is connected with a second FIFO cache; the second interface control module sends an Ethernet frame acquired from a local server or other terminals to the Ethernet unfreezing module, the Ethernet unfreezing module analyzes the Ethernet frame into downlink data, the Ethernet unfreezing module sends the downlink data to a second FIFO cache for storage, the downlink data in the second FIFO cache is sent to the first interface module according to advanced display, and the first interface module sends the downlink data acquired from the second FIFO cache to the network card BMC.
In a specific implementation process, in order to ensure that the communication unit implements ethernet frame conversion, the communication unit is further configured with a control clock module, a flow control state machine, a state register, a command table, and an address table.
The clock module generates at least two sets of clock pulses for providing a clock signal for a data conversion process of the communication unit.
The flow control state machine is used for controlling the transmission of data flow in the data conversion process and ensuring that the uplink data and the downlink data are orderly processed and forwarded by the communication unit.
The state register is used for recording the state of the communication unit in the data conversion process of the communication unit. In a specific implementation process, the communication unit is configured with a communication IO interface, and the communication unit is connected to a monitoring processor of the communication unit through the communication IO interface and sends a state of the communication unit to the monitoring processor.
The command table is used for setting a command sequence, the command of the communication unit in the process of generating or analyzing the Ethernet frame is matched with the command table, and the communication unit executes the corresponding command according to the command sequence set by the command table to complete generation or analysis of the Ethernet frame; the address table is used for learning and recording the address of a local server or other terminals connected in the network card BMC communication process, mapping the address and the network card BMC address, and connecting according to the address mapping in the address table when the address is reconnected.
The network card BMC realizes high-speed connection with the local server or other terminals through the communication unit. Compared with the prior art, the intelligent network card can be used for setting the SFP optical module to realize communication between the network card BMC and the outside, and the intelligent network card using the method is simple in layout and low in cost without additionally configuring a bus and an interface. And the server is provided with a LAN interface, so that the intelligent network card applying the method can be adapted to all servers. Compared with the prior art, the uplink data of the network card BMC and the downlink data of the local server or other terminals are converted into the Ethernet frames with the same standard, and the problem of compatibility of the network card BMC and other devices in interconnection is solved. Compared with the prior art, the network card BMC of the intelligent network card is not only limited to be connected with the local server, but also can be in network connection with other terminals, and monitoring, testing and maintenance of the intelligent network card are facilitated.
In addition, in the intelligent network card BMC communication structure with strong universality, the network card BMC is connected with the server BMC through an I2C bus and a PCIe gold finger sideband, the server BMC is configured as I2C main equipment, and the network card BMC is configured as I2C slave equipment. The intelligent network card BMC communication structure with strong universality continues to use the design of the existing intelligent network card, so that the network card BMC and the server BMC can directly communicate through an I2C bus.
Example 2
The embodiment provides an intelligent network card, which comprises an FPGA (field programmable gate array), an SOC (system on chip), a PCIe (peripheral component interface express) golden finger for realizing data communication between the intelligent network card and a local server and an SFP (Small form-factor pluggable) optical module for communication between external equipment of the intelligent network card, wherein the FPGA is used for processing network loads, the PCIe golden finger is used for realizing data communication between the intelligent network card and the local server, the SFP optical module is used for communication between the external equipment of the intelligent network card, and the network card BMC is used for the intelligent network card BMC communication structure with strong universality.
Example 3
Referring to fig. 4, the embodiment provides a strong-universality intelligent network card BMC communication method, and the process of the strong-universality intelligent network card BMC communication method includes:
the local server or other terminals send Ethernet frames carrying commands or data; in a specific implementation process, the local server or other terminals for monitoring, maintaining and testing the intelligent network card sends the command or data to the intelligent network card through the ethernet frame. The server BMC of the local server can also send an ethernet frame containing a command or data to the network card BMC of the intelligent network card through the server south bridge and the server LAN port.
The second interface control module receives the Ethernet frame and sends the Ethernet frame to the Ethernet de-framing module.
The Ethernet deframing module analyzes the Ethernet frame to obtain the command or data and stores the command or data in the second FIFO buffer. In a specific implementation process, when the second FIFO buffer is full or will be full, the second FIFO buffer sends a full flag signal through a status circuit to prevent the second interface control module from continuing to write data to the second FIFO buffer.
The first interface control module acquires commands or data from the second FIFO cache in sequence, and sends the acquired commands or data to the network card BMC; in a specific implementation process, when the second FIFI buffer is empty, the second FIFO buffer sends an empty flag signal through the filling circuit to prevent the first interface control module from continuously reading data from the second FIFO buffer.
And after the network card BMC executes the command or receives the data, the network card BMC sends feedback information.
The first interface control module receives the feedback information and sends the feedback information to a first FIFO cache for storage; in a specific implementation process, when the first FIFO buffer is full or will be full, a full flag signal is sent through a status circuit to prevent the first interface module from continuously writing feedback information to the first FIFO buffer.
The Ethernet framing module acquires feedback information from the first FIFO buffer and packages the feedback information into an Ethernet frame; in a specific implementation process, when the first FIFO buffer is empty, an empty flag signal is sent through a status circuit to prevent the ethernet framing module from continuously reading the feedback information from the first FIFO buffer, and the ethernet framing module encapsulates the feedback information into an ethernet frame.
And the second interface control module acquires the Ethernet frame generated by the Ethernet framing module and sends the Ethernet frame to a local server or other terminals. In a specific implementation process, the intelligent network card built-in switch is used for connecting the second interface control module with a local server or other terminals. And the second interface control module acquires the Ethernet frame generated by the Ethernet framing module and sends the Ethernet frame to a local server or other terminals.
The network card BMC and the local server or other terminals are connected with each other at high speed through the Ethernet frame by the method.
The intelligent network card BMC communication method with strong universality further comprises the following steps:
the network card BMC responds to the I2C read request of the server BMC of the local server to feed back corresponding data to the server BMC of the local server. And the network card BMC responds to the I2C write request of the server BMC of the local server to acquire corresponding data from the local server BMC.
In the specific implementation process, a server BMC of a local server sends a start signal, a 7-bit address (representing a network card BMC) and a 1-bit read signal to an I2C bus, the network card BMC connected to an I2C bus responds on an I2C bus after matching the 7-bit address, the server BMC sends a memory address to be written after receiving the response, the network card responds on an I2C bus, the server BMC sends write data to the memory address to be written through an I2C bus after receiving the response, the BMC responds on an I2C bus after receiving the write data, and the server BMC sends a stop signal to stop writing.
In the specific implementation process, a server BMC of the local server sends a start signal, a 7-bit address (representing a network card BMC) and a 1-bit write signal on an I2C bus, the network card BMC connected to an I2C bus responds on an I2C bus after matching the 7-bit address, the server BMC sends a read address through an I2C bus after receiving the response, and the network card BMC responds after receiving the read address. The server BMC sends a start signal, a 7-bit address and a 1-bit reading signal on the I2C, the network card BMC on the I2C bus responds on the I2C bus after matching the 7-bit address, the server BMC reads data from the reading address, sends a response on the I2C bus after the data reading is finished, and the server BMC sends a stop signal to stop the reading.
The intelligent network card BMC communication structure with strong universality integrates and processes the out-of-band information of the network card BMC through the communication unit, and the network card BMC is communicated with the local server or other terminals through the Ethernet frame, so that various buses of the network card BMC communication are integrated into one bus, and the complexity of the intelligent network card is reduced.
Because the servers are all provided with LAN ports, the communication unit can be connected with the servers through the LAN ports, so that the intelligent network card can be adapted to any server, and the adaptability of the intelligent network card is improved.
The network card BMC and the server BMC are connected through the communication unit, and the intercommunicated data is converted into a standard Ethernet frame through the communication unit, so that the network card BMC and the server BMC can realize communication compatibility without adopting a BMC product of the same manufacturer. The product supply chain can be diversified to reduce costs.
The network card BMC is connected with the switch through the communication unit, and the switch is connected with the local server or other terminals, so that the local server, the server BMC of the local server and other terminals can be connected with the network card BMC through a network, and the maintainability, testability and monitorability of the intelligent network card are higher.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The utility model provides an intelligence network card BMC communication structure that commonality is strong, its characterized in that includes: the communication unit comprises a first interface control module, wherein the first interface control module is connected with a network card BMC of the intelligent network card through a bus; the first interface control module is connected with the first FIFO cache and the second FIFO cache;
the first FIFO cache is connected with an Ethernet framing module, the Ethernet framing module is connected with a second interface control module, and the second interface control module is connected with a local server or other terminals through a network port;
the second interface control module is connected with an Ethernet deframing module, and the Ethernet deframing module is connected with a second FIFO cache;
the first interface control module caches uplink data received from the network card BMC to the first FIFO cache, the Ethernet framing module sequentially acquires the uplink data from the first FIFO cache and encapsulates the uplink data into Ethernet frames, and the Ethernet frames are sent to a local server or other terminals through the second interface control module; the second interface control module sends the Ethernet frames acquired from the local server or other terminals to the Ethernet deframing module to be analyzed into downlink data, the Ethernet deframing module sends the downlink data to the second FIFO cache for storage, and the first interface module sequentially acquires the data from the second FIFO cache and sends the data to the network card BMC.
2. The strong-universality intelligent network card BMC communication structure of claim 1, wherein the network card BMC is further connected with the server BMC through an I2C bus via a PCIe gold finger sideband, the server BMC is configured as an I2C master device, and the network card BMC is configured as an I2C slave device.
3. The strong-universality BMC communication structure of the intelligent network card according to claim 1, wherein the bus of the network card BMC connected to the first interface control module is a high-speed bus.
4. The BMC communication structure of an intelligent network card with strong universality according to claim 1, wherein the communication unit is further configured with a control clock module, a flow control state machine, a state register, a command table and an address table, the clock module is configured to provide a clock signal for a data conversion process of the communication unit, the flow control state machine is configured to control transmission of a data stream in the data conversion process, the state register is configured to record a communication unit state of the communication unit in the data conversion process, the command table is configured to set a command sequence, a command of the communication unit in the process of generating or analyzing an ethernet frame is matched with the command table, and a corresponding command is executed according to the command sequence set by the command table to complete generation or analysis of the ethernet frame; the address table is used for learning and recording the address of a local server or other terminals connected in the network card BMC communication process, mapping the address and the network card BMC address, and connecting according to the address mapping in the address table when the address is reconnected.
5. The BMC communication structure of the intelligent network card with strong universality as claimed in claim 1, wherein the network port adopts SFP optical module, the network port is connected with local server LAN interface through switch, the local server LAN interface is connected with local server south bridge, and the local server south bridge is connected with BMC.
6. The strong-universality BMC communication structure of the intelligent network card according to claim 5, wherein the network port is connected with other terminals through a switch, and the other terminals are used for communicating with the network card BMC of the intelligent network card to monitor, maintain and test the intelligent network card.
7. The strong-universality BMC communication structure of the intelligent network card according to claim 1, wherein the network port is directly connected to a local server LAN interface, the local server LAN interface is connected to a local server south bridge, and the local server south bridge is connected to the BMC.
8. A BMC communication method of an intelligent network card with strong universality is characterized by comprising the following steps:
the local server or other terminals send Ethernet frames carrying commands or data;
the second interface control module receives the Ethernet frame and sends the Ethernet frame to the Ethernet unframing module;
the Ethernet deframing module analyzes the Ethernet frame to obtain a command or data and stores the command or data in a second FIFO buffer;
the first interface control module acquires commands or data from the second FIFO cache in sequence and sends the commands or data to the network card BMC;
after the network card BMC executes the command or receives the data, the network card BMC sends feedback information;
the first interface control module receives the feedback information and sends the feedback information to a first FIFO cache for storage;
the Ethernet framing module acquires feedback information from the first FIFO buffer and packages the feedback information into an Ethernet frame;
and the second interface control module acquires the Ethernet frame generated by the Ethernet framing module and sends the Ethernet frame to a local server or other terminals.
9. The strong-universality intelligent network card BMC communication method according to claim 8, wherein the network card BMC responds to an I2C read request of the server BMC of the local server to feed back corresponding data to the server BMC of the local server.
10. The strong-universality intelligent network card BMC communication method according to claim 8, wherein the network card BMC is configured to obtain corresponding data from the local server BMC in response to an I2C write request of the server BMC of the local server.
CN202110730356.0A 2021-06-29 2021-06-29 Intelligent network card BMC communication structure and method Active CN113609045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110730356.0A CN113609045B (en) 2021-06-29 2021-06-29 Intelligent network card BMC communication structure and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110730356.0A CN113609045B (en) 2021-06-29 2021-06-29 Intelligent network card BMC communication structure and method

Publications (2)

Publication Number Publication Date
CN113609045A true CN113609045A (en) 2021-11-05
CN113609045B CN113609045B (en) 2023-07-18

Family

ID=78336953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110730356.0A Active CN113609045B (en) 2021-06-29 2021-06-29 Intelligent network card BMC communication structure and method

Country Status (1)

Country Link
CN (1) CN113609045B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143194A (en) * 2022-02-07 2022-03-04 苏州浪潮智能科技有限公司 Method, device, equipment and medium for initializing intelligent network card by server
CN115314262A (en) * 2022-07-20 2022-11-08 杭州熠芯科技有限公司 Design method of trusted network card and networking method thereof
CN115695056A (en) * 2022-10-14 2023-02-03 中电云数智科技有限公司 System for operation and maintenance of intelligent network card
CN116743883A (en) * 2023-08-15 2023-09-12 中移(苏州)软件技术有限公司 Intelligent network card, data processing system and working method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359275A1 (en) * 2016-06-13 2017-12-14 Dell Products, Lp Virtual PCIe Based Ethernet Controller for In-band Communication Between Server and BMC
CN109634397A (en) * 2018-12-07 2019-04-16 郑州云海信息技术有限公司 A kind of system and method for realizing intelligent network adapter or more Electricity Functional
CN209897071U (en) * 2019-06-27 2020-01-03 苏州浪潮智能科技有限公司 High-speed network card
CN111654404A (en) * 2020-06-28 2020-09-11 新华三信息技术有限公司 Intelligent network card management and control method and device
CN112100119A (en) * 2020-08-18 2020-12-18 中国科学院声学研究所 High-speed Ethernet frame reconstruction system based on FPGA

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170359275A1 (en) * 2016-06-13 2017-12-14 Dell Products, Lp Virtual PCIe Based Ethernet Controller for In-band Communication Between Server and BMC
CN109634397A (en) * 2018-12-07 2019-04-16 郑州云海信息技术有限公司 A kind of system and method for realizing intelligent network adapter or more Electricity Functional
CN209897071U (en) * 2019-06-27 2020-01-03 苏州浪潮智能科技有限公司 High-speed network card
CN111654404A (en) * 2020-06-28 2020-09-11 新华三信息技术有限公司 Intelligent network card management and control method and device
CN112100119A (en) * 2020-08-18 2020-12-18 中国科学院声学研究所 High-speed Ethernet frame reconstruction system based on FPGA

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143194A (en) * 2022-02-07 2022-03-04 苏州浪潮智能科技有限公司 Method, device, equipment and medium for initializing intelligent network card by server
CN115314262A (en) * 2022-07-20 2022-11-08 杭州熠芯科技有限公司 Design method of trusted network card and networking method thereof
CN115314262B (en) * 2022-07-20 2024-04-23 杭州熠芯科技有限公司 Design method of trusted network card and networking method thereof
CN115695056A (en) * 2022-10-14 2023-02-03 中电云数智科技有限公司 System for operation and maintenance of intelligent network card
CN116743883A (en) * 2023-08-15 2023-09-12 中移(苏州)软件技术有限公司 Intelligent network card, data processing system and working method thereof
CN116743883B (en) * 2023-08-15 2023-11-03 中移(苏州)软件技术有限公司 Intelligent network card, data processing system and working method thereof

Also Published As

Publication number Publication date
CN113609045B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN113609045B (en) Intelligent network card BMC communication structure and method
US10718812B2 (en) Device, system and method to support communication of test, debug or trace information with an external input/output interface
CN111159085B (en) Automatic configuration method of PCIE (peripheral component interface express) bandwidth, server mainboard and server
CN105868149B (en) Serial port information transmission method and device
CN101291261B (en) Method and system for in-board device testing
CN108111382B (en) Communication device based on I3C bus and communication method thereof
CN110087037A (en) A kind of the EtherCAT main website and working method of integrated camera
CN109525472B (en) Bus communication conversion circuit, device and system
CN107391409B (en) PCI-E network controller, network equipment and data transmission method
CN106502911B (en) Multi-terminal access device
US10176133B2 (en) Smart device with no AP
CN104331350A (en) Method and device for debugging serial port of IC (Integrated Circuit) card electronic equipment
CN108521416B (en) ECN integrated circuit board
CN208367733U (en) Embedded A I machine vision hardware configuration
CN217085747U (en) Multi-interface communication device based on VPX bus
CN113904970B (en) Transmission system and method of semiconductor test equipment
CN214042097U (en) PLC serial port communication extension module capable of customizing protocol
CN213122983U (en) System on chip realized based on FPGA
CN111274184B (en) Serial interface device driver, embedded processor and video controller
CN114116584A (en) Interface board card, user equipment and CPU test system
CN106603188A (en) Frequency converter interface device
KR200439053Y1 (en) Device having reconfigurable chip for interacting with processor using serial communication channel and system thereof
CN115934436B (en) Optical communication bus test board card
CN216310776U (en) Interface board card, user equipment and CPU test system
CN115237849B (en) Dynamically reconfigurable and heterogeneous computing module and computing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant