[go: up one dir, main page]

CN113923121A - PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card - Google Patents

PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card Download PDF

Info

Publication number
CN113923121A
CN113923121A CN202111152803.5A CN202111152803A CN113923121A CN 113923121 A CN113923121 A CN 113923121A CN 202111152803 A CN202111152803 A CN 202111152803A CN 113923121 A CN113923121 A CN 113923121A
Authority
CN
China
Prior art keywords
network card
cpld
pcie
pcie bandwidth
bandwidth
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.)
Withdrawn
Application number
CN202111152803.5A
Other languages
Chinese (zh)
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 CN202111152803.5A priority Critical patent/CN113923121A/en
Publication of CN113923121A publication Critical patent/CN113923121A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Landscapes

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

Abstract

The invention provides a PCIe bandwidth automatic allocation method, a system and a device based on an OCP3.0 network card, wherein the method comprises the following steps: reading an in-place signal of the OCP3.0 network card and the bandwidth type information of the mainboard through the CPLD on the expansion card; importing a decoder table preset on an OCP3.0 network card into CPLD firmware, and determining PCIe bandwidth configuration by the CPLD according to the decoder table; the CPLD sends the determined PCIe bandwidth configuration information to a platform controller hub and an OCP3.0 network card; and the CPLD controls the OCP3.0 network card to read the bandwidth configuration information. The invention can ensure that the allocation mode of PCIe bandwidth is not limited to only support single host configuration, can support various host configurations through band width type ID, and can support various OCP3.0 network cards.

Description

PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card
Technical Field
The invention relates to the technical field of computers, in particular to a PCIe bandwidth automatic allocation method, a system and a device based on an OCP3.0 network card.
Background
Before the OCP (open server engineering mezzanine card) NIC project is established, a high-speed network interface is provided on a server motherboard through PCIe slots, and these cards capable of providing a high-speed network interface from the motherboard are collectively called LOM (Lan-on-board local area network) network cards. Since the industry does not have a clear LOM card standard, each server manufacturer develops various types of LOM cards, such as mLOM, sLOM, Flex LOM, and the like, according to the needs of its own products. These LOM cards are different in form and interface definitions are different from each other, so that they cannot be used commonly.
Currently, the OCP NIC project group begins to define new generation network cards. OCP NIC 3.0 has adopted two kinds of dimensions of big card (LFF) and small card (SFF), insert the server chassis from the panel through the handle strip or screw, realize the chassis is not uncapped and maintained. The signal rate starts from PCIe Gen4, can support PCIe Gen5, provides two PCIe interface bandwidths of x16 and x32, and improves the heat dissipation performance of the NIC card. Since the size of the SFF specification NIC 3.0 is small, it does not occupy too much space in the server chassis, and thus is highly popular in the industry. Most server vendors indicate that OCP NIC 3.0 will be supported in next generation servers and that these NIC cards will have begun to be marketed in succession.
The PCIe bandwidth allocation scheme of the current OCP3.0 network card includes: the method comprises the steps of defining a bandwidth of PCIe as x16 or 2x8 and the like according to the connection method of an uplink interface by using 3 empty pins on a slim connector (connector) and defining the bandwidth as a bandwidth ID. This approach, fixed bandwidth allocation, can only support single host x16 configuration, and cannot adjust the PCIe bandwidth according to the PRSNTA # pin, PRSNTB [3:0] # pin and BIF [2:0] # pin defined by the OCP3.0 specification. The scheme is determined according to the band width ID on the riser board, the bandwidth setting of the mode is fixed, only the application of PCIe X16 is supported at present, adjustment cannot be carried out on the preamble pin of the OCP3.0 network card, and the OCP3.0 network card which can be matched with the PCIe network card is limited.
However, the number of types of cards of OCP3.0 is large, and the mechanism of PCIe bandwidth allocation becomes more complicated. The system is a single CPU or more than two CPUs, and the root port is a multi-host or a single host, etc. configuration will affect the system.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a PCIe bandwidth automatic allocation method, system, and apparatus based on an OCP3.0 network card.
In order to achieve the purpose, the invention is realized by the following technical scheme: a PCIe bandwidth automatic allocation method based on an OCP3.0 network card comprises the following steps:
reading an in-place signal of the OCP3.0 network card and the bandwidth type information of the mainboard through the CPLD on the expansion card;
importing a decoder table preset on an OCP3.0 network card into CPLD firmware, and determining PCIe bandwidth configuration by the CPLD according to the decoder table;
the CPLD sends the determined PCIe bandwidth configuration information to a platform controller hub and an OCP3.0 network card;
and the CPLD controls the OCP3.0 network card to read the bandwidth configuration information.
Further, the reading of the in-place signal of the OCP3.0 network card and the bandwidth type information of the motherboard by the CPLD on the expansion card specifically includes:
the status signal of the PRSNTB [3:0] # pin of the OCP3.0 network card and the status signal of the band width type ID [1:0] pin on the mainboard are read through a CPLD on the riser card.
Further, the importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, where the CPLD determines PCIe bandwidth configuration according to the decoder table, specifically:
and importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, and determining the PCIe bandwidth configuration by the CPLD according to the decoder table.
Further, the sending, by the CPLD, the determined PCIe bandwidth configuration information to the platform controller hub specifically includes:
the CPLD sends PCIe bandwidth configuration information to the PCH through an I2C bus;
and the CPLD sends PCIe bandwidth configuration information to the OCP3.0 network card through a BIF [2:0] # pin.
Further, the step of the CPLD controlling the OCP3.0 network card to read the bandwidth configuration information includes:
and the CPLD sets the AUX _ PWR _ EN pin of the OCP3.0 network card to be high level, so that the BIF [2:0] # pin of the OCP3.0 network card is enabled, the OCP3.0 network card reads the BIF [2:0] # pin to send PCIe bandwidth configuration information, and PCIe bandwidth is automatically allocated according to the PCIe bandwidth configuration information.
Further, the reading of the on-site signal of the OCP card and the bandwidth type of the motherboard by the CPLD on the expansion card further includes:
if the state value of the PRSNTB [3:0] # pin of the OCP3.0 network card is not 0b1111, the current OCP3.0 network card is inserted, and at the moment, the state signal of the PRSNTB [3:0] # pin of the OCP3.0 network card and the state signal of the band width type ID [1:0] pin on the mainboard are read again.
Correspondingly, the invention also discloses a PCIe bandwidth automatic distribution system based on the OCP3.0 network card, which comprises: the system comprises an OCP3.0 network card, a platform controller hub and an expansion card, wherein the expansion card is provided with a CPLD;
the CPLD is respectively in data connection with the CP3.0 network card and the central hub of the platform controller;
the CPLD is used for reading an in-place signal of the OCP3.0 network card and the bandwidth type of the mainboard, and determining PCIe bandwidth configuration according to a decoder table led in CPLD firmware; and the PCIe bandwidth configuration information is sent to the central hub of the platform controller and the OCP3.0 network card, and the OCP3.0 network card is controlled to read the bandwidth configuration information.
Further, still include:
and the import module is used for importing a decoder table preset on the OCP3.0 network card into the CPLD firmware so that the CPLD determines PCIe bandwidth configuration according to the decoder table.
Further, the CPLD reads the bandwidth type information of the mainboard through a reading state signal of a PRSNTB [3:0] # pin of the OCP3.0 network card and through a band width type ID [1:0] pin on the mainboard; and the CPLD sets the AUX _ PWR _ EN pin of the OCP3.0 network card to be high level, so that the BIF [2:0] # pin of the OCP3.0 network card is effective, and the OCP3.0 network card reads PCIe bandwidth configuration information through the BIF [2:0] # pin.
Correspondingly, the invention discloses a PCIe bandwidth automatic allocation device based on OCP3.0 network card, comprising:
the memory is used for storing a PCIe bandwidth automatic allocation program based on the OCP3.0 network card;
and the processor is used for realizing the steps of the PCIe bandwidth automatic allocation method based on the OCP3.0 network card when the PCIe bandwidth automatic allocation program based on the OCP3.0 network card is executed.
Correspondingly, the invention discloses a readable storage medium, wherein the readable storage medium stores a PCIe bandwidth automatic allocation program based on the OCP3.0 network card, and when the PCIe bandwidth automatic allocation program based on the OCP3.0 network card is executed by a processor, the step of the PCIe bandwidth automatic allocation method based on the OCP3.0 network card is implemented as any one of the above.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a PCIe bandwidth automatic allocation method, a system and a device based on an OCP3.0 network card, which enable the allocation mode of the PCIe bandwidth not to be limited to only support single host configuration, and can support various host cases (single/dual/quad host) through a band width type ID and various OCP3.0 network cards (single/dual/quad controller) through a PRSNTB [3:0] # pin of the OCP3.0 network card. In addition, because the BIF [2:0] # pin needs to be determined before the AUX _ PWR _ EN signal pulls high, the OCP network card can be switched in and out in a supporting manner.
The invention can reduce the need of extra complex firmware for the BMC or the BIOS to import the OCP3.0 decoder table, and can also avoid the problem of abnormal bandwidth of the OCP3.0 card caused by errors of BIF values.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
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, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a system block diagram of the present invention.
In the figure, 1 is an OCP3.0 network card; 2 is PCH; 3 is a riser card; 4 is CPLD; 5 is a lead-in module, 6 is a main board.
Detailed Description
The core of the invention is to provide a PCIe bandwidth automatic allocation method based on an OCP3.0 network card, in the prior art, the PCIe bandwidth allocation scheme of the OCP3.0 network card comprises the following steps: the method comprises the steps of defining a bandwidth of PCIe as x16 or 2x8 and the like according to the connection method of an uplink interface by using 3 empty pins on a slim connector (connector) and defining the bandwidth as a bandwidth ID. This approach, fixed bandwidth allocation, can only support single host x16 configuration, and cannot adjust the PCIe bandwidth according to the PRSNTA # pin, PRSNTB [3:0] # pin and BIF [2:0] # pin defined by the OCP3.0 specification. The scheme is determined according to the band width ID on the riser board, the bandwidth setting of the mode is fixed, only the application of PCIe X16 is supported at present, adjustment cannot be carried out on the preamble pin of the OCP3.0 network card, and the OCP3.0 network card which can be matched with the PCIe network card is limited.
The PCIe bandwidth automatic allocation method based on the OCP3.0 network card provided by the invention firstly reads the in-place signal of the OCP3.0 network card and the bandwidth type information of the mainboard through the CPLD on the expansion card. And then, importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, and determining PCIe bandwidth configuration by the CPLD according to the decoder table. Finally, the CPLD sends the determined PCIe bandwidth configuration information to a platform controller hub and an OCP3.0 network card; and the CPLD is used for controlling the OCP3.0 network card to read the bandwidth configuration information. Therefore, the invention can enable the allocation mode of PCIe bandwidth not to be limited to only support single host configuration, can support various host configurations through band width type ID, and can support various OCP3.0 network cards.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
The first embodiment is as follows:
as shown in fig. 1, the embodiment provides an automatic PCIe bandwidth allocation method based on an OCP3.0 network card, including the following steps:
s1: and reading the in-place signal of the OCP3.0 network card and the bandwidth type information of the mainboard through the CPLD on the expansion card.
The method specifically comprises the following steps: the status signal of the PRSNTB [3:0] # pin of the OCP3.0 network card and the status signal of the band width type ID [1:0] pin on the mainboard are read through a CPLD on the riser card. Whether the configuration is multi host or single host is determined by the band width type ID. The status signal for the band width type ID [1:0] pin can be defined as: 00 is single host, 01 is dual host, and 10 is quad host.
If the state value of the PRSNTB [3:0] # pin of the OCP3.0 network card is not 0b1111, the current OCP3.0 network card is inserted, and at the moment, the state signal of the PRSNTB [3:0] # pin of the OCP3.0 network card and the state signal of the band width type ID [1:0] pin on the mainboard are read again.
S2: and importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, and determining PCIe bandwidth configuration by the CPLD according to the decoder table.
The method specifically comprises the following steps: and importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, and determining the PCIe bandwidth configuration by the CPLD according to the decoder table.
S3: and the CPLD sends the determined PCIe bandwidth configuration information to the platform controller hub and the OCP3.0 network card.
The CPLD sends PCIe bandwidth configuration information to the PCH through an I2C bus, and simultaneously the CPLD sends the PCIe bandwidth configuration information to the OCP3.0 network card through BIF [2:0] # pin.
S4: and the CPLD controls the OCP3.0 network card to read the bandwidth configuration information.
And the CPLD sets the AUX _ PWR _ EN pin of the OCP3.0 network card to be high level, so that the BIF [2:0] # pin of the OCP3.0 network card is enabled, the OCP3.0 network card reads the BIF [2:0] # pin to send PCIe bandwidth configuration information, and PCIe bandwidth is automatically allocated according to the PCIe bandwidth configuration information.
This embodiment provides an automatic PCIe bandwidth allocation method based on an OCP3.0 network card, so that the allocation method of PCIe bandwidth is not limited to only support single host configuration, and various host cases (single/dual/quad host) can be supported through a band width type ID and various OCP3.0 network cards (single/dual/quad controller) can be supported through a PRSNTB [3:0] # pin of the OCP3.0 network card. In addition, because the BIF [2:0] # pin needs to be determined before the AUX _ PWR _ EN signal pulls high, the OCP network card can be switched in and out in a supporting manner.
Example two:
based on the first embodiment, as shown in fig. 2, the invention further discloses an OCP3.0 network card-based PCIe bandwidth automatic allocation system, where the OCP3.0 network card 1, the PCH 2, and the riser card 3 are provided with a CPLD4 on the riser card 3; the CPLD4 is respectively connected with the CP3.0 network card 1 and the PCH 2 in a data mode.
The CPLD4 is used for reading an in-place signal of the OCP3.0 network card 1 and the bandwidth type of the mainboard 6, and determining PCIe bandwidth configuration according to a decoder table (decoder table) led in CPLD firmware; and the controller is further configured to send the determined PCIe bandwidth configuration information to the PCH 2 and OCP3.0 network card 1, and control the OCP3.0 network card 1 to read the bandwidth configuration information.
In addition, the system also comprises an importing module 5, which is used for importing a decoder table preset on the OCP3.0 network card 1 into the CPLD firmware, so that the CPLD determines PCIe bandwidth configuration according to the decoder table.
Specifically, the method comprises the following steps: CPLD4 reads the status signal through PRSNTB [3:0] # pin of OCP3.0 network card 1, and reads the bandwidth type information of mainboard 6 through band width type ID [1:0] pin on mainboard 6; CPLD4 sets the AUX _ PWR _ EN pin of OCP3.0 network card 1 to high level, makes BIF [2:0] # pin of OCP3.0 network card effective, and OCP3.0 network card 1 reads PCIe bandwidth configuration information through BIF [2:0] # pin.
This embodiment provides an automatic PCIe bandwidth allocation system based on an OCP3.0 network card, so that the allocation manner of PCIe bandwidth is not limited to only support single host configuration, and various host cases (single/dual/quad host) can be supported through a band width type ID and various OCP3.0 network cards (single/dual/quad controller) can be supported through a PRSNTB [3:0] # pin of the OCP3.0 network card. In addition, because the BIF [2:0] # pin needs to be determined before the AUX _ PWR _ EN signal pulls high, the OCP network card can be switched in and out in a supporting manner.
Example three:
the embodiment discloses a PCIe bandwidth automatic allocation device based on an OCP3.0 network card, which comprises a processor and a memory; when the processor executes the PCIe bandwidth automatic allocation program based on the OCP3.0 network card stored in the memory, the following steps are realized:
1. and reading the in-place signal of the OCP3.0 network card and the bandwidth type information of the mainboard through the CPLD on the expansion card.
2. And importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, and determining PCIe bandwidth configuration by the CPLD according to the decoder table.
3. And the CPLD sends the determined PCIe bandwidth configuration information to the platform controller hub and the OCP3.0 network card.
4. And the CPLD controls the OCP3.0 network card to read the bandwidth configuration information.
Further, the PCIe bandwidth automatic allocation apparatus based on the OCP3.0 network card in this embodiment may further include:
and the input interface is used for acquiring an externally introduced PCIe bandwidth automatic allocation program based on the OCP3.0 network card, storing the acquired PCIe bandwidth automatic allocation program based on the OCP3.0 network card into the memory, and also used for acquiring various instructions and parameters transmitted by external terminal equipment and transmitting the instructions and parameters to the processor so that the processor can use the instructions and parameters to perform corresponding processing. In this embodiment, the input interface may specifically include, but is not limited to, a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, and the like.
And the output interface is used for outputting various data generated by the processor to the terminal equipment connected with the output interface, so that other terminal equipment connected with the output interface can acquire various data generated by the processor. In this embodiment, the output interface may specifically include, but is not limited to, a USB interface, a serial interface, and the like.
And the communication unit is used for establishing remote communication connection between the PCIe bandwidth automatic distribution device based on the OCP3.0 network card and the external server so that the PCIe bandwidth automatic distribution device based on the OCP3.0 network card can mount the mirror image file into the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on a wireless communication technology or a wired communication technology.
And the keyboard is used for acquiring various parameter data or instructions input by a user through real-time key cap knocking.
And the display is used for displaying relevant information in the short circuit positioning process of the power supply line of the running server in real time.
The mouse can be used for assisting a user in inputting data and simplifying the operation of the user.
The embodiment provides an automatic PCIe bandwidth allocation device based on an OCP3.0 network card, which can reduce the need for extra complex firmware to import an OCP3.0 decoder table in a BMC or a BIOS, and also can avoid the problem of abnormal bandwidth of the OCP3.0 card caused by a BIF value error.
Example four:
the present embodiments also disclose a readable storage medium, where the readable storage medium includes Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known in the art. The readable storage medium stores a PCIe bandwidth automatic allocation program based on an OCP3.0 network card, and when executed by the processor, the PCIe bandwidth automatic allocation program based on the OCP3.0 network card implements the following steps:
1. and reading the in-place signal of the OCP3.0 network card and the bandwidth type information of the mainboard through the CPLD on the expansion card.
2. And importing a decoder table preset on the OCP3.0 network card into the CPLD firmware, and determining PCIe bandwidth configuration by the CPLD according to the decoder table.
3. And the CPLD sends the determined PCIe bandwidth configuration information to the platform controller hub and the OCP3.0 network card.
4. And the CPLD controls the OCP3.0 network card to read the bandwidth configuration information.
The embodiment provides a readable storage medium, which can reduce the need of extra complex firmware for importing the OCP3.0 decoder table into the BMC or the BIOS, and also can avoid the problem of abnormal bandwidth of the OCP3.0 card caused by a wrong BIF value.
In summary, the present invention can enable the PCIe bandwidth allocation manner not to be limited to only support single host configuration, can support various host configurations through the band width type ID, and can support various OCP3.0 network cards. .
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The method disclosed by the embodiment corresponds to the system disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional 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, systems 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 modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
Similarly, each processing unit in the embodiments of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units are integrated into one functional module.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 PCIe bandwidth automatic allocation method, system, apparatus and readable storage medium based on the OCP3.0 network card provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1.一种基于OCP3.0网卡的PCIe带宽自动分配方法,其特征在于,包括:1. a PCIe bandwidth automatic allocation method based on OCP3.0 network card, is characterized in that, comprises: 通过扩展卡上的CPLD,读取OCP3.0网卡的在位信号和主板的带宽类型信息;Through the CPLD on the expansion card, read the in-position signal of the OCP3.0 network card and the bandwidth type information of the motherboard; 将OCP3.0网卡上预置的译码器表导入CPLD固件,CPLD根据译码器表确定PCIe带宽配置;Import the decoder table preset on the OCP3.0 network card into the CPLD firmware, and the CPLD determines the PCIe bandwidth configuration according to the decoder table; CPLD将确定的PCIe带宽配置信息发送至到平台控制器中枢和OCP3.0网卡;The CPLD sends the determined PCIe bandwidth configuration information to the platform controller hub and the OCP3.0 network card; CPLD控制OCP3.0网卡读取带宽配置信息。CPLD controls OCP3.0 network card to read bandwidth configuration information. 2.根据权利要求1所述的基于OCP3.0网卡的PCIe带宽自动分配方法,其特征在于,所述通过扩展卡上的CPLD,读取OCP3.0网卡的在位信号和主板的带宽类型信息具体为:2. the PCIe bandwidth automatic allocation method based on OCP3.0 network card according to claim 1, is characterized in that, described by the CPLD on the expansion card, read the bandwidth type information of the in-position signal of OCP3.0 network card and mainboard Specifically: 通过riser卡上的CPLD读取OCP3.0网卡的PRSNTB[3:0]#引脚的状态信号和主板上的band width type ID[1:0]引脚的状态信号。Read the status signal of the PRSNTB[3:0]# pin of the OCP3.0 network card and the status signal of the band width type ID[1:0] pin on the motherboard through the CPLD on the riser card. 3.根据权利要求1所述的基于OCP3.0网卡的PCIe带宽自动分配方法,其特征在于,所述将OCP3.0网卡上预置的译码器表导入CPLD固件,CPLD根据译码器表确定PCIe带宽配置,具体为:3. the automatic allocation method of PCIe bandwidth based on OCP3.0 network card according to claim 1, is characterized in that, the described decoder table preset on OCP3.0 network card is imported into CPLD firmware, CPLD according to decoder table Determine the PCIe bandwidth configuration, specifically: 将OCP3.0网卡上预置的decoder table导入在CPLD固件,CPLD根据decoder table确定PCIe带宽配置。Import the decoder table preset on the OCP3.0 network card into the CPLD firmware, and the CPLD determines the PCIe bandwidth configuration according to the decoder table. 4.根据权利要求1所述的基于OCP3.0网卡的PCIe带宽自动分配方法,其特征在于,所述CPLD将确定的PCIe带宽配置信息发送至到平台控制器中枢,具体包括:CPLD通过I2C总线将PCIe带宽配置信息发送至PCH;4. the PCIe bandwidth automatic allocation method based on OCP3.0 network card according to claim 1, is characterized in that, described CPLD sends the determined PCIe bandwidth configuration information to platform controller center, specifically comprises: CPLD is by I2C bus Send PCIe bandwidth configuration information to PCH; CPLD通过BIF[2:0]#引脚将PCIe带宽配置信息发送至OCP3.0网卡。The CPLD sends the PCIe bandwidth configuration information to the OCP3.0 network card through the BIF[2:0]# pins. 5.根据权利要求1所述的基于OCP3.0网卡的PCIe带宽自动分配方法,其特征在于,所述CPLD控制OCP3.0网卡读取带宽配置信息包括:5. the PCIe bandwidth automatic allocation method based on OCP3.0 network card according to claim 1, is characterized in that, described CPLD controls OCP3.0 network card to read bandwidth configuration information and comprises: CPLD将OCP3.0网卡的AUX_PWR_EN引脚置为高电平,使OCP3.0网卡的BIF[2:0]#引脚有效,OCP3.0网卡读取BIF[2:0]#引脚发送PCIe带宽配置信息,并根据PCIe带宽配置信息进行PCIe带宽的自动分配。The CPLD sets the AUX_PWR_EN pin of the OCP3.0 network card to a high level, making the BIF[2:0]# pin of the OCP3.0 network card valid, and the OCP3.0 network card reads the BIF[2:0]# pin to send PCIe Bandwidth configuration information, and automatically allocate PCIe bandwidth according to the PCIe bandwidth configuration information. 6.根据权利要求2所述的基于OCP3.0网卡的PCIe带宽自动分配方法,其特征在于,所述通过扩展卡上的CPLD,读取OCP卡的在位信号和主板的带宽类型,还包括:6. the PCIe bandwidth automatic allocation method based on OCP3.0 network card according to claim 2, is characterized in that, described by the CPLD on the expansion card, read the bandwidth type of the in-position signal of OCP card and mainboard, also comprise : 若OCP3.0网卡的PRSNTB[3:0]#引脚的状态值不是0b1111,则当前OCP3.0网卡已插入,此时重新读取OCP3.0网卡的PRSNTB[3:0]#引脚的状态信号和主板上的band width typeID[1:0]引脚的状态信号。If the state value of the PRSNTB[3:0]# pin of the OCP3.0 network card is not 0b1111, the current OCP3.0 network card has been inserted, and then re-read the PRSNTB[3:0]# pin of the OCP3.0 network card. Status signal and the status signal of the band width typeID[1:0] pins on the motherboard. 7.一种基于OCP3.0网卡的PCIe带宽自动分配系统,其特征在于,包括:OCP3.0网卡、平台控制器中枢和扩展卡,扩展卡上设有CPLD;7. A PCIe bandwidth automatic allocation system based on OCP3.0 network card, is characterized in that, comprises: OCP3.0 network card, platform controller hub and expansion card, and expansion card is provided with CPLD; 所述CPLD分别与CP3.0网卡和平台控制器中枢数据连接;Described CPLD is connected with CP3.0 network card and platform controller central data respectively; CPLD用于读取OCP3.0网卡的在位信号和主板的带宽类型,并根据导入CPLD固件的译码器表确定PCIe带宽配置;还用于将确定的PCIe带宽配置信息发送至到平台控制器中枢和OCP3.0网卡,并控制OCP3.0网卡读取带宽配置信息。The CPLD is used to read the in-position signal of the OCP3.0 network card and the bandwidth type of the motherboard, and determine the PCIe bandwidth configuration according to the decoder table imported into the CPLD firmware; it is also used to send the determined PCIe bandwidth configuration information to the platform controller. The hub and OCP3.0 network card, and control the OCP3.0 network card to read the bandwidth configuration information. 8.根据权利要求7所述的基于OCP3.0网卡的PCIe带宽自动分配系统,其特征在于,还包括:8. the PCIe bandwidth automatic allocation system based on OCP3.0 network card according to claim 7, is characterized in that, also comprises: 导入模块,用于将OCP3.0网卡上预置的decoder table导入在CPLD固件,使CPLD根据decoder table确定PCIe带宽配置。The import module is used to import the decoder table preset on the OCP3.0 network card into the CPLD firmware, so that the CPLD can determine the PCIe bandwidth configuration according to the decoder table. 9.根据权利要求8所述的基于OCP3.0网卡的PCIe带宽自动分配系统,其特征在于:所述CPLD通过OCP3.0网卡的PRSNTB[3:0]#引脚的读取状态信号,并通过主板上的band widthtype ID[1:0]引脚的读取主板的带宽类型信息;CPLD将OCP3.0网卡的AUX_PWR_EN引脚置为高电平,使OCP3.0网卡的BIF[2:0]#引脚有效,OCP3.0网卡通过BIF[2:0]#引脚读取PCIe带宽配置信息。9. the PCIe bandwidth automatic allocation system based on OCP3.0 network card according to claim 8, is characterized in that: described CPLD is by the read status signal of the PRSNTB[3:0]# pin of OCP3.0 network card, and Read the bandwidth type information of the motherboard through the band widthtype ID[1:0] pin on the motherboard; CPLD sets the AUX_PWR_EN pin of the OCP3.0 network card to a high level, making the BIF[2:0 of the OCP3.0 network card] The ]# pin is valid, and the OCP3.0 network card reads the PCIe bandwidth configuration information through the BIF[2:0]# pin. 10.一种基于OCP3.0网卡的PCIe带宽自动分配装置,其特征在于,包括:10. A PCIe bandwidth automatic allocation device based on OCP3.0 network card is characterized in that, comprising: 存储器,用于存储基于OCP3.0网卡的PCIe带宽自动分配程序;The memory is used to store the PCIe bandwidth automatic allocation program based on the OCP3.0 network card; 处理器,用于执行所述基于OCP3.0网卡的PCIe带宽自动分配程序时实现如权利要求1至6任一项权利要求所述的基于OCP3.0网卡的PCIe带宽自动分配方法的步骤。The processor is configured to implement the steps of the PCIe bandwidth automatic allocation method based on the OCP3.0 network card according to any one of claims 1 to 6 when executing the PCIe bandwidth automatic allocation program based on the OCP3.0 network card.
CN202111152803.5A 2021-09-29 2021-09-29 PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card Withdrawn CN113923121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111152803.5A CN113923121A (en) 2021-09-29 2021-09-29 PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111152803.5A CN113923121A (en) 2021-09-29 2021-09-29 PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card

Publications (1)

Publication Number Publication Date
CN113923121A true CN113923121A (en) 2022-01-11

Family

ID=79237243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111152803.5A Withdrawn CN113923121A (en) 2021-09-29 2021-09-29 PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card

Country Status (1)

Country Link
CN (1) CN113923121A (en)

Similar Documents

Publication Publication Date Title
US20230117996A1 (en) Storage system boot method and apparatus, and computer-readable storage medium
US20170109248A1 (en) Sharing bus port by multiple bus hosts
CN114003528A (en) OCP switching card, switching system and switching method
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
WO2024082671A1 (en) Method and apparatus for using pcie interface compatibly with yinshan card, non-volatile readable storage medium, and device
CN118689819A (en) A data processing method, system and computing device based on complex programmable logic device CPLD
CN111949285A (en) An expansion chip firmware upgrade method, device, device and storage medium
CN118708519B (en) Server expansion module, server, configuration method, device and medium
CN109901664B (en) Method, apparatus, system, device and readable storage medium for providing clock signal
CN101582036B (en) Servo device and method for shared basic input and output system
CN111399871B (en) System updating method, device, equipment and medium of HBA card
CN118643000A (en) Generating method, sending method and device of configuration information table of server PCIe port
CN113923121A (en) PCIe bandwidth automatic allocation method, system and device based on OCP3.0 network card
CN118132458A (en) MMIO address resource allocation method, MMIO address resource allocation device, computing equipment and storage medium
CN116915412A (en) Read-write current limiting method, system, device, computer equipment and storage medium
CN116107945A (en) Device, method, system, equipment and medium for configuring bandwidth
CN114185720B (en) Method, device, equipment and storage medium for dynamic hot backup of server
CN115525517A (en) Mixed-insertion hard disk lamp signal control system, method and device and readable storage medium
CN113900718A (en) Method, system and device for decoupling asset information of BMC (baseboard management controller) and BIOS (basic input/output system)
CN114297120A (en) A kind of bandwidth allocation method, device and system
US7136957B2 (en) Device bandwidth management using a bus configuration multiplexer
CN117472289B (en) Storage configuration adjustment method, device, system, equipment and medium of server
CN114579381B (en) Remote debugging method, system, terminal and storage medium for disk array
CN118467426A (en) Communication method of server component, server and programmable logic device
CN119514475A (en) Back panel indicator light control method, device, product and medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220111

WW01 Invention patent application withdrawn after publication