CN115001627A - 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
CN115001627A
CN115001627A CN202210599429.1A CN202210599429A CN115001627A CN 115001627 A CN115001627 A CN 115001627A CN 202210599429 A CN202210599429 A CN 202210599429A CN 115001627 A CN115001627 A CN 115001627A
Authority
CN
China
Prior art keywords
subnet management
data packet
management data
subnet
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210599429.1A
Other languages
Chinese (zh)
Other versions
CN115001627B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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, which 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 which are currently butted with the IB physical layer, and obtaining a complete subnet management data packet; performing CRC on the complete subnet management data packet; if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent to an upper-layer subnet management agent and an upper-layer subnet management interface through a unified subnet management data interface; if the CRC is wrong, discarding the complete subnet management data packet; the invention unifies the multiple data interfaces of the lower physical layer into a subnet management data interface in an SMP format according to the IB network link layer subnet management data packet, thereby simplifying the related development process and development efficiency of the upper link layer subnet management.

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 makes it possible to transmit a great amount of data point to point, and this serial communication technology makes full use of the channel capacity of the transmission medium and reduces the number of required transmission channels and device pins compared with parallel data bus, so as to lower communication cost greatly. A transceiver with excellent performance should have the advantages of low power consumption, small size, easy configuration, high efficiency, etc., so that it can be easily applied to the implementation of technologies related to the network communication field.
InfiniBand (IB) is a computer network communications standard for high performance computing with extremely high throughput and extremely low latency for computer-to-computer data interconnects. InfiniBand also serves as a direct or switched interconnect between servers and storage systems, as well as an interconnect between storage systems.
The subnetworks in the IB network topology are important components thereof. The master subnet management plays an important role in the subnet. The master subnet management is responsible for searching physical topology in the subnet, distributing Local Identifiers (LID) for nodes, switches and routers in the subnet, maintaining possible paths of each node in the subnet and monitoring and scanning topology change of the subnet in real time.
The Subnet Management Agent (SMA) is attached to each node in the subnet to monitor the internal condition of the node and is communicated with the master subnet manager. And a Subnet Management Interface (SMI) provides a routing function for the communication data packet in the subnet when the nodes in the subnet do not complete the initialization process of distributing LID.
IB networks can be classified into SDR, DDR, QDR, FDR, EDR, etc. according to transmission rates, each of which can be divided into single channel, dual channel, four channel, eight channel, and twelve channel. According to the physical layer coding rule, QDR and the rate below support 8B/10B coding, and FDR and the rate above support 64/66B coding.
Although the advantage of easy configuration of the high-speed serial transceiver is suitable for developing a complex physical layer environment of an IB network, the management design of the upper-layer sub-network can be changed, and the related operations of the upper-layer sub-network management are consistent no matter how the physical layer environment is, but when the IB physical layer and the upper-layer sub-network management are designed based on the high-speed serial transceiver, coupling is easy to occur, so that the design of related modules of sub-network management becomes complicated.
Disclosure of Invention
In order to solve the problems, the invention provides a method and a system for processing an InfiniBand network subnet management message.
According to some embodiments, a first aspect of the present invention provides a method for processing an InfiniBand network subnet management packet, which adopts the following technical solutions:
a method for processing InfiniBand network subnet management messages comprises the following steps:
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 which are currently butted with the IB physical layer, and obtaining a complete subnet management data packet;
performing CRC on the complete subnet management data packet;
if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent 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 packet is discarded.
According to some embodiments, a second aspect 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 encoding module is configured to store the subnet management data packet according to the number of interface channels which are currently in butt joint with the IB physical layer, the data width and the encoding mode to obtain a complete subnet management data packet;
the checking module is configured to perform CRC checking on the complete subnet management data packet;
if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent 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 false, the complete subnet management packet is discarded.
According to some embodiments, a third aspect of the present invention provides an InfiniBand network subnet management message processing system, which adopts the following technical solutions:
an InfiniBand network subnet management message processing system, comprising:
IB physical layer module, which is used to send original subnet management data packet to upper subnet management layer;
the SMPReceive 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 which is currently butted with the IB physical layer to obtain a complete subnet management data packet, and sending the subnet management data packet without error check to the upper layer subnet management module through a unified subnet management data interface;
the upper-layer sub-network management module is used for monitoring a unified sub-network management data interface in real time, intercepting an upper-layer sub-network management data packet from the check-error-free sub-network management data packet, and correcting a corresponding field in the upper-layer sub-network management data packet to obtain a corrected sub-network management data packet;
and the SMPSend module is used for carrying out arbitration transmission on the modified subnet management data packet.
Further, the smprieceive module monitors the IB physical layer in real time to obtain the original subnet management packet, and stores the original subnet management packet according to the format of the interface currently interfacing with the IB physical layer to obtain a complete original subnet management packet, including:
the 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 which are currently butted with the IB physical layer, so as to obtain a complete subnet management data packet.
Further, the sending of the subnet management data packet without error check to the upper layer subnet management module through the unified subnet management data interface specifically includes:
performing CRC on the complete subnet management data packet;
if the CRC checks the subnet, sending a subnet management data packet without error;
if the CRC check is incorrect, the complete subnet management packet is discarded.
Further, the upper layer sub-network management module comprises a first upper layer sub-network management module and a second upper layer sub-network management module;
the first upper-layer sub-network management module comprises an upper-layer sub-network management agent SMA module and a first Buffer module;
the second upper-layer sub-network management module comprises an upper-layer sub-network management interface SMI module and a second Buffer module.
Further, the upper-layer subnet management agent SMA module is used for monitoring a unified subnet management data interface in real time to intercept an upper-layer subnet management data packet sent to the SMA, and includes:
judging the execution operation type of an upper-layer sub-network management data packet sent to the SMA;
if the method is the Get method, according to the corresponding field requirement in the upper-layer sub-network management data packet sent to the self SMA, the corresponding required data is placed at the corresponding field position of the sub-network management data packet, then the corresponding content of the sub-network routing field related to the sub-network management data packet is modified, the modified first upper-layer sub-network management data packet is obtained, and the modified first upper-layer sub-network management data packet is sent to the first Buffer module:
if the method is the Set method, modifying corresponding configuration data according to corresponding field requirements in an upper-layer sub-network management data packet sent to the SMA, then placing the modified configuration data at the corresponding field position of the sub-network management data packet, modifying corresponding content of a sub-network routing field related to the sub-network management data packet to obtain a modified first upper-layer sub-network management data packet, and sending the modified first upper-layer sub-network management data packet to a first Buffer module;
and the first Buffer module is used for repartitioning the modified first upper-layer subnet management data packet according to the format of the current IB physical layer interface to obtain a modified first subnet management data packet, and sending the modified first subnet management data packet to the SMPSend 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 that needs to be forwarded, and includes:
according to the specification of IB network SMI protocol, modifying the corresponding content of related subnet routing field of the subnet management data packet to be forwarded 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;
and the second Buffer module is used for repartitioning the modified second upper-layer subnet management data packet according to the format of the current IB physical layer interface to obtain a modified second subnet management data packet, and sending the modified second subnet management data packet to the SMPSend module.
Further, the SMPSend module performs arbitration transmission on the modified subnet management packet, and includes:
acquiring a modified first subnet management data packet sent by a first Buffer module and a modified second subnet management data packet sent by a second Buffer module;
and carrying out arbitration transmission on the modified first subnet management data packet and the modified second subnet management data packet.
Further, performing arbitration transmission on the modified first subnet management data packet and the modified second subnet management data packet, specifically:
and when the modified first subnet management data packet and the modified second subnet management data packet arrive at the same time, preferentially transmitting the modified 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 a subnet management data interface in an SMP format according to the IB network link layer subnet management data packet, thereby simplifying the related development process and development efficiency of the upper link layer subnet management, 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 link layer sub-network management related module is not limited by a physical layer data interface any more.
The invention can accelerate the message attribute expansion development speed of the SMA module after the data interface is unified by the related module of the link layer subnet management. By combining the flexible programming characteristic of the FPGA, the related 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 incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention.
Fig. 1 is an overall module architecture diagram of an InfiniBand network subnet management message processing system according to a third embodiment of the present invention;
fig. 2 is a method for processing an InfiniBand network subnet management message according to a first embodiment of the present invention;
fig. 3 is a message processing flow chart of the subnet management agent SMA according to the third embodiment of the present 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 is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. 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 invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
The embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
Example one
As shown in fig. 2, this embodiment provides a method for processing an InfiniBand network subnet management message, and this embodiment is exemplified by applying the method to a server, it can be understood that the method may also be applied to a terminal, and may also be applied to a system including a terminal and a server, and is implemented by 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 basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, a network server, cloud communication, middleware service, domain name service, security service CDN (content delivery network), a big data and artificial intelligence platform and the like. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein. In this embodiment, the method includes the steps of:
the 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 which are currently butted with the IB physical layer, and obtaining a complete subnet management data packet;
performing CRC on the complete subnet management data packet;
if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent 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 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 encoding module is configured to store the subnet management data packet according to the number of interface channels which are currently in butt joint with the IB physical layer, the data width and the encoding mode to obtain a complete subnet management data packet;
the checking module is configured to perform CRC checking on the complete subnet management data packet;
if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent 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 packet is discarded.
The modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure of the first embodiment. It should be noted that the modules described above as part of a system may be implemented in a computer system such as a set of computer executable instructions.
In the foregoing embodiments, the descriptions of the embodiments have different emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The proposed system can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules may be combined or integrated into another system, or some features may be omitted, or not executed.
EXAMPLE III
As shown in fig. 1, this embodiment provides an InfiniBand network subnet management message processing system, which adopts the following technical solutions:
an InfiniBand network subnet management message processing system, comprising:
IB physical layer module in use for sending original subnet management data packet to upper layer subnet management layer;
the SMPReceive 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 which is currently butted with the IB physical layer to obtain a complete subnet management data packet, and sending the subnet management data packet without error check to the upper layer subnet management module through a unified subnet management data interface;
the upper-layer sub-network management module is used for monitoring a unified sub-network management data interface in real time, intercepting an upper-layer sub-network management data packet from the check-error-free sub-network management data packet, and correcting a corresponding field in the upper-layer sub-network management data packet to obtain a corrected sub-network management data packet;
and the SMPSend module is used for carrying out arbitration transmission on the modified subnet management data packet.
As shown in fig. 1, it is a complete relationship diagram of the solution described in the embodiment, where due to various physical layer interfaces of the IB network physical layer caused by rate differences, different data interfaces, such as 8B/10B 4x16, 8B/10B 4x32, etc., need to be interfaced between the IB physical layer module and the smprieceve module, and between the Buffer module and the SMPSend module due to different physical layer rates. Because the length of the message related to the IB network link layer subnet management is fixed, in order to prevent the IB network subnet management message processing from being influenced by the condition of the lower physical layer interface, a uniform and unchangeable subnet management data interface is adopted in the link layer message processing. The uniform and unchangeable subnet management data interface is designed according to the format of an IB network subnet management data packet. And removing two byte identifiers of a packet head and a packet tail of the IB network data packet, wherein the width of the subnet management data interface is the complete IB network subnet management data packet, the total 2272 bit width and the byte sequence are big ends. That is, the smprieceive module is a module that stores the original subnet management packets obtained from different physical layers into a complete subnet management packet with the same width as the unified subnet management data interface.
The IB physical layer module is realized according to an IB network physical layer protocol. The data interface width and the channel number of the physical layer are different due to different real-time running speeds, channel numbers and coding rules of the physical layer.
The smprieceve module is a key module for decoupling subnet management related operations from the underlying physical layer environment. The core design idea is to provide a unified and unchangeable subnet management data interface for an upper layer Subnet Management Agent (SMA) module and a Subnet Management Interface (SMI) module, and simultaneously design a corresponding physical layer data interface according to a lower layer physical layer environment. The SMPRIctive module also comprises a CRC check detection unit and a buffer unit so as to store data and convert a clock domain (InfiniBand clock domain is converted into a subnet management processing clock domain) in time.
As shown in fig. 2. The smprieceve module is first at the snooping physical layer module to detect whether there is a subnet management packet. After detecting the subnet management packet, the second step is performed. And receiving and storing the subnet management data packet in a corresponding mode according to the number of interface channels, the data width and the coding mode which are currently in real-time butted with the physical layer module, and simultaneously carrying out clock domain conversion on the data packet. If the current physical layer interface is 4 lanes, 16 bits per lane width, and the encoding scheme 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 32-bit width, and the encoding mode is not changed, 18 clock cycles are needed for storing subnet management data. Different numbers of channels, data widths and encoding modes of interfaces of different physical layers require different numbers of cycles and different storage formats when the subnet management data packets are stored, and design and development of processing the subnet management data packets by an upper link layer can be influenced if the subnet management data interfaces are not unified. The SMPReceive module stores the data into the uniform subnet management data interface width according to the corresponding channel number, width and coding mode corresponding to different physical layer interface conditions.
Performing CRC on the unified data, and if the CRC does not have errors, providing data to the upper SMA and SMI module; if the error is found, the error is discarded.
As shown in fig. 3, the SMA module monitors the subnet management data interface provided by the smprieceve module in real time, and intercepts a subnet management data packet sent to the SMA module. After intercepting the subnet management data packet of the SMA type, firstly, the operation type to be executed by the data packet is judged. If the method is the Get method, then next step, according to the corresponding field requirement in the subnet management data packet, the corresponding required data is placed at the corresponding field position of the subnet management data packet, then the corresponding content of the related subnet routing field of the subnet management data packet is modified, and finally the subnet management data is provided to the upper Buffer module; if the method is the Set method, modifying corresponding configuration data according to corresponding field requirements in the subnet management data packet, then placing the modified configuration data at the corresponding field position of the subnet management data packet, modifying corresponding content of related subnet routing fields of the subnet management data packet, and providing the subnet management data to an upper Buffer module.
The SMI module also monitors a subnet management data interface provided by the SMPReceive module in real time, and captures a 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 related subnet routing field of the subnet management data packet according to the specification of IB network SMI protocol.
The Buffer block function is substantially identical to the smprieceive block, but the data flow is reversed. As shown in fig. 4, 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 a corresponding field. And secondly, corresponding 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 SMPSend module to obtain the response of the upper SMPSend module and then sending data.
The SMPSend module is responsible for carrying out arbitration transmission on data streams from different Buffer modules, and when an SMI and an SMA data stream arrive at the same time, the SMI data stream is preferentially sent.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes 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 (RAM), or the like.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.

Claims (10)

1. A method for processing InfiniBand network subnet management messages is characterized by comprising the following steps:
the 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 which are currently butted with the IB physical layer, and obtaining a complete subnet management data packet;
performing CRC on the complete subnet management data packet;
if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent 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 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 encoding module is configured to store the subnet management data packet according to the number of interface channels which are currently in butt joint with the IB physical layer, the data width and the encoding mode to obtain a complete subnet management data packet;
the checking module is configured to perform CRC checking on the complete subnet management data packet;
if the CRC checks that the subnet is correct, a subnet management data packet which is checked to be correct is sent 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 packet is discarded.
3. An InfiniBand network subnet management message processing system, comprising:
IB physical layer module, which is used to send original subnet management data packet to upper subnet management layer;
the SMPReceive 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 which is currently butted with the IB physical layer to obtain a complete subnet management data packet, and sending the subnet management data packet without error check to the upper layer subnet management module through a unified subnet management data interface;
the upper-layer sub-network management module is used for monitoring a unified sub-network management data interface in real time, intercepting an upper-layer sub-network management data packet from the check-error-free sub-network management data packet, and correcting a corresponding field in the upper-layer sub-network management data packet to obtain a corrected sub-network management data packet;
and the SMPSend module is used for carrying out arbitration transmission on the modified subnet management data packet.
4. The InfiniBand network subnet management message processing system of claim 3, wherein the smprieve module monitors the IB physical layer in real time to obtain the original subnet management packet, and stores the original subnet management packet according to the format of the interface currently interfacing with the IB physical layer to obtain the complete original subnet management packet, comprising:
the 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 which are currently butted with the IB physical layer, so as to obtain a complete subnet management data packet.
5. The system for processing an InfiniBand network subnet management message according to claim 4, wherein the sending of the subnet management data packet without error check to the upper layer subnet management module through the unified subnet management data interface specifically comprises:
performing CRC on the complete subnet management data packet;
if the CRC checks the subnet, sending a subnet management data packet without error;
if the CRC check is false, the complete subnet management 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 sub-network management module comprises an upper-layer sub-network management agent SMA module and a first Buffer module;
the second upper-layer sub-network management module comprises an upper-layer sub-network management interface SMI module and a second Buffer module.
7. The system of claim 6, wherein the upper layer subnet management agent SMA module is configured to monitor a unified subnet management data interface in real time to intercept an upper layer subnet management data packet sent to the self SMA, and includes:
judging the execution operation type of an upper-layer sub-network management data packet sent to the SMA;
if the method is the Get method, according to the corresponding field requirement in the upper-layer sub-network management data packet sent to the self SMA, the corresponding required data is placed at the corresponding field position of the sub-network management data packet, then the corresponding content of the sub-network routing field related to the sub-network management data packet is modified, the modified first upper-layer sub-network management data packet is obtained, and the modified first upper-layer sub-network management data packet is sent to the first Buffer module:
if the method is the Set method, modifying corresponding configuration data according to corresponding field requirements in an upper-layer sub-network management data packet sent to the SMA, then placing the modified configuration data at the corresponding field position of the sub-network management data packet, modifying corresponding content of a sub-network routing field related to the sub-network management data packet to obtain a modified first upper-layer sub-network management data packet, and sending the modified first upper-layer sub-network management data packet to a first Buffer module;
and the first Buffer module is used for repartitioning the modified first upper-layer subnet management data packet according to the format of the current IB physical layer interface to obtain a modified first subnet management data packet, and sending the modified first subnet management data packet to the SMPSend module.
8. The InfiniBand network subnet management message processing system of claim 6, wherein the upper layer subnet management interface SMI module is used for monitoring a unified subnet management data interface in real time to intercept a subnet management data packet to be forwarded, and comprises:
according to the specification of IB network SMI protocol, modifying the corresponding content of related subnet routing field of the subnet management data packet to be forwarded 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;
and the second Buffer module is used for re-dividing the modified second upper-layer subnet management data packet according to the format of the current IB physical layer interface to obtain a modified second subnet management data packet, and sending the modified second subnet management data packet to the SMPSend module.
9. The InfiniBand network subnet management packet processing system of claim 6, wherein the SMPSend module arbitrates for transmission the modified subnet management packet, comprising:
acquiring a modified first subnet management data packet sent by a first Buffer module and a modified second subnet management data packet sent by a second Buffer module;
and carrying out arbitration transmission on the modified first subnet management data packet and the modified second subnet management data packet.
10. The InfiniBand network subnet management message 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 modified first subnet management data packet and the modified second subnet management data packet arrive at the same time, preferentially transmitting the modified 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 true CN115001627A (en) 2022-09-02
CN115001627B 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)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030226085A1 (en) * 2002-05-31 2003-12-04 Tucker S. Paul 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
US20040109473A1 (en) * 2002-12-05 2004-06-10 Gerald Lebizay 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
CN101878475A (en) * 2007-07-31 2010-11-03 Netlogic微系统公司 Delegating network processor operations to star topology serial bus interfaces
US20110252184A1 (en) * 2010-04-09 2011-10-13 Samsung Electronics Co., Ltd. Method of storing data in storage media, data storage device using the same, and system including the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030226085A1 (en) * 2002-05-31 2003-12-04 Tucker S. Paul 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
US20040109473A1 (en) * 2002-12-05 2004-06-10 Gerald Lebizay 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
CN101878475A (en) * 2007-07-31 2010-11-03 Netlogic微系统公司 Delegating network processor operations to star topology serial bus interfaces
US20110252184A1 (en) * 2010-04-09 2011-10-13 Samsung Electronics Co., Ltd. Method of storing data in storage media, data storage device using the same, and system including the same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘英文;唐玉华;易晓东;: "面向分布式内存访问的低延迟InfiniBand接口", 计算机研究与发展, no. 1 *
孙学;段求辉;陈颖;: "StarFabric技术综述", 中国电子科学研究院学报, no. 02 *

Also Published As

Publication number Publication date
CN115001627B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US6799220B1 (en) Tunneling management messages over a channel architecture network
US6988161B2 (en) Multiple port allocation and configurations for different port operation modes on a host
CN1633647B (en) System and method for managing data transfers in a network
EP1581875B1 (en) Using direct memory access for performing database operations between two or more machines
CN111352889B (en) Equipment management method, equipment, device and medium based on MCTP (Multi-port technology protocol)
US20030208572A1 (en) Mechanism for reporting topology changes to clients in a cluster
JP3817477B2 (en) VLSI network processor and method
CN113485823A (en) Data transmission method, device, network equipment and storage medium
CN106817249B (en) FC-AE-1553 simulation communication demonstration system and data transmission method
CN112291293B (en) Task processing method, related equipment and computer storage medium
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
CN113852644B (en) Deterministic network equipment identification and authentication device and method
US20030182440A1 (en) Network processor with high-speed transceiver
WO2021197253A1 (en) Service message transmission method and related device
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
US20220398207A1 (en) Multi-plane, multi-protocol memory switch fabric with configurable transport
CN113839862B (en) Method, system, terminal and storage medium for synchronizing ARP information between MCLAG neighbors
CN113452591B (en) Loop control method and device based on CAN bus continuous data frame
WO2018004931A1 (en) Techniques for virtual ethernet switching of a multi-node fabric
CN116760911A (en) Heterogeneous protocol conversion system and method
CN114095901A (en) Communication data processing method and device
CN112003685A (en) Flexible Ethernet message forwarding method and device
CN115001627B (en) InfiniBand network subnet management message processing method and system
WO2023011047A1 (en) Processing method and apparatus
CN113141322A (en) Data communication method, data communication device and computer storage medium

Legal Events

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