CN112527715B - Automatic configuration method for multi-IO expansion of server and related equipment - Google Patents
Automatic configuration method for multi-IO expansion of server and related equipment Download PDFInfo
- Publication number
- CN112527715B CN112527715B CN202011375001.6A CN202011375001A CN112527715B CN 112527715 B CN112527715 B CN 112527715B CN 202011375001 A CN202011375001 A CN 202011375001A CN 112527715 B CN112527715 B CN 112527715B
- Authority
- CN
- China
- Prior art keywords
- data
- server
- configuration
- slot position
- pcie protocol
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004590 computer program Methods 0.000 claims description 13
- 239000007787 solid Substances 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 2
- 238000011161 development Methods 0.000 abstract description 11
- 230000008569 process Effects 0.000 abstract description 3
- 238000005457 optimization Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000003252 repetitive effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0026—PCI express
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an automatic configuration method of multi-IO expansion of a server and related equipment, belongs to the technical field of server optimization, reduces the development period of the server, realizes the process of self-configuring hardware of different versions aiming at different IO servers, and relieves the limitation of the server on multi-IO expansion in the prior art. The method comprises the following steps: acquiring bandwidth distribution demand data of IO to be configured; acquiring slot position distribution data of a switching chip supporting PCIe protocol in a server; obtaining the configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of a switching chip supporting a PCIe protocol in the server; loading configuration firmware based on the configuration data of the IO to be configured; the configuration firmware is verified.
Description
Technical Field
The invention relates to the technical field of server optimization, in particular to a server multi-IO expansion automatic configuration method and related equipment.
Background
Due to the requirement of high IO scalability for the server system, the switch chip supporting PCIe protocol is widely used in this design of the server system. In the prior art, a fixed PCIE expansion slot is generally designed according to the requirement of a product for multi-IO expansion, and is used to support a fixed number of PCIE devices. Therefore, the exchange chip supporting the PCIe protocol is limited by firmware version, hardware design, mechanism design and the like of the exchange chip supporting the PCIe protocol, the exchange chip supporting the PCIe protocol has unified design on external interface distribution, great limitation exists on multi-IO expansibility, the problem of automatically reducing bandwidth use is brought, the bandwidth of the exchange chip supporting the PCIe protocol cannot be effectively utilized, and waste is caused to resources of the exchange chip supporting the PCIe protocol. Meanwhile, hardware, firmware, machine components and the like of different versions are required to be developed according to different IO expansion configuration requirements, the development period of the server is greatly prolonged, more repetitive work exists for development manpower, the application requirements of the market can not be met quickly, and a large amount of repetitive work is added to the technical research and development of the rear end.
Disclosure of Invention
The invention aims to provide a multi-IO expansion automatic configuration method for a server, which solves the technical problems that in the prior art, hardware, firmware, machine members and the like of different versions need to be developed according to different IO expansion configuration requirements, the development period of the server is greatly prolonged, more repetitive work exists for development manpower, the application requirements of the market can not be quickly met, and a large amount of repetitive work is added to the technical research and development of a rear end.
In a first aspect, the present invention provides an automatic configuration method for multiple IO extensions of a server, including:
acquiring bandwidth distribution demand data of IO to be configured;
acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in a server;
obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the exchange chip supporting a PCIe protocol in the server;
loading configuration firmware based on the configuration data of the IO to be configured;
and verifying the configuration firmware.
Optionally, the step of obtaining bandwidth distribution requirement data of the IO to be configured includes:
detecting connection data of the high-speed signal connector through a complex programmable logic device;
and determining the bandwidth distribution demand data of the IO to be configured according to the connection data of the high-speed signal connector.
Optionally, the step of detecting connection data of the high-speed signal connector through the complex programmable logic device specifically includes:
acquiring basic data of a card slot supporting a PCIe protocol;
and acquiring the connection data of the high-speed signal connector according to the basic data of the card slot supporting the PCIe protocol.
Optionally, the step of obtaining the configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the switch chip supporting a PCIe protocol in the server includes:
setting all slot positions of an exchange chip supporting PCIe protocol in the server to obtain the identity information of all slot positions;
obtaining the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of an exchange chip supporting a PCIe protocol in the server;
obtaining the identity information of the slot position of the IO to be configured based on the slot position of the IO to be configured and the identity information of all the slot positions of the exchange chip supporting the PCIe protocol in the server;
and obtaining the configuration data of the IO to be configured according to the identity information of the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured.
Optionally, before the step of loading configuration firmware based on the configuration data of the IO to be configured, the method further includes:
the chip storing the solid is divided.
Optionally, the step of dividing the chip for storing solid state includes:
dividing the chip for storing the solid into different storage spaces;
setting different offset addresses for each storage space;
and dividing the chip for storing the solid state into the different storage spaces corresponding to the different offset addresses.
Optionally, the step of loading configuration firmware based on the configuration data of the IO to be configured includes:
acquiring the identity information of the slot position of the IO to be configured;
sending the identity information of the slot position of the IO to be configured to a configuration PIN foot of an exchange chip supporting a PCIe protocol in the server, so that the exchange chip supporting the PCIe protocol in the server sets offset data;
loading the configuration firmware according to the offset data and the different memory space corresponding to the different offset address.
In a second aspect, the present invention provides an automatic configuration device for multiple IO extensions of a server, including:
the data acquisition module is used for acquiring bandwidth distribution demand data of IO to be configured;
the data receiving module is used for acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in the server;
a configuration module, configured to obtain configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the switch chip supporting a PCIe protocol in the server;
a loading module, configured to load configuration firmware based on the configuration data of the IO to be configured;
and the verification module is used for verifying the configuration firmware.
In a third aspect, the present invention provides an electronic device comprising: the system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and is characterized in that the processor is used for realizing the steps of the automatic configuration method of the server multi-IO expansion when the computer program stored in the memory is executed.
In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when being executed by a processor, the computer program realizes the steps of the automatic configuration method for the multi-IO expansion of the server.
The invention provides an automatic configuration method for multi-IO expansion of a server, which comprises the steps of acquiring bandwidth distribution demand data of IO to be configured; acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in a server; obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the exchange chip supporting a PCIe protocol in the server; loading configuration firmware based on the configuration data of the IO to be configured; and verifying the configuration firmware. The initialization of the PCIE equipment is realized, the automatic configuration of multi-IO expansion of the server is further realized, the bandwidth of the exchange chip supporting the PCIe protocol can be effectively utilized, the resources of the exchange chip supporting the PCIe protocol are fully utilized, the development period of the server is shortened, the development manpower is released, the diversity of the developed products is increased, and the practical and complex application scene can be more met.
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 embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an automatic configuration method for server multi-IO expansion according to an embodiment of the present invention;
fig. 2 is a circuit diagram of an automatic bandwidth configuration identification circuit of a card slot supporting a PCIe protocol according to an embodiment of the present invention;
FIG. 3 is a block diagram of a format framework of a memory chip of a switch chip supporting PCIe protocol according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an embodiment of an automatic configuration device for server multi-IO expansion according to an embodiment of the present invention;
fig. 5 is a schematic view of an embodiment of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present 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 terms "comprising" and "having," and any variations thereof, as used in connection with the present embodiments, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides an automatic configuration method for multi-IO expansion of a server, which comprises the following steps with reference to FIG. 1:
101. acquiring bandwidth distribution demand data of IO to be configured;
102. acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in a server;
103. obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the exchange chip supporting a PCIe protocol in the server;
104. loading configuration firmware based on the configuration data of the IO to be configured;
105. and verifying the configuration firmware.
Illustratively, the complex programmable logic device CPLD needs to read the CEC check code of the chip loading firmware to confirm that the loading configuration is correct, thereby avoiding the problem that the PCIE device cannot be identified or the PCIE bandwidth is reduced for use due to a configuration error.
The invention provides an automatic configuration method for multi-IO expansion of a server, which comprises the steps of acquiring bandwidth distribution demand data of IO to be configured; acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in a server; obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of an exchange chip supporting a PCIe protocol in the server; loading configuration firmware based on the configuration data of the IO to be configured; and verifying the configuration firmware. The initialization of the PCIE equipment is realized, the automatic configuration of the multi-IO expansion of the server is further realized, the bandwidth of the exchange chip supporting the PCIe protocol can be effectively utilized, the resources of the exchange chip supporting the PCIe protocol are fully utilized, the development period of the server is shortened, the development manpower is released, the diversity of the developed product is increased, and the realistic and complex application scene can be better met.
In a possible embodiment, the step of obtaining bandwidth distribution requirement data of the IO to be configured includes:
detecting connection data of the high-speed signal connector through a complex programmable logic device;
determining the bandwidth distribution demand data of the IO to be configured according to the connection data of the high-speed signal connector; the method specifically comprises the following steps:
acquiring basic data of a card slot supporting a PCIe protocol;
and acquiring the connection data of the high-speed signal connector according to the basic data of the card slot supporting the PCIe protocol.
Illustratively, as shown in fig. 2, a PCIe signal of a PCIe Switch supporting a PCIe protocol is connected to a corresponding card Slot supporting the PCIe protocol through a high-speed signal connector Slot, if the PCIe Slot is connected to a card of X8, only 1 Slot of PCIe X8 is needed to be connected between the PCIe Switch and the Slot, and if the PCIe Slot is connected to a card of X16, 2 slots of PCIe X8 are needed to be connected between the Switch and the Slot. So there is a correspondence between the Present bit status of PCIe slot and the number of slimlines. And confirming the bandwidth required by the Slot position through the Present presence condition and the slim connection condition (for example, a single slim corresponds to a PCIE bandwidth of X8, when 2 slim cards are used, an X16 Present is Present on the PCIE card, and the bandwidth allocated to the PCIE Slot by the corresponding PCIE switch needs to be set to X16).
In a possible implementation manner, the step of obtaining the configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the switch chip supporting a PCIe protocol in the server includes:
setting all slot positions of an exchange chip supporting PCIe protocol in the server to obtain the identity information of all slot positions;
obtaining the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of an exchange chip supporting a PCIe protocol in the server;
obtaining the identity information of the slot position of the IO to be configured based on the slot position of the IO to be configured and the identity information of all the slot positions of the exchange chip supporting the PCIe protocol in the server;
and obtaining the configuration data of the IO to be configured according to the identity information of the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured.
For example, as shown in fig. 3, the GPIO signals are transmitted back to the CPLD through the input/output GPIO signals, and after the CPLD detects GPIO states of all slots, different identity information IDs are set, as shown in table 1, the number of GPIO interfaces of the PCIE Switch can be effectively reduced through the ID setting. After obtaining the different IDs, PCIe confirms that the offset for reading the firmware needs to be set. Therefore, automatic identification of PCIe Slot bandwidth is realized.
TABLE 1
In a possible embodiment, before the step of loading configuration firmware based on the configuration data of the IO to be configured, the method further includes:
the chip storing the solid is divided.
In a possible embodiment, the step of dividing the chip storing the solid includes:
dividing the chip for storing the solid into different storage spaces;
setting different offset addresses for each storage space;
and dividing the chip for storing the solid into the different storage spaces corresponding to the different offset addresses.
Illustratively, as shown in fig. 3, a PCIe Switch Flash of a storage chip of a Switch chip supporting a PCIe protocol includes a base register (e.g., an offset register for indicating to load firmware and a register required for internal CPU work) and file storage IMAGE areas, where in the format of the PCIe Switch Flash of the present invention, an offset address and a corresponding storage space are sequentially divided in the storage area of the storage chip Flash, and different IMAGEs are stored, where the IMAGE area mainly includes a configuration register, a PCIe register, a check register, and the like, which are firmware necessary for the Switch chip supporting the PCIe protocol to work.
In a possible implementation manner, the step of loading configuration firmware based on the configuration data of the IO to be configured includes:
acquiring the identity information of the slot position of the IO to be configured;
sending the identity information of the slot position of the IO to be configured to a configuration PIN foot of a switching chip supporting a PCIe protocol in the server so that the switching chip supporting the PCIe protocol in the server sets offset data;
loading the configuration firmware according to the offset data and the different memory space corresponding to the different offset address.
Acquiring bandwidth distribution demand data of IO to be configured; acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in a server; obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of the exchange chip supporting a PCIe protocol in the server; loading configuration firmware based on the configuration data of the IO to be configured; and verifying the configuration firmware. The initialization of the PCIE equipment is realized, the automatic configuration of the multi-IO expansion of the server is further realized, the bandwidth of the exchange chip supporting the PCIe protocol can be effectively utilized, the resources of the exchange chip supporting the PCIe protocol are fully utilized, the development period of the server is shortened, the development manpower is released, the diversity of the developed product is increased, and the realistic and complex application scene can be better met.
In a second aspect, please refer to fig. 4, the present invention provides an automatic configuration apparatus for server multi-IO expansion, including:
the data acquisition module 201 is configured to acquire bandwidth distribution demand data of IO to be configured;
the data receiving module 202 is configured to obtain slot allocation data of a switch chip supporting a PCIe protocol in a server;
a configuration module 203, configured to obtain configuration data of the IO to be configured according to the bandwidth distribution requirement data of the IO to be configured and the slot allocation data of the switch chip supporting a PCIe protocol in the server;
a loading module 204, configured to load configuration firmware based on the configuration data of the IO to be configured;
a checking module 205, configured to check the configuration firmware.
As shown in fig. 5, an electronic device according to an embodiment of the present application includes a memory 310, a processor 320, and a computer program 311 stored in the memory 320 and executable on the processor 320, where the processor 320 executes the computer program 311 to implement the following steps: acquiring bandwidth distribution demand data of IO to be configured; acquiring slot position distribution data of a switching chip supporting PCIe protocol in a server; obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot allocation data of an exchange chip supporting a PCIe protocol in the server; loading configuration firmware based on the configuration data of the IO to be configured; and verifying the configuration firmware.
Since the electronic device described in this embodiment is a device used for implementing an automatic configuration method for server multi-IO expansion in this embodiment, based on the method described in this embodiment, a person skilled in the art can understand a specific implementation manner of the electronic device of this embodiment and various variations thereof, so that how to implement the method in this embodiment by the electronic device is not described in detail herein, and as long as the person skilled in the art implements the device used for implementing the method in this embodiment, the device is within the scope of protection intended by this application.
As shown in fig. 6, the present embodiment provides a computer-readable storage medium 400, on which a computer program 411 is stored, the computer program 411 implementing the following steps when executed by a processor: acquiring bandwidth distribution demand data of IO to be configured; acquiring slot position distribution data of a switching chip supporting PCIe protocol in a server; obtaining configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of a switching chip supporting a PCIe protocol in the server; loading configuration firmware based on the configuration data of the IO to be configured; the configuration firmware is verified.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
For another example, the division of the above-mentioned units is only a logical function division, and there may be another division in actual implementation, and for another example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided by the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above functions, if implemented in the form of software functional units and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures, and moreover, the terms "first," "second," "third," etc. are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the following descriptions are only illustrative and not restrictive, and that: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the scope of the disclosure; and the modifications, changes or substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention. Are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. An automatic configuration method for multi-IO expansion of a server is characterized by comprising the following steps:
acquiring bandwidth distribution demand data of IO to be configured;
acquiring slot position distribution data of an exchange chip supporting a PCIe protocol in a server;
obtaining the configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of the exchange chip supporting the PCIe protocol in the server, and setting all slot positions of the exchange chip supporting the PCIe protocol in the server to obtain the identity information of all slot positions;
obtaining the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of a switching chip supporting a PCIe protocol in the server;
obtaining the identity information of the slot position of the IO to be configured based on the slot position of the IO to be configured and the identity information of all the slot positions of the exchange chip supporting the PCIe protocol in the server;
obtaining configuration data of the IO to be configured according to the identity information of the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured;
loading configuration firmware based on the configuration data of the IO to be configured;
the configuration firmware is verified.
2. The automatic configuration method for server multi-IO expansion according to claim 1, wherein the step of obtaining bandwidth distribution requirement data of IO to be configured includes:
detecting connection data of the high-speed signal connector through a complex programmable logic device;
and determining the bandwidth distribution demand data of the IO to be configured according to the connection data of the high-speed signal connector.
3. The automatic configuration method for the multiple IO expansion of the server according to claim 2, wherein the step of detecting the connection data of the high-speed signal connector through the complex programmable logic device specifically includes:
acquiring basic data of a card slot supporting a PCIe protocol;
and acquiring the connection data of the high-speed signal connector according to the basic data of the card slot supporting the PCIe protocol.
4. The method according to claim 1, further comprising, before the step of loading configuration firmware based on the configuration data of the IO to be configured, a step of automatically configuring a multi-IO extension for a server according to the following steps:
the chip storing the solid is divided.
5. The method according to claim 4, wherein the step of dividing the solid storage chip comprises:
dividing the solid storage chip into different storage spaces;
setting different offset addresses for each storage space;
and dividing the chip of the memory solid into the different memory spaces corresponding to the different offset addresses.
6. The method according to claim 5, wherein the step of loading configuration firmware based on the configuration data of the IO to be configured comprises:
acquiring the identity information of the slot position of the IO to be configured;
sending the identity information of the slot position of the IO to be configured to a configuration PIN foot of a switching chip supporting a PCIe protocol in the server so that the switching chip supporting the PCIe protocol in the server sets offset data;
and loading the configuration firmware according to the offset data and the different storage spaces corresponding to the different offset addresses.
7. The utility model provides an automatic configuration device of many IO extensions of server which characterized in that includes:
the data acquisition module is used for acquiring bandwidth distribution demand data of IO to be configured;
the data receiving module is used for acquiring slot position distribution data of a switching chip supporting a PCIe protocol in the server;
the configuration module is used for obtaining the configuration data of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of the exchange chip supporting the PCIe protocol in the server, setting all slot positions of the exchange chip supporting the PCIe protocol in the server, and obtaining the identity information of all slot positions;
obtaining the bandwidth data of the slot position of the IO to be configured and the slot position of the IO to be configured according to the bandwidth distribution demand data of the IO to be configured and the slot position distribution data of an exchange chip supporting a PCIe protocol in the server;
obtaining the identity information of the slot position of the IO to be configured based on the slot position of the IO to be configured and the identity information of all the slot positions of the exchange chip supporting the PCIe protocol in the server;
obtaining configuration data of the IO to be configured according to the identity information of the slot position of the IO to be configured and the bandwidth data of the slot position of the IO to be configured;
a loading module, configured to load configuration firmware based on the configuration data of the IO to be configured;
and the verification module is used for verifying the configuration firmware.
8. An electronic device, comprising: memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor is configured to implement the steps of the method for automatically configuring a server multiple IO extension according to any one of claims 1 to 6 when executing the computer program stored in the memory.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program implementing the steps of the method for automatic configuration of server multi-IO expansion as claimed in any one of claims 1-6 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011375001.6A CN112527715B (en) | 2020-11-30 | 2020-11-30 | Automatic configuration method for multi-IO expansion of server and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011375001.6A CN112527715B (en) | 2020-11-30 | 2020-11-30 | Automatic configuration method for multi-IO expansion of server and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112527715A CN112527715A (en) | 2021-03-19 |
CN112527715B true CN112527715B (en) | 2022-11-15 |
Family
ID=74995266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011375001.6A Active CN112527715B (en) | 2020-11-30 | 2020-11-30 | Automatic configuration method for multi-IO expansion of server and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112527715B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113064654A (en) * | 2021-04-21 | 2021-07-02 | 山东英信计算机技术有限公司 | BIOS-based Retimer card bandwidth configuration method, device and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202194A (en) * | 2014-09-10 | 2014-12-10 | 华为技术有限公司 | Configuration method and device of PCIe (peripheral component interface express) topology |
CN111258667A (en) * | 2020-02-05 | 2020-06-09 | 苏州浪潮智能科技有限公司 | Self-adaptive configuration method, device, equipment and storage medium of server |
-
2020
- 2020-11-30 CN CN202011375001.6A patent/CN112527715B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202194A (en) * | 2014-09-10 | 2014-12-10 | 华为技术有限公司 | Configuration method and device of PCIe (peripheral component interface express) topology |
CN111258667A (en) * | 2020-02-05 | 2020-06-09 | 苏州浪潮智能科技有限公司 | Self-adaptive configuration method, device, equipment and storage medium of server |
Also Published As
Publication number | Publication date |
---|---|
CN112527715A (en) | 2021-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107423169B (en) | Method and system for testing high speed peripheral device interconnection equipment | |
US6761313B2 (en) | XD memory card adapter | |
CN111159085A (en) | Automatic configuration method of PCIE (peripheral component interface express) bandwidth, server mainboard and server | |
CN110543404A (en) | Server, hard disk lighting method and system and computer readable storage medium | |
CN111240238B (en) | Chip control system | |
CN111143256A (en) | Method and device for reading field replaceable unit information | |
CN112527715B (en) | Automatic configuration method for multi-IO expansion of server and related equipment | |
CN101661453B (en) | Method for identifying blade sequence number in blade server | |
CN109766057B (en) | Firmware data processing method and system | |
CN114003528A (en) | OCP switching card, switching system and switching method | |
CN102063341A (en) | High-density server | |
CN111447121B (en) | Test method, device, equipment and storage medium of PCIE controller | |
CN117135055A (en) | Bandwidth resource control method and device, storage medium and electronic device | |
CN112559402B (en) | PCI slave interface control circuit based on FPGA and FPGA | |
CN108710508B (en) | Processing method and device and electronic equipment | |
JP4291368B2 (en) | Memory bus check procedure | |
CN110781106A (en) | Universal flash memory host end chip device and equipment | |
CN112069108A (en) | Flexible server configuration system and method based on PCIE Switch | |
US7447899B2 (en) | Method for conserving system resources | |
CN111459867B (en) | Method, device, converter and storage medium for converting USB (Universal Serial bus) into SMI (SMI) | |
CN103646001B (en) | DMA data transfer control method and system | |
CN115460161B (en) | Optical module code changing method, device, equipment and storage medium | |
CN112486578B (en) | Method, system, terminal and storage medium for dynamically loading BMC (baseboard management controller) with sensor | |
CN108509301A (en) | The update method and more new system of system slot information in a kind of SMBIOS | |
CN115563040A (en) | Firmware information acquisition method and server |
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 |