CN114676077B - Intelligent network card automatic identification and resource allocation system and method compatible with different systems - Google Patents

Intelligent network card automatic identification and resource allocation system and method compatible with different systems Download PDF

Info

Publication number
CN114676077B
CN114676077B CN202210270442.2A CN202210270442A CN114676077B CN 114676077 B CN114676077 B CN 114676077B CN 202210270442 A CN202210270442 A CN 202210270442A CN 114676077 B CN114676077 B CN 114676077B
Authority
CN
China
Prior art keywords
intelligent network
network card
pcie
chip
adapter plate
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.)
Active
Application number
CN202210270442.2A
Other languages
Chinese (zh)
Other versions
CN114676077A (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 CN202210270442.2A priority Critical patent/CN114676077B/en
Publication of CN114676077A publication Critical patent/CN114676077A/en
Application granted granted Critical
Publication of CN114676077B publication Critical patent/CN114676077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • 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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an automatic identification and resource allocation system and method of intelligent network cards compatible with different systems, belonging to the technical field of intelligent network card identification, wherein the system comprises a server node, a PCIe high-speed signal cable set, an intelligent network card adapter plate and an intelligent network card; the server node is provided with a management chip, a south bridge chip, an I2C expansion chip and a signal processing module; the management chip is connected with the south bridge chip and the I2C expansion chip, the I2C expansion chip is provided with a plurality of IO output ports, each IO output port is connected with the intelligent network card adapter plate through the PCIe high-speed signal cable group after passing through the signal processing module, and the intelligent network card adapter plate is connected with the intelligent network card; the south bridge chip is used for automatically acquiring the ID number of the intelligent network card adapter plate from the management chip and automatically configuring PCIe bandwidth and PCIe bus according to the ID number of the intelligent network card adapter plate. The invention realizes the automatic identification of the intelligent network card and improves the multiplexing rate of products.

Description

Intelligent network card automatic identification and resource allocation system and method compatible with different systems
Technical Field
The invention belongs to the technical field of intelligent network card identification, and particularly relates to an intelligent network card automatic identification and resource allocation system and method compatible with different systems.
Background
With the rapid rise of the internet industry, cloud computing has gained rapid development. Infrastructure virtualization technology is an important requirement for cloud computing. The method abstracts the physical resources of the server into logic resources, and enables one server to be changed into a plurality of virtual servers which are mutually isolated, and enables hardware such as a CPU, a memory, a hard disk and the like to be changed into a 'resource pool' which can be dynamically managed, thereby realizing the virtualization of the server.
At present, an intelligent network card is matched on a server system, and the intelligent network card is used as a micro-server to realize the virtualization of an infrastructure. The architecture matched with the intelligent network card can release the high-performance processor resources of the computing nodes directly occupied by the virtualization of the computing nodes, so that clients can monopolize the computing resources, the cost and the characteristic loss of virtual performance are avoided, the server encryption computation can be realized, and the data security on the client cloud can be better ensured.
As a micro server, the intelligent network card generally adopts CPU, FPGA, CPLD, BMC, NIC devices to realize its architecture design. When the virtualization of the server system is implemented using the intelligent network card, more than 60% of PCIe bus is required. The number of the CPU and the PCIe buses is limited, and the server system is usually realized by fixing the intelligent network card at a specific position and fixing the PCIe ports by matching with the CPU. The fixed PCIe port lacks flexibility in using the intelligent network card, and particularly, the limit conflict is more obvious in the scene that the intelligent network card is multiplexed to a plurality of server system architectures by matching with the same main board.
This is a deficiency of the prior art, and therefore, it is necessary to provide a system and a method for automatically identifying and allocating resources for an intelligent network card compatible with different systems, aiming at the above-mentioned deficiency in the prior art.
Disclosure of Invention
Aiming at the defect that the mode of using the intelligent network card by the fixed PCIe port in the prior art lacks flexibility, and particularly, the conflict restriction is more obvious in the scene that the intelligent network card is multiplexed to a plurality of server system architectures by matching with the same main board, the invention provides an intelligent network card automatic identification and resource allocation system and method compatible with different systems, so as to solve the technical problems.
The invention provides an automatic identification and resource allocation system compatible with intelligent network cards of different systems, which comprises a server node, a PCIe high-speed signal cable set, an intelligent network card adapter plate and an intelligent network card;
the server node is provided with a management chip, a south bridge chip, an I2C expansion chip and a signal processing module;
the south bridge chip is connected with the management chip, the management chip is also connected with the I2C expansion chip through an I2C signal wire, the I2C expansion chip is provided with a plurality of IO output ports, each IO output port is connected with the intelligent network card adapter plate through the PCIe high-speed signal cable set after passing through the signal processing module, and the intelligent network card adapter plate is connected with the intelligent network card;
the intelligent network card adapter plate is used for presetting intelligent network card identification and bandwidth allocation rules and connecting the intelligent network card with the I2C expansion chip by matching with the PCIe high-speed signal cable group;
the south bridge chip is used for automatically acquiring the ID number of the intelligent network card adapter plate from the management chip and automatically configuring PCIe bandwidth and PCIe bus according to the ID number of the intelligent network card adapter plate.
Further, the management chip adopts a BMC chip. The baseboard manager BMC is a commonly used management chip and can also monitor and manage the system.
Further, the south bridge chip is connected with the management chip through an ESPI bus or an SMBUS. ESPI, abbreviated as Enhanced Serial Peripheral Interface, is an enhanced serial peripheral interface bus. Short for SMBUS, system Management Bus, system management bus.
Further, the PCIe high speed signal cable group includes a plurality of PCIe high speed signal lines;
the signal processing module comprises a plurality of noise reduction resistors and a plurality of pull-up resistors;
each IO output port is connected with a noise reduction resistor, the other end of the noise reduction resistor is connected with a pull-up resistor and a PCIe high-speed signal line, and the other end of the pull-up resistor is connected with a 3.3V auxiliary power supply. The noise reduction resistor is used for being connected with a single-ended signal of an IO output port of the IO expansion chip in series, so that signal noise is reduced, and signal reliability is improved. And the pull-up resistor pulls up the identification signal on the intelligent network card adapter plate to a 3.3V auxiliary power supply, so that the initial level of the ID identification signal of the intelligent network card adapter plate is high level in the standby state.
Further, the PCIe high-speed signal line comprises a server end and an intelligent network card end;
the server end of the PCIe high-speed signal line is connected with the corresponding noise reduction resistor and the pull-up resistor;
a plurality of setting terminals are arranged on the intelligent network card adapter plate;
the setting terminal is connected with the intelligent network card end corresponding to the PCIe high-speed signal line, and is suspended or grounded according to a preset rule; one floating terminal of the setting terminals is set as an in-place regular terminal;
an indication terminal is arranged on the intelligent network card and is grounded;
the intelligent network card is spliced with the intelligent network card adapter plate, and the in-place rule terminal is connected with the indication terminal. The intelligent network card is interconnected with PCIe slots on the intelligent network card adapter plate through PCIe gold fingers, and an in-situ rule terminal for in-situ detection of the intelligent network card is grounded at the intelligent network card, so that in-situ detection is realized.
In a second aspect, the present invention provides a method for automatically identifying and allocating resources for an intelligent network card compatible with different systems based on the first aspect, including the following steps:
s1, presetting compatibility rules of intelligent network card identification, PCIe bandwidth and PCIe bus allocation in an intelligent network card adapter plate, and carrying out intelligent network card identification and bandwidth allocation ID setting according to the compatibility rules and PCIe card specification requirements;
s2, the management chip monitors the ID of the intelligent network card adapter plate, judges whether the ID is the same as the set ID of the intelligent network card identification and bandwidth allocation, and provides the ID of the intelligent network card adapter plate to the south bridge chip when the ID of the intelligent network card adapter plate is the same as the set ID of the intelligent network card identification and bandwidth allocation;
s3, the south bridge chip distributes the PCIe bandwidth and PCIe bus for the intelligent network card.
Further, the specific steps of step S1 are as follows:
s11, acquiring preset compatible rules for intelligent network card identification and PCIe bandwidth and PCIe bus allocation;
s12, analyzing the compatibility rule to obtain intelligent network card identification and bandwidth allocation ID and required digits;
s13, setting the number of IO output ports of an IO expansion chip connected with the management chip, the number of PCIe high-speed signal lines and the number of set terminals on the intelligent network card adapter plate according to the number of bits required by intelligent network card identification and bandwidth allocation;
s14, suspending or grounding the setting terminals on the intelligent network card adapter plate according to the intelligent network card identification and the bandwidth allocation ID. The number of bits required in a specific compatibility rule is flexibly set according to requirements, the suspension represents a high level, and the ground represents a low level.
Further, the specific steps of step S2 are as follows:
s21, detecting signal levels of IO output ports of the IO expansion chip by the management chip, wherein the level of each IO output is lower than a set threshold value and judged to be 0, and is higher than the set threshold value and judged to be 1;
s22, the management chip judges whether the combination of the judging values of the IO output ports according to the set sequence is identical with the identification of the intelligent network card and the bandwidth allocation ID;
if yes, go to step S23;
if not, returning to the step S21;
s23, the management chip provides the ID of the intelligent network card adapter board for the south bridge chip. The management chip monitors the ID of the intelligent network card adapter plate through the IO output port.
Further, the specific steps of step S21 are as follows:
s211, detecting signal levels of IO output ports corresponding to the IO expansion chip and the in-place rule terminal by the management chip, and judging whether the level of the IO output ports is lower than a set threshold value or not;
if yes, go to step S212;
if not, returning to the step S211;
s212, the management chip judges that the intelligent network card is in place, and the level value of a set terminal serving as a rule terminal in place is 0;
s213, the management chip detects the signal level of all IO output ports of the IO expansion chip, judges that the signal level is lower than a set threshold value and judges that the signal level is 0, and is higher than the set threshold value and judges that the signal level is 1. Firstly, judging that the intelligent network card connected with the intelligent network card adapter plate is in place, and then identifying the ID of the intelligent network card adapter plate.
Further, the specific steps of step S3 are as follows:
s31, the south bridge chip transmits the ID of the intelligent network card adapter plate to the BIOS;
s32, the BIOS automatically allocates the required bandwidth for the intelligent network card according to the PCIe bandwidth in the compatibility rule;
s33, the BIOS automatically distributes a required bus for the intelligent network card according to the PCIe bus in the compatibility rule;
s34, the server node, the intelligent network card adapter plate and the intelligent network card are electrified again, PCIe bandwidth and PCIe bus of the intelligent network card are set to be effective, and the server node and the intelligent network card work normally. And automatically distributing PCIe bandwidth and bus of the intelligent network card according to a preset mode.
The invention has the beneficial effects that:
the system and the method for automatically identifying the intelligent network card and distributing the resources compatible with different systems realize the automatic identification of the intelligent network card, automatically distribute the PCIe bandwidth and the PCIE bus required by the intelligent network card, solve the problem that the fixed PCIE port uses the intelligent network card under the condition that the current CPU and the PCIe bus are limited, improve the multiplexing rate of products and improve the usability and the flexibility of the products.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
It can be seen that the present invention has outstanding substantial features and significant advances over the prior art, as well as the benefits of its implementation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of an automatic identification and resource allocation system for an intelligent network card compatible with different systems according to the present invention.
Fig. 2 is a schematic diagram of compatibility rules for identifying the intelligent network card and distributing PCIe bandwidth and PCIe bus according to the present invention.
Fig. 3 is a schematic flow chart of an embodiment 1 of the method for automatically identifying and allocating resources of an intelligent network card compatible with different systems.
Fig. 4 is a schematic flow chart of an embodiment 2 of the method for automatically identifying and allocating resources of an intelligent network card compatible with different systems.
In the figure, 1-server node; 2-an intelligent network card adapter plate; 3-intelligent network card; 4-a management chip; a 5-south bridge chip; a 6-I2C expansion chip; ro 1-a first noise reduction resistor; ro 2-a second noise reduction resistor; ro 3-third noise reduction resistor; ro 4-fourth noise reduction resistor; ro 5-fifth noise reduction resistor; ro 6-sixth noise reduction resistor; rm 1-a first pull-up resistor; rm 2-a second pull-up resistor; rm 3-a third pull-up resistor; rm 4-fourth pull-up resistor; rm 5-a fifth pull-up resistor; rm 6-sixth pull-up resistor; a1-a first setting terminal; a2-a second setting terminal; a3-a third setting terminal; a4-fourth set terminal; a5-a fifth setting terminal; a6-sixth setting terminal; p-indicating terminals; P3V3-3.3V auxiliary power supply.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Example 1:
as shown in fig. 1, the invention provides an automatic identification and resource allocation system compatible with different systems, which comprises a server node 1, a PCIe high-speed signal cable group, an intelligent network card adapter plate 2 and an intelligent network card 3;
a management chip 4, a south bridge chip 5, an I2C expansion chip 6 and a signal processing module are arranged on the server node 1;
the south bridge chip 5 is connected with the management chip 4, the management chip 4 is also connected with the I2C expansion chip 6 through an I2C signal line, the I2C expansion chip 6 is provided with a plurality of IO output ports, each IO output port is connected with the intelligent network card adapter plate 2 through a PCIe high-speed signal cable set after passing through the signal processing module, and the intelligent network card adapter plate 2 is connected with the intelligent network card 3;
the intelligent network card adapter plate 2 is used for presetting intelligent network card identification and bandwidth allocation rules and connecting the intelligent network card 3 with the I2C expansion chip 6 by matching with a PCIe high-speed signal cable group;
the south bridge chip 5 is configured to automatically obtain the ID number of the intelligent network card adapter board 2 from the management chip 4, and automatically configure PCIe bandwidth and PCIe bus according to the ID number of the intelligent network card adapter board 2.
The intelligent network card automatic identification and resource allocation system compatible with different systems provided by the invention realizes the automatic identification of the intelligent network card, and automatically allocates the PCIe bandwidth and PCIE bus required by the intelligent network card, solves the problem that the fixed PCIE port uses the intelligent network card under the condition that the current CPU and PCIe bus are limited, improves the multiplexing rate of products, and improves the usability and flexibility of the products.
Example 2:
as shown in fig. 1, the invention provides an automatic identification and resource allocation system compatible with different systems, which comprises a server node 1, a PCIe high-speed signal cable group, an intelligent network card adapter plate 2 and an intelligent network card 3;
a management chip 4, a south bridge chip 5, an I2C expansion chip 6 and a signal processing module are arranged on the server node 1; the management chip 4 adopts a BMC chip;
the south bridge chip 5 is connected with the management chip 4, the management chip 4 is also connected with the I2C expansion chip 6 through an I2C signal line, the I2C expansion chip 6 is provided with a plurality of IO output ports, each IO output port is connected with the intelligent network card adapter plate 2 through a PCIe high-speed signal cable set after passing through the signal processing module, and the intelligent network card adapter plate 2 is connected with the intelligent network card 3; the south bridge chip 5 is connected with the management chip 4 through an ESPI bus or an SMBUS;
the intelligent network card adapter plate 2 is used for presetting intelligent network card identification and bandwidth allocation rules and connecting the intelligent network card 3 with the I2C expansion chip 6 by matching with a PCIe high-speed signal cable group;
the south bridge chip 5 is used for automatically acquiring the ID number of the intelligent network card adapter plate 2 from the management chip 4 and automatically configuring PCIe bandwidth and PCIe bus according to the ID number of the intelligent network card adapter plate 2;
the PCIe high-speed signal cable set comprises a plurality of PCIe high-speed signal lines;
the signal processing module comprises a plurality of noise reduction resistors and a plurality of pull-up resistors;
each IO output port is connected with a noise reduction resistor, the other end of the noise reduction resistor is connected with a pull-up resistor and a PCIe high-speed signal line, and the other end of the pull-up resistor is connected with a 3.3V auxiliary power supply P3V3;
the PCIe high-speed signal line comprises a server end and an intelligent network card end;
the server end of the PCIe high-speed signal line is connected with the corresponding noise reduction resistor and the pull-up resistor;
a plurality of setting terminals are arranged on the intelligent network card adapter plate 2;
the setting terminal is connected with the intelligent network card end corresponding to the PCIe high-speed signal line, and is suspended or grounded according to a preset rule; one floating terminal of the setting terminals is set as an in-place regular terminal;
the intelligent network card 3 is provided with an indication terminal P which is grounded;
the intelligent network card 3 is spliced with the intelligent network card adapter plate 2, and the in-place rule terminal is connected with the indication terminal P.
In the above embodiment 2, taking two sets of PCIe ex8 signal cables as an example, sixteen PCIe high-speed signal lines are shared, three PCIe high-speed signal lines are respectively selected from each set of PCIe ex8 signal cables, one of the six selected PCIe high-speed signal lines is used as the intelligent network card for in-place identification, and five PCIe high-speed signal lines are used as PCIe bandwidth allocation;
six noise reduction resistors, namely a first noise reduction resistor Ro1, a second noise reduction resistor Ro2, a third noise reduction resistor Ro3, a fourth noise reduction resistor Ro4, a fifth noise reduction resistor Ro5 and a sixth noise reduction resistor Ro6 are correspondingly arranged on an information processing module of the server node 1, and five pull-up resistors, namely a first pull-up resistor Rm1, a second pull-up resistor Rm2, a third pull-up resistor Rm3, a fourth pull-up resistor Rm4, a fifth pull-up resistor Rm5 and a sixth pull-up resistor Rm6 are arranged;
five setting terminals are correspondingly arranged on the intelligent network card adapter plate 2, wherein the first setting terminal A1, the second setting terminal A2, the third setting terminal A3, the fourth setting terminal A4, the fifth setting terminal A5 and the sixth setting terminal A6;
according to the compatible rules of intelligent network card identification, PCIe bandwidth and PCIe bus distribution, the realization of '0' is realized by grounding a set terminal, the realization of '1' is realized by suspending the set terminal, after grounding the set terminal, the realization of low level corresponding to the high level of the IO output port and grounding signal is realized, namely '0', and after suspending the set terminal, the realization of high level corresponding to the IO output port and suspending signal is realized, namely '1';
with "111110" shown in fig. 2 as a compatible rule for intelligent network card identification and PCIe bandwidth and PCIe bus allocation, the first setting terminal A1, the second setting terminal A2, the third setting terminal A3, the fourth setting terminal A4 and the fifth setting terminal A5 are all suspended, wherein the first setting terminal A1 is also a rule-in-place terminal, and when the intelligent network card 3 is inserted, the grounded indication terminal P is communicated with the first setting terminal A1 to realize "0", and the suspended sixth setting terminal A6, the fifth setting terminal A5, the fourth setting terminal A4, the third setting terminal A3 and the second setting terminal A2 realize "11111".
Example 3:
as shown in fig. 3, the present invention provides a method for automatically identifying and allocating resources for an intelligent network card compatible with different systems based on the above embodiment 1 or embodiment 2, which includes the following steps:
s1, presetting compatibility rules of intelligent network card identification, PCIe bandwidth and PCIe bus allocation in an intelligent network card adapter plate, and carrying out intelligent network card identification and bandwidth allocation ID setting according to the compatibility rules and PCIe card specification requirements;
s2, the management chip monitors the ID of the intelligent network card adapter plate, judges whether the ID is the same as the set ID of the intelligent network card identification and bandwidth allocation, and provides the ID of the intelligent network card adapter plate to the south bridge chip when the ID of the intelligent network card adapter plate is the same as the set ID of the intelligent network card identification and bandwidth allocation;
s3, the south bridge chip distributes the PCIe bandwidth and PCIe bus for the intelligent network card.
The automatic identification and resource allocation method of the intelligent network card compatible with different systems realizes the automatic identification of the intelligent network card, and automatically allocates the PCIe bandwidth and the PCIE bus required by the intelligent network card, solves the problem that the fixed PCIE port uses the intelligent network card under the condition that the current CPU and the PCIe bus are limited, improves the multiplexing rate of products, and improves the usability and the flexibility of the products.
Example 4:
as shown in fig. 4, the invention provides a method for automatically identifying and distributing resources of intelligent network cards compatible with different systems, which comprises the following steps:
s1, presetting compatibility rules of intelligent network card identification, PCIe bandwidth and PCIe bus allocation in an intelligent network card adapter plate, and carrying out intelligent network card identification and bandwidth allocation ID setting according to the compatibility rules and PCIe card specification requirements; the method comprises the following specific steps:
s11, acquiring preset compatible rules for intelligent network card identification and PCIe bandwidth and PCIe bus allocation;
s12, analyzing the compatibility rule to obtain intelligent network card identification and bandwidth allocation ID and required digits;
s13, setting the number of IO output ports of an IO expansion chip connected with the management chip, the number of PCIe high-speed signal lines and the number of set terminals on the intelligent network card adapter plate according to the number of bits required by intelligent network card identification and bandwidth allocation;
s14, suspending or grounding each set terminal on the intelligent network card adapter plate according to the intelligent network card identification and the bandwidth allocation ID;
s2, the management chip monitors the ID of the intelligent network card adapter plate, judges whether the ID is the same as the set ID of the intelligent network card identification and bandwidth allocation, and provides the ID of the intelligent network card adapter plate to the south bridge chip when the ID of the intelligent network card adapter plate is the same as the set ID of the intelligent network card identification and bandwidth allocation; the method comprises the following specific steps:
s21, detecting signal levels of IO output ports of the IO expansion chip by the management chip, wherein the level of each IO output is lower than a set threshold value and judged to be 0, and is higher than the set threshold value and judged to be 1;
s22, the management chip judges whether the combination of the judging values of the IO output ports according to the set sequence is identical with the identification of the intelligent network card and the bandwidth allocation ID;
if yes, go to step S23;
if not, returning to the step S21;
s23, the management chip provides the ID of the intelligent network card adapter plate for the south bridge chip;
s3, distributing a required PCIe bandwidth and a PCIe bus for the intelligent network card by the south bridge chip; the method comprises the following specific steps:
s31, the south bridge chip transmits the ID of the intelligent network card adapter plate to the BIOS;
s32, the BIOS automatically allocates the required bandwidth for the intelligent network card according to the PCIe bandwidth in the compatibility rule;
s33, the BIOS automatically distributes a required bus for the intelligent network card according to the PCIe bus in the compatibility rule;
s34, the server node, the intelligent network card adapter plate and the intelligent network card are electrified again, PCIe bandwidth and PCIe bus of the intelligent network card are set to be effective, and the server node and the intelligent network card work normally.
In the above embodiment 4, the specific steps of step S21 are as follows:
s211, detecting signal levels of IO output ports corresponding to the IO expansion chip and the in-place rule terminal by the management chip, and judging whether the level of the IO output ports is lower than a set threshold value or not;
if yes, go to step S212;
if not, returning to the step S211;
s212, the management chip judges that the intelligent network card is in place, and the level value of a set terminal serving as a rule terminal in place is 0;
s213, the management chip detects the signal level of all IO output ports of the IO expansion chip, judges that the signal level is lower than a set threshold value and judges that the signal level is 0, and is higher than the set threshold value and judges that the signal level is 1.
In the embodiment 4, according to the compatibility rules of identification of the intelligent network card and distribution of PCIe bandwidth and PCIe bus shown in fig. 2, the number of IO output ports of the IO expansion chip shown in fig. 1 is set to six, the number of PCIe high-speed signal lines is selected to six, the number of setting terminals on the intelligent network card adapter plate is set to six, and the setting terminals on the intelligent network card adapter plate are suspended according to the mode of fig. 1, and after the intelligent network card is inserted into the intelligent network card adapter plate, the setting terminals serving as in-place rule terminals are grounded;
when the management chip monitors that the ID of the intelligent network card adapter plate is the same as the set intelligent network card identification and bandwidth allocation ID of 111110, the management chip informs the south bridge chip of automatically allocating x16 PCIe bandwidth to the intelligent network card through the BIOS, allocates PCIe bus to be 64 bits, and then triggers the system to restart to enable the intelligent network card resource allocation to be effective, thereby realizing the automatic identification and resource allocation of the intelligent network card.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The intelligent network card automatic identification and resource allocation system compatible with different systems is characterized by comprising a server node, a PCIe high-speed signal cable set, an intelligent network card adapter plate and an intelligent network card;
the server node is provided with a management chip, a south bridge chip, an I2C expansion chip and a signal processing module;
the south bridge chip is connected with the management chip, the management chip is also connected with the I2C expansion chip through an I2C signal wire, the I2C expansion chip is provided with a plurality of IO output ports, each IO output port is connected with the intelligent network card adapter plate through the PCIe high-speed signal cable set after passing through the signal processing module, and the intelligent network card adapter plate is connected with the intelligent network card;
the intelligent network card adapter plate is used for presetting compatible rules of PCIe bandwidth and PCIe bus distribution and connecting the intelligent network card with the I2C expansion chip by matching with a PCIe high-speed signal cable group;
the south bridge chip is used for automatically acquiring the ID number of the intelligent network card adapter plate from the management chip and automatically configuring PCIe bandwidth and PCIe bus according to the ID number of the intelligent network card adapter plate.
2. The system for automatically identifying and allocating resources of intelligent network cards compatible with different systems according to claim 1, wherein the management chip is a BMC chip.
3. The system for automatically identifying and allocating resources of intelligent network cards compatible with different systems according to claim 1 wherein the south bridge chip is connected to the management chip through an ESPI bus or an SMBUS.
4. The system for automatically identifying and distributing resources for intelligent network cards compatible with different systems according to claim 1, wherein the PCIe high speed signal cable group includes a plurality of PCIe high speed signal lines;
the signal processing module comprises a plurality of noise reduction resistors and a plurality of pull-up resistors;
each IO output port is connected with a noise reduction resistor, the other end of the noise reduction resistor is connected with a pull-up resistor and a PCIe high-speed signal line, and the other end of the pull-up resistor is connected with a 3.3V auxiliary power supply.
5. The system for automatically identifying and distributing resources of intelligent network cards compatible with different systems according to claim 4, wherein the PCIe high-speed signal line includes a server side and an intelligent network card side;
the server end of the PCIe high-speed signal line is connected with the corresponding noise reduction resistor and the pull-up resistor;
a plurality of setting terminals are arranged on the intelligent network card adapter plate;
the setting terminal is connected with the intelligent network card end corresponding to the PCIe high-speed signal line, and is suspended or grounded according to a preset rule; one floating terminal of the setting terminals is set as an in-place regular terminal;
an indication terminal is arranged on the intelligent network card and is grounded;
the intelligent network card is spliced with the intelligent network card adapter plate, and the in-place rule terminal is connected with the indication terminal.
6. An automatic identification and resource allocation method for intelligent network cards compatible with different systems, which is applied to the automatic identification and resource allocation system for intelligent network cards compatible with different systems according to any one of claims 1 to 5, and is characterized by comprising the following steps:
s1, presetting compatibility rules of intelligent network card identification, PCIe bandwidth and PCIe bus allocation in an intelligent network card adapter plate, and carrying out intelligent network card identification and bandwidth allocation ID setting according to the compatibility rules and PCIe card specification requirements;
s2, the management chip monitors the ID of the intelligent network card adapter plate, judges whether the ID is the same as the set ID of the intelligent network card identification and bandwidth allocation, and provides the ID of the intelligent network card adapter plate to the south bridge chip when the ID of the intelligent network card adapter plate is the same as the set ID of the intelligent network card identification and bandwidth allocation;
s3, the south bridge chip distributes the PCIe bandwidth and PCIe bus for the intelligent network card.
7. The method for automatically identifying and allocating resources for intelligent network cards compatible with different systems according to claim 6, wherein step S1 comprises the following specific steps:
s11, acquiring preset compatible rules for intelligent network card identification and PCIe bandwidth and PCIe bus allocation;
s12, analyzing the compatibility rule to obtain intelligent network card identification and bandwidth allocation ID and required digits;
s13, setting the number of IO output ports of an IO expansion chip connected with the management chip, the number of PCIe high-speed signal lines and the number of set terminals on the intelligent network card adapter plate according to the number of bits required by intelligent network card identification and bandwidth allocation;
s14, suspending or grounding the setting terminals on the intelligent network card adapter plate according to the intelligent network card identification and the bandwidth allocation ID.
8. The method for automatically identifying and allocating resources for intelligent network cards compatible with different systems according to claim 7, wherein step S2 comprises the following specific steps:
s21, detecting signal levels of IO output ports of the IO expansion chip by the management chip, wherein the level of each IO output is lower than a set threshold value and judged to be 0, and is higher than the set threshold value and judged to be 1;
s22, the management chip judges whether the combination of the judging values of the IO output ports according to the set sequence is identical with the identification of the intelligent network card and the bandwidth allocation ID;
if yes, go to step S23;
if not, returning to the step S21;
s23, the management chip provides the ID of the intelligent network card adapter board for the south bridge chip.
9. The method for automatically identifying and allocating resources for intelligent network cards compatible with different systems according to claim 8, wherein step S21 comprises the following specific steps:
s211, detecting signal levels of IO output ports corresponding to the IO expansion chip and the in-place rule terminal by the management chip, and judging whether the level of the IO output ports is lower than a set threshold value or not;
if yes, go to step S212;
if not, returning to the step S211;
s212, the management chip judges that the intelligent network card is in place, and the level value of a set terminal serving as a rule terminal in place is 0;
s213, the management chip detects the signal level of all IO output ports of the IO expansion chip, judges that the signal level is lower than a set threshold value and judges that the signal level is 0, and is higher than the set threshold value and judges that the signal level is 1.
10. The method for automatically identifying and allocating resources for intelligent network cards compatible with different systems according to claim 8, wherein step S3 comprises the following specific steps:
s31, the south bridge chip transmits the ID of the intelligent network card adapter plate to the BIOS;
s32, the BIOS automatically allocates the required bandwidth for the intelligent network card according to the PCIe bandwidth in the compatibility rule;
s33, the BIOS automatically distributes a required bus for the intelligent network card according to the PCIe bus in the compatibility rule;
s34, the server node, the intelligent network card adapter plate and the intelligent network card are electrified again, PCIe bandwidth and PCIe bus of the intelligent network card are set to be effective, and the server node and the intelligent network card work normally.
CN202210270442.2A 2022-03-18 2022-03-18 Intelligent network card automatic identification and resource allocation system and method compatible with different systems Active CN114676077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210270442.2A CN114676077B (en) 2022-03-18 2022-03-18 Intelligent network card automatic identification and resource allocation system and method compatible with different systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210270442.2A CN114676077B (en) 2022-03-18 2022-03-18 Intelligent network card automatic identification and resource allocation system and method compatible with different systems

Publications (2)

Publication Number Publication Date
CN114676077A CN114676077A (en) 2022-06-28
CN114676077B true CN114676077B (en) 2023-07-18

Family

ID=82074880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210270442.2A Active CN114676077B (en) 2022-03-18 2022-03-18 Intelligent network card automatic identification and resource allocation system and method compatible with different systems

Country Status (1)

Country Link
CN (1) CN114676077B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012178112A (en) * 2011-02-28 2012-09-13 Nec Corp Resource allocation determination device, method and program
CN109684259A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 A kind of server and its preceding maintenance extend compound network card device
CN111752871A (en) * 2020-05-29 2020-10-09 苏州浪潮智能科技有限公司 PCIE equipment, device and method for realizing compatibility of same PCIE slot position with different PCIE bandwidths
CN111901164A (en) * 2020-07-17 2020-11-06 浪潮电子信息产业股份有限公司 Adaptive control method, device, equipment and system for OCP NIC network card
CN112134713A (en) * 2020-08-26 2020-12-25 苏州浪潮智能科技有限公司 Method and device for connecting intelligent network card and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012178112A (en) * 2011-02-28 2012-09-13 Nec Corp Resource allocation determination device, method and program
CN109684259A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 A kind of server and its preceding maintenance extend compound network card device
CN111752871A (en) * 2020-05-29 2020-10-09 苏州浪潮智能科技有限公司 PCIE equipment, device and method for realizing compatibility of same PCIE slot position with different PCIE bandwidths
CN111901164A (en) * 2020-07-17 2020-11-06 浪潮电子信息产业股份有限公司 Adaptive control method, device, equipment and system for OCP NIC network card
CN112134713A (en) * 2020-08-26 2020-12-25 苏州浪潮智能科技有限公司 Method and device for connecting intelligent network card and server

Also Published As

Publication number Publication date
CN114676077A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
US7480757B2 (en) Method for dynamically allocating lanes to a plurality of PCI Express connectors
US8745238B2 (en) Virtual hot inserting functions in a shared I/O environment
US8103993B2 (en) Structure for dynamically allocating lanes to a plurality of PCI express connectors
US7254652B2 (en) Autonomic configuration of port speeds of components connected to an interconnection cable
US7711886B2 (en) Dynamically allocating communication lanes for a plurality of input/output (‘I/O’) adapter sockets in a point-to-point, serial I/O expansion subsystem of a computing system
US7782893B2 (en) Method and apparatus for shared I/O in a load/store fabric
US7953074B2 (en) Apparatus and method for port polarity initialization in a shared I/O device
US6601109B1 (en) USB-based networking and I/O hub
CN103501242A (en) Resource management method and multiple-node cluster device
US20140280960A1 (en) Methods and apparatus for dynamically allocating devices between multiple controllers
CN113177018B (en) Server using double-slot CPU
CN112286857A (en) Server I2C bus allocation method and system supporting multi-backplane cascade
CN104615572A (en) Hot-plug processing system and method
CN108780430B (en) Sending Universal Serial Bus (USB) data over an alternate mode connection
TWI598740B (en) Apparatus allocating controller and apparatus allocating method
CN108513688A (en) A kind of switching device and device identification method and equipment identification device
US7065597B2 (en) Method and apparatus for in-band signaling of runtime general purpose events
CN114676077B (en) Intelligent network card automatic identification and resource allocation system and method compatible with different systems
CN113760803A (en) Server and control method
CN112035239A (en) Task scheduling method and device, terminal equipment and storage medium
US6704823B1 (en) Method and apparatus for dynamic allocation of interrupt lines through interrupt sharing
CN114138354B (en) Multi-host supporting on-board OCP network card system and server
CN108710508B (en) Processing method and device and electronic equipment
CN211628236U (en) Bandwidth configuration device of PCIE Slimline connector
Hanawa et al. Pearl: Power-aware, dependable, and high-performance communication link using pci express

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