CN115001627B - InfiniBand network subnet management message processing method and system - Google Patents

InfiniBand network subnet management message processing method and system Download PDF

Info

Publication number
CN115001627B
CN115001627B CN202210599429.1A CN202210599429A CN115001627B CN 115001627 B CN115001627 B CN 115001627B CN 202210599429 A CN202210599429 A CN 202210599429A CN 115001627 B CN115001627 B CN 115001627B
Authority
CN
China
Prior art keywords
subnet management
management data
data packet
module
subnet
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
CN202210599429.1A
Other languages
Chinese (zh)
Other versions
CN115001627A (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.)
Shandong Computer Science Center National Super Computing Center in Jinan
Original Assignee
Shandong Computer Science Center National Super Computing Center in Jinan
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 Shandong Computer Science Center National Super Computing Center in Jinan filed Critical Shandong Computer Science Center National Super Computing Center in Jinan
Priority to CN202210599429.1A priority Critical patent/CN115001627B/en
Publication of CN115001627A publication Critical patent/CN115001627A/en
Application granted granted Critical
Publication of CN115001627B publication Critical patent/CN115001627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • 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

Abstract

The invention belongs to the field of network communication, and provides a method and a system for processing an InfiniBand network subnet management message, wherein the method comprises the steps of monitoring an IB physical layer in real time to obtain an original subnet management data packet; storing the original subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel in butt joint with the IB physical layer to obtain a complete subnet management data packet; performing CRC (cyclic redundancy check) on the complete subnet management data packet; if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface; if the CRC check is wrong, discarding the complete subnet management data packet; the invention unifies the changeable data interfaces of the lower physical layer into the subnet management data interfaces of the SMP format of the subnet management data packet according to the IB network link layer, thereby simplifying the relevant development flow and development efficiency of the subnet management of the upper link layer.

Description

InfiniBand network subnet management message processing method and system
Technical Field
The invention belongs to the technical field of network communication, and particularly relates to a method and a system for processing an InfiniBand network subnet management message.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The high-speed serial transceiver enables a large number of data points to be transmitted in a point-to-point manner, and the serial communication technology fully utilizes the channel capacity of a transmission medium, and reduces the number of required transmission channels and device pins compared with a parallel data bus, so that the communication cost is greatly reduced. A transceiver with excellent performance should have advantages of low power consumption, small size, easy configuration, high efficiency, etc., so that it is easy to be used to implement related technologies in the network communication field.
InfiniBand (IB) is a computer network communication standard for high performance computing, with very high throughput and very low latency, for data interconnection from computer to computer. InfiniBand also serves as a direct or switched interconnect between servers and storage systems, as well as an interconnect between storage systems.
Subnetworks are an important component of IB network topology. The master subnet management plays an important role in the subnet. The main subnet management is responsible for searching the physical topology in the subnet, distributing Local Identifier (LID) to nodes, switches and routers in the subnet, maintaining possible paths of all nodes in the subnet and monitoring and scanning the topology change of the subnet in real time.
Subnet Management Agents (SMA) are attached to each node within the subnet to monitor the internal conditions of the node and communicate with the master subnet management. A Subnet Management Interface (SMI) provides routing functionality for communication packets within the subnet during an initialization process in which the subnet node has not completed distributing the LID.
IB networks can be divided into SDR, DDR, QDR, FDR, EDR and the like according to transmission rates, and each rate can be divided into a single channel, a double channel, a four channel, an eight channel and a twelve channel. The QDR and its following rates support 8B/10B coding and FDR and its above rates support 64/66B coding according to the physical layer coding rules.
Although the advantage of easy configuration of the high-speed serial transceiver is suitable for developing complex physical layer environment of the IB network, the upper-layer subnet management design is changed accordingly, and the upper-layer subnet management related operation is consistent regardless of the physical layer environment, but coupling is easy to occur when the IB physical layer and the upper-layer subnet management related operation are designed based on the high-speed serial transceiver, so that the subnet management related module design becomes complicated.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and a system for processing an InfiniBand subnet management message, which unifies variable data interfaces of a lower physical layer into subnet management data interfaces in an SMP format of a subnet management data packet according to an IB network link layer, thereby simplifying relevant development flows and development efficiency of an upper link layer subnet management.
According to some embodiments, the first scheme of the present invention provides a method for processing an InfiniBand network subnet management message, which adopts the following technical scheme:
an InfiniBand network subnet management message processing method comprises the following steps:
the method comprises the steps that an IB physical layer is monitored in real time to obtain an original subnet management data packet;
storing the original subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel in butt joint with the IB physical layer to obtain a complete subnet management data packet;
performing CRC (cyclic redundancy check) on the complete subnet management data packet;
if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
According to some embodiments, the second solution of the present invention provides an InfiniBand network subnet management packet processing system, which adopts the following technical solutions:
an InfiniBand network subnet management message processing system comprising:
the monitoring module is configured to monitor the IB physical layer in real time to acquire an original subnet management data packet;
the coding module is configured to store the subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel which is in butt joint with the IB physical layer, so as to obtain a complete subnet management data packet;
the checking module is configured to perform CRC check on the complete subnet management data packet;
if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
According to some embodiments, the third scheme of the present invention provides an InfiniBand network subnet management packet processing system, which adopts the following technical scheme:
an InfiniBand network subnet management message processing system comprising:
an IB physical layer module for transmitting an original subnet management data packet to an upper subnet management layer;
the SMPRecive module is used for monitoring the IB physical layer in real time to obtain an original subnet management data packet, storing the original subnet management data packet according to the format of an interface currently in butt joint with the IB physical layer to obtain a complete subnet management data packet, and sending the subnet management data packet with no error in verification to the upper layer subnet management module through a unified subnet management data interface;
the upper layer subnet management module is used for monitoring the unified subnet management data interface in real time, intercepting the upper layer subnet management data packet from the subnet management data packet with no error verification, and correcting the corresponding field in the upper layer subnet management data packet to obtain a corrected subnet management data packet;
and the SMPS end module is used for carrying out arbitration transmission on the corrected subnet management data packet.
Further, the smpreecaive module monitors the IB physical layer in real time to obtain an original subnet management data packet, stores the original subnet management data packet according to a format of an interface currently interfacing with the IB physical layer, and obtains a complete original subnet management data packet, including:
the method comprises the steps that an IB physical layer is monitored in real time to obtain an original subnet management data packet;
and storing the original subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel which is in butt joint with the IB physical layer to obtain the complete subnet management data packet.
Further, the sending the subnet management data packet with no error check to the upper subnet management module through the unified subnet management data interface specifically comprises:
performing CRC (cyclic redundancy check) on the complete subnet management data packet;
if the CRC check is correct, sending the correct subnet management data packet to the upper subnet management module;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
Further, the upper layer subnet management module comprises a first upper layer subnet management module and a second upper layer subnet management module;
the first upper layer subnet management module comprises an upper layer subnet management agent SMA module and a first Buffer module;
the second upper layer subnet management module comprises an upper layer subnet management interface SMI module and a second Buffer module.
Further, the upper layer subnet management agent SMA module is configured to monitor, in real time, an upper layer subnet management data packet sent to its SMA by using a unified subnet management data interface, and includes:
judging the execution operation type of the upper sub-network management data packet sent to the SMA of the user;
if the method is the Get method, according to the corresponding field requirements in the upper layer subnet management data packet sent to the SMA, the corresponding required data is placed in the corresponding field position of the subnet management data packet, then the corresponding content of the subnet management data packet related to the subnet route field is modified, a modified first upper layer subnet management data packet is obtained, and the modified first upper layer subnet management data packet is sent to the first Buffer module:
if the method is a Set method, corresponding configuration data is modified according to corresponding field requirements in an upper-layer subnet management data packet sent to the SMA, the modified configuration data is placed in corresponding field positions of the subnet management data packet, corresponding contents of a subnet route field related to the subnet management data packet are modified at the same time, a modified first upper-layer subnet management data packet is obtained, and the modified first upper-layer subnet management data packet is sent to a first Buffer module;
the first Buffer module is configured to repartition the corrected first upper layer subnet management data packet according to the format of the current IB physical layer interface, obtain a corrected first subnet management data packet, and send the corrected first subnet management data packet to the smpend module.
Further, the upper layer subnet management interface SMI module is configured to monitor a unified subnet management data interface in real time to intercept a subnet management data packet to be forwarded, and includes:
modifying corresponding contents of relevant subnet route fields of the subnet management data packet to be forwarded according to the SMI protocol specification of the IB network to obtain a modified second upper layer subnet management data packet, and sending the modified second upper layer subnet management data packet to a second Buffer module;
the second Buffer module is configured to repartition the corrected second upper layer subnet management data packet according to the format of the current IB physical layer interface, obtain a corrected second subnet management data packet, and send the corrected second subnet management data packet to the smpend module.
Further, the smpend module performs arbitration transmission on the corrected subnet management data packet, including:
acquiring a corrected first subnet management data packet sent by a first Buffer module and a corrected second subnet management data packet sent by a second Buffer module;
and carrying out arbitration transmission on the corrected first subnet management data packet and the corrected second subnet management data packet.
Further, the arbitration transmission is performed on the corrected first subnet management data packet and the corrected second subnet management data packet, specifically:
and when the corrected first subnet management data packet and the corrected second subnet management data packet arrive at the same time, preferentially transmitting the corrected second subnet management data packet.
Compared with the prior art, the invention has the beneficial effects that:
the invention unifies the changeable data interfaces of the lower physical layer into the subnet management data interfaces for managing the data packet SMP format according to the subnet management of the IB network link layer, thereby simplifying the relevant development flow and development efficiency of the subnet management of the upper link layer and effectively decoupling the physical layer and the link layer when the FPGA develops the infiniband network physical layer and the link layer. The design of the relevant module of the link layer subnet management is not limited by the physical layer data interface.
The invention can accelerate the development speed of the message attribute expansion of the SMA module after the relevant module of the link layer subnet management unifies the data interface. The FPGA flexible programming characteristic is combined, and the relevant message attributes such as a virtual switch, a virtual router, a virtual network card and the like can be added, deleted and modified more conveniently and rapidly.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a block diagram of an InfiniBand network subnet management message processing system according to a third embodiment of the present invention;
fig. 2 is a schematic diagram of a method for processing an InfiniBand network subnet management message according to an embodiment of the invention;
fig. 3 is a message processing flow chart of a subnet management agent SMA according to the third embodiment of the invention;
fig. 4 is a flow chart of Buffer module message processing according to the third embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
As shown in fig. 2, this embodiment provides a method for processing an InfiniBand network subnet management packet, and this embodiment is illustrated by applying the method to a server, and it can be understood that the method may also be applied to a terminal, and may also be applied to a system and a terminal, and implemented through interaction between the terminal and the server. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communication, middleware services, domain name services, security services CDNs, basic cloud computing services such as big data and artificial intelligent platforms and the like. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited herein. In this embodiment, the method includes the steps of:
the method comprises the steps that an IB physical layer is monitored in real time to obtain an original subnet management data packet;
storing the original subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel in butt joint with the IB physical layer to obtain a complete subnet management data packet;
performing CRC (cyclic redundancy check) on the complete subnet management data packet;
if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
Example two
The embodiment provides an InfiniBand network subnet management message processing system, which comprises:
the monitoring module is configured to monitor the IB physical layer in real time to acquire an original subnet management data packet;
the coding module is configured to store the subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel which is in butt joint with the IB physical layer, so as to obtain a complete subnet management data packet;
the checking module is configured to perform CRC check on the complete subnet management data packet;
if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
The above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the first embodiment. It should be noted that the modules described above may be implemented as part of a system in a computer system, such as a set of computer-executable instructions.
The foregoing embodiments are directed to various embodiments, and details of one embodiment may be found in the related description of another embodiment.
The proposed system may be implemented in other ways. For example, the system embodiments described above are merely illustrative, such as the division of the modules described above, are merely a logical function division, and may be implemented in other manners, such as multiple modules may be combined or integrated into another system, or some features may be omitted, or not performed.
Example III
As shown in fig. 1, this embodiment provides an InfiniBand network subnet management packet processing system, which adopts the following technical scheme:
an InfiniBand network subnet management message processing system comprising:
an IB physical layer module for transmitting an original subnet management data packet to an upper subnet management layer;
the SMPRecive module is used for monitoring the IB physical layer in real time to obtain an original subnet management data packet, storing the original subnet management data packet according to the format of an interface currently in butt joint with the IB physical layer to obtain a complete subnet management data packet, and sending the subnet management data packet with no error in verification to the upper layer subnet management module through a unified subnet management data interface;
the upper layer subnet management module is used for monitoring the unified subnet management data interface in real time, intercepting the upper layer subnet management data packet from the subnet management data packet with no error verification, and correcting the corresponding field in the upper layer subnet management data packet to obtain a corrected subnet management data packet;
and the SMPS end module is used for carrying out arbitration transmission on the corrected subnet management data packet.
As shown in fig. 1, a complete relationship diagram of an embodiment of the present invention is shown, in which, due to various conditions of physical layer interfaces caused by rate differences of an IB network physical layer, different data interfaces, such as 8B/10B 4x16, 8B/10B 4x32, etc., need to be docked between an IB physical layer module and an smpleceive module due to different rates of the physical layer between the Buffer module and the smpend module. Because the length of the message related to the sub-network management of the IB network link layer is fixed, in order to ensure that the processing of the sub-network management message of the IB network is not influenced by the condition of the interface of the lower physical layer, a unified and unchanged sub-network management data interface is adopted in the processing of the message of the link layer. The unified unchanged subnet management data interface is designed according to the format of the subnet management data packet of the IB network. Removing two byte identifiers of a header and a tail of an IB network data packet, wherein the width of a subnet management data interface is the total IB network subnet management data packet, and the total 2272 bit width and the byte order are large ends. That is, the smpreecaive module stores the original subnet management data packet acquired from different physical layers into a complete subnet management data packet having the same width as the unified subnet management data interface.
The IB physical layer module is realized according to IB network physical layer protocol. The different speed, channel number and coding rules of the real-time operation of the physical layer can lead to different widths and channel numbers of the data interfaces of the physical layer.
The smpreecaive module is a key module for decoupling subnet management related operations from the underlying physical layer environment. The core design concept is to provide a unified unchanged subnet management data interface for an upper layer Subnet Management Agent (SMA) module and a Subnet Management Interface (SMI) module, and design a corresponding physical layer data interface according to a lower layer physical layer environment. The smpreeve module also includes a CRC check detection unit and a buffer unit to store data and transfer clock domains in time (InfiniBand clock domains transfer to subnet management processing clock domains).
As shown in fig. 2. The smpreecaive module first monitors the physical layer module to detect whether there is a subnet management packet. After detecting the subnet management data packet, the second step operation is performed. And receiving and storing the subnet management data packets according to the corresponding modes according to the number of interface channels, the data width and the coding modes of the current real-time interface with the physical layer module, and simultaneously carrying out data packet clock domain conversion. If the current physical layer interface is 4 channels, each channel is 16 bits wide, and the coding mode is 8B/10B, then 36 clock cycles are required to store the subnet management data in this case. If the current physical layer interface is 4 channels, each channel has a 32-bit width, and the storage of the subnet management data requires 18 clock cycles under the condition of unchanged coding mode. Different physical layer interface channel numbers, data widths and coding modes can need different periods and different storage formats when the subnet management data packet is stored, and if the subnet management data interface is not unified, design and development of the subnet management data packet processed by an upper link layer can be affected. The SMPRecive module stores the data into a unified subnet management data interface width according to the corresponding channel number, width and coding mode corresponding to different physical layer interface conditions.
Thirdly, carrying out CRC (cyclic redundancy check) on the unified data, and providing data to the upper SMA and SMI module if the CRC is correct; discarding if there is an error.
The SMA module, as shown in fig. 3, monitors the subnet management data interface provided by the smpreecaive module in real time, and intercepts and captures the subnet management data packet sent to the SMA module itself. After intercepting a subnet management data packet of an SMA type, first determining a type of operation to be performed by the data packet. If the method is the Get method, then the next step is to place the corresponding required data in the corresponding field position of the subnet management data packet according to the corresponding field requirement in the subnet management data packet, then to modify the corresponding content of the relevant subnet routing field of the subnet management data packet, and finally to provide the subnet management data to the upper layer Buffer module; and if the method is a Set method, modifying corresponding configuration data according to the corresponding field requirement in the subnet management data packet, then placing the modified configuration data in the corresponding field position of the subnet management data packet, modifying corresponding contents of the subnet management data packet related to the subnet routing field, and providing the subnet management data to an upper layer Buffer module.
The SMI module also monitors the subnet management data interface provided by the SMPRecive module in real time, and intercepts the subnet management data packet needing to be forwarded. The SMI module can provide the subnet management data to the upper layer Buffer module only by modifying the corresponding content of the subnet route field related to the subnet management data packet according to the IB network SMI protocol.
The Buffer module functions essentially in accordance with the smpreecaive module, but the data flow is reversed. As shown in fig. 4, first, the subnet management data of the lower SMI module or SMA module is received and CRC check is performed, and the obtained CRC check code is placed in the corresponding field. And secondly, according to the condition of the unused physical layer interface, the subnet management data is divided again according to the corresponding channel number, width and coding mode. And thirdly, requesting to send to the upper SMPS end module, and sending data after the upper SMPS end module responds.
The SMPS end module is responsible for carrying out arbitration transmission on the data streams from different Buffer modules, and when the SMI and the SMA data streams arrive at the same time, the SMI data stream is sent preferentially.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (10)

1. The method for processing the InfiniBand network subnet management message is characterized by comprising the following steps:
the method comprises the steps that an IB physical layer is monitored in real time to obtain an original subnet management data packet;
storing the original subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel in butt joint with the IB physical layer to obtain a complete subnet management data packet, wherein the method specifically comprises the following steps:
storing the original subnet management data packets acquired from different physical layers into complete subnet management data packets with the same width as the unified subnet management data interface by utilizing an SMPRecive module;
the SMPReciive module stores data into a unified subnet management data interface width according to the corresponding channel number, width and coding mode corresponding to different physical layer interface conditions;
performing CRC (cyclic redundancy check) on the complete subnet management data packet;
if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
2. An InfiniBand network subnet management message processing system, comprising:
the monitoring module is configured to monitor the IB physical layer in real time to acquire an original subnet management data packet;
the coding module is configured to store the subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel in butt joint with the IB physical layer to obtain a complete subnet management data packet, and specifically comprises the following steps:
storing the original subnet management data packets acquired from different physical layers into complete subnet management data packets with the same width as the unified subnet management data interface by utilizing an SMPRecive module;
the SMPReciive module stores data into a unified subnet management data interface width according to the corresponding channel number, width and coding mode corresponding to different physical layer interface conditions;
the checking module is configured to perform CRC check on the complete subnet management data packet;
if the CRC check is correct, sending a subnet management data packet with correct check to an upper layer subnet management agent and an upper layer subnet management interface through a unified subnet management data interface;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
3. An InfiniBand network subnet management message processing system, comprising:
an IB physical layer module for transmitting an original subnet management data packet to an upper subnet management layer;
the SMPRecive module is used for monitoring the IB physical layer in real time to obtain an original subnet management data packet, storing the original subnet management data packet according to the format of an interface currently in butt joint with the IB physical layer to obtain a complete subnet management data packet, and sending the subnet management data packet with no error in verification to the upper layer subnet management module through a unified subnet management data interface;
storing the original subnet management data packet according to the format of the interface currently docked with the IB physical layer to obtain a complete subnet management data packet, wherein the method comprises the following steps:
the SMPRecive module stores the original subnet management data packets acquired from different physical layers into complete subnet management data packets with the same width as the unified subnet management data interface;
the SMPReciive module stores data into a unified subnet management data interface width according to the corresponding channel number, width and coding mode corresponding to different physical layer interface conditions;
the upper layer subnet management module is used for monitoring the unified subnet management data interface in real time, intercepting the upper layer subnet management data packet from the subnet management data packet with no error verification, and correcting the corresponding field in the upper layer subnet management data packet to obtain a corrected subnet management data packet;
and the SMPS end module is used for carrying out arbitration transmission on the corrected subnet management data packet, and when the SMI and the SMA data stream arrive at the same time, the SMI data stream is sent preferentially.
4. The system of claim 3, wherein the smpreeceive module monitors the IB physical layer in real time to obtain an original subnet management packet, stores the original subnet management packet according to a format of an interface currently interfacing with the IB physical layer, and obtains a complete original subnet management packet, comprising:
the method comprises the steps that an IB physical layer is monitored in real time to obtain an original subnet management data packet;
and storing the original subnet management data packet according to the number of interface channels, the data width and the coding mode of the current interface channel which is in butt joint with the IB physical layer to obtain the complete subnet management data packet.
5. The InfiniBand network subnet management message processing system of claim 4, wherein the sending the subnet management data packet with no error to the upper layer subnet management module through the unified subnet management data interface specifically comprises:
performing CRC (cyclic redundancy check) on the complete subnet management data packet;
if the CRC check is correct, sending the correct subnet management data packet to the upper subnet management module;
if the CRC check is incorrect, the complete subnet management data packet is discarded.
6. The InfiniBand network subnet management message processing system of claim 3, wherein the upper layer subnet management module comprises a first upper layer subnet management module and a second upper layer subnet management module;
the first upper layer subnet management module comprises an upper layer subnet management agent SMA module and a first Buffer module;
the second upper layer subnet management module comprises an upper layer subnet management interface SMI module and a second Buffer module.
7. The InfiniBand network subnet management message processing system of claim 6, wherein the upper layer subnet management agent SMA module is configured to monitor the unified subnet management data interface in real time to intercept an upper layer subnet management data packet sent to the SMA itself, and comprises:
judging the execution operation type of the upper sub-network management data packet sent to the SMA of the user;
if the method is the Get method, according to the corresponding field requirements in the upper layer subnet management data packet sent to the SMA, the corresponding required data is placed in the corresponding field position of the subnet management data packet, then the corresponding content of the subnet management data packet related to the subnet route field is modified, a modified first upper layer subnet management data packet is obtained, and the modified first upper layer subnet management data packet is sent to the first Buffer module:
if the method is a Set method, corresponding configuration data is modified according to corresponding field requirements in an upper-layer subnet management data packet sent to the SMA, the modified configuration data is placed in corresponding field positions of the subnet management data packet, corresponding contents of a subnet route field related to the subnet management data packet are modified at the same time, a modified first upper-layer subnet management data packet is obtained, and the modified first upper-layer subnet management data packet is sent to a first Buffer module;
the first Buffer module is configured to repartition the corrected first upper layer subnet management data packet according to the format of the current IB physical layer interface, obtain a corrected first subnet management data packet, and send the corrected first subnet management data packet to the smpend module.
8. The InfiniBand network subnet management message processing system of claim 6, wherein the upper layer subnet management interface SMI module is configured to monitor a unified subnet management data interface in real time to intercept a subnet management data packet to be forwarded, and comprises:
modifying corresponding contents of relevant subnet route fields of the subnet management data packet to be forwarded according to the SMI protocol specification of the IB network to obtain a modified second upper layer subnet management data packet, and sending the modified second upper layer subnet management data packet to a second Buffer module;
the second Buffer module is configured to repartition the corrected second upper layer subnet management data packet according to the format of the current IB physical layer interface, obtain a corrected second subnet management data packet, and send the corrected second subnet management data packet to the smpend module.
9. The InfiniBand network subnet management message processing system of claim 6, wherein the smpend module arbitrates transmission of the modified subnet management packet comprising:
acquiring a corrected first subnet management data packet sent by a first Buffer module and a corrected second subnet management data packet sent by a second Buffer module;
and carrying out arbitration transmission on the corrected first subnet management data packet and the corrected second subnet management data packet.
10. The InfiniBand network subnet management packet processing system of claim 9, wherein the arbitrated transmission of the modified first subnet management packet and the modified second subnet management packet is specifically:
and when the corrected first subnet management data packet and the corrected second subnet management data packet arrive at the same time, preferentially transmitting the corrected second subnet management data packet.
CN202210599429.1A 2022-05-30 2022-05-30 InfiniBand network subnet management message processing method and system Active CN115001627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210599429.1A CN115001627B (en) 2022-05-30 2022-05-30 InfiniBand network subnet management message processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210599429.1A CN115001627B (en) 2022-05-30 2022-05-30 InfiniBand network subnet management message processing method and system

Publications (2)

Publication Number Publication Date
CN115001627A CN115001627A (en) 2022-09-02
CN115001627B true CN115001627B (en) 2023-06-09

Family

ID=83029052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210599429.1A Active CN115001627B (en) 2022-05-30 2022-05-30 InfiniBand network subnet management message processing method and system

Country Status (1)

Country Link
CN (1) CN115001627B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6898752B2 (en) * 2002-05-31 2005-05-24 Agilent Technologies, Inc. Apparatus and methods for combinational error detection in an InfiniBand switch
US20040030763A1 (en) * 2002-08-08 2004-02-12 Manter Venitha L. Method for implementing vendor-specific mangement in an inifiniband device
US8037224B2 (en) * 2002-10-08 2011-10-11 Netlogic Microsystems, Inc. Delegating network processor operations to star topology serial bus interfaces
US7573876B2 (en) * 2002-12-05 2009-08-11 Intel Corporation Interconnecting network processors with heterogeneous fabrics
US20050018669A1 (en) * 2003-07-25 2005-01-27 International Business Machines Corporation Infiniband subnet management queue pair emulation for multiple logical ports on a single physical port
KR20110113420A (en) * 2010-04-09 2011-10-17 삼성전자주식회사 Method of storing data in storage media, data storage device using the same, and system including the same

Also Published As

Publication number Publication date
CN115001627A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
US20030120852A1 (en) Multiple port allocation and configurations for different port operation modes on a host
EP2003823B1 (en) Autonegotiation over an interface for which no autonegotiation standard exists
KR100425062B1 (en) Internal communication protocol for data switching equipment
CN102185833B (en) Fiber channel (FC) input/output (I/O) parallel processing method based on field programmable gate array (FPGA)
JP2003508954A (en) Network switch, components and operation method
CN106534178B (en) System and method for realizing RapidIO network universal socket
CN106953853B (en) Network-on-chip gigabit Ethernet resource node and working method thereof
US7269661B2 (en) Method using receive and transmit protocol aware logic modules for confirming checksum values stored in network packet
JP2003508957A (en) Network processor processing complex and method
CN108632099B (en) Fault detection method and device for link aggregation
JP2003508951A (en) VLSI network processor and method
CN113852644B (en) Deterministic network equipment identification and authentication device and method
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
CN108768667B (en) Method for inter-chip network communication of multi-core processor
CN113839862B (en) Method, system, terminal and storage medium for synchronizing ARP information between MCLAG neighbors
WO2018004931A1 (en) Techniques for virtual ethernet switching of a multi-node fabric
CN115001627B (en) InfiniBand network subnet management message processing method and system
CN114095901A (en) Communication data processing method and device
CN116760911A (en) Heterogeneous protocol conversion system and method
WO2023011047A1 (en) Processing method and apparatus
Cisco Designing SDLC, SDLLC, and QLLC Internetworks
Cisco Designing SDLC, SDLLC, and QLLC Internetworks
Cisco Designing SDLC, SDLLC, and QLLC Internetworks
Cisco Designing SDLC, SDLLC, and QLLC Internetworks
Cisco Designing SDLC, SDLLC, and QLLC Internetworks

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