DPU network card configuration method and device
By calling the DPU interface layer and a new generation language model, combined with the encapsulation interface and kernel driver, efficient configuration of the DPU network card is achieved, solving the configuration complexity and difference problems in the existing technology, reducing costs and improving configuration efficiency.
Patent Information
- Application Number
- CN202311220904.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-09-21
AI Technical Summary
The existing DPU network card configuration and management methods are complex, costly and lack unified standards, making them unable to meet fast and efficient configuration requirements.
By calling the DPU interface layer to generate configuration information, using a new generation language model to fill in keywords and parameters, parsing and converting configuration information, and combining the preset encapsulation interface and kernel driver to realize the configuration of the DPU network card, reducing configuration complexity and difference.
It effectively reduces the complexity and cost of DPU network card configuration, provides a unified configuration method for different DPU cards, and improves configuration efficiency and accuracy.
Smart Images

Figure CN117278396B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of DPU network card configuration, and in particular to a DPU network card configuration method and device. Background Art
[0002] With the continuous growth of network traffic and the continuous evolution of network threats, traditional network equipment and software can no longer meet the requirements for in-depth analysis and processing of network traffic. Therefore, DPU came into being, which has a specially optimized hardware and software architecture that can efficiently perform deep packet inspection and processing. DPU was created to meet the needs of network traffic analysis and security processing, as well as to adapt to emerging technology trends and application scenarios. It provides efficient deep packet inspection and processing capabilities, providing network equipment and security devices with more powerful performance and functions. With the expansion of demand for DPU and the increase in application scenarios, a fast and efficient configuration management solution is needed.
[0003] In the prior art, the configuration and management methods of DPU cards vary greatly, are highly complex, have high configuration costs, and lack unified standards. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a DPU network card configuration method and device to eliminate or improve one or more defects existing in the prior art.
[0005] The first aspect of the present application provides a DPU network card configuration method, the method comprising:
[0006] In some embodiments of the present application, a DPU interface provided by the DPU interface layer is called to configure the DPU network card, generate corresponding first configuration information, and fill the first configuration information with keywords and parameters based on a pre-loaded new generation language model to obtain second configuration information;
[0007] Parsing and converting the second configuration information to obtain target configuration information;
[0008] Calling a preset encapsulation interface to encapsulate the target configuration information;
[0009] Based on the kernel driver pre-developed for the DPU network card, the DPU network card is configured according to the encapsulated target configuration information, and corresponding configuration result data is obtained.
[0010] In some embodiments of the present application, the parsing and converting the second configuration information to obtain target configuration information includes:
[0011] Adopting the path of the DPU interface layer to receive the second configuration information, matching a pre-registered callback function based on the path, and acquiring the second configuration information based on the matched callback function;
[0012] The DPU interface layer is used to parse the acquired second configuration information to obtain third configuration information, the third configuration information is converted into a preset format to obtain target configuration information, and the target configuration information is sent to the manufacturer's software development kit or platform manager.
[0013] In some embodiments of the present application, the DPU interface includes: an operation control framework;
[0014] Correspondingly, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes:
[0015] The controller calls the operation control framework to program and control the data plane on the DPU network card to generate the first configuration information.
[0016] In some embodiments of the present application, the DPU interface includes: a network management interface;
[0017] Correspondingly, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes:
[0018] The controller calls the network management interface to configure the persistent state of the network device and the persistent object, thereby generating the first configuration information.
[0019] In some embodiments of the present application, the DPU interface includes: a network operation interface;
[0020] Correspondingly, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes:
[0021] The controller calls the network operation interface to configure the temporary state of the one-time event and the persistent object, thereby generating the first configuration information.
[0022] In some embodiments of the present application, the manufacturer software development kit is used to provide the encapsulation interface, which includes: interface enable, maximum transmission unit and port rate.
[0023] In some embodiments of the present application, the platform manager is used to manage platform hardware and provide a corresponding abstract layer for the platform hardware.
[0024] A second aspect of the present application provides a DPU network card configuration device, the device comprising:
[0025] A network card configuration module, configured to call the DPU interface provided by the DPU interface layer to configure the DPU network card, generate corresponding first configuration information, and fill the first configuration information with keywords and parameters based on the pre-loaded new generation language model to obtain second configuration information;
[0026] A configuration parsing module, used for parsing and converting the second configuration information to obtain target configuration information;
[0027] A configuration encapsulation module is used to call a preset encapsulation interface to encapsulate the target configuration information;
[0028] The DPU configuration module is used to configure the DPU network card according to the encapsulated target configuration information based on the kernel driver pre-developed for the DPU network card, and obtain corresponding configuration result data.
[0029] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the DPU network card configuration method described in the first aspect when executing the computer program.
[0030] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the DPU network card configuration method described in the first aspect above.
[0031] The present application provides a DPU network card configuration method and device, the method comprising: calling the DPU interface provided by the DPU interface layer to configure the DPU network card, generating corresponding first configuration information, and filling the first configuration information with keywords and parameters based on a pre-loaded new generation language model to obtain second configuration information; parsing and transforming the second configuration information to obtain target configuration information; calling a preset encapsulation interface to encapsulate the target configuration information; configuring the DPU network card according to the encapsulated target configuration information based on a kernel driver pre-developed for the DPU network card, and obtaining corresponding configuration result data. The present application can effectively reduce the complexity of DPU network card configuration, and provide a unified configuration method for different DPU cards, thereby effectively reducing the differences in configurations of different DPU network cards, and effectively reducing configuration costs.
[0032] Additional advantages, purposes, and features of the present application will be partially described in the following description, and will become partially apparent to those skilled in the art after studying the following, or may be learned from the practice of the present application. The purposes and other advantages of the present application can be achieved and obtained by the structures specifically pointed out in the specification and the drawings.
[0033] Those skilled in the art will understand that the purposes and advantages that can be achieved by the present application are not limited to the above specific description, and the above and other purposes that can be achieved by the present application will be more clearly understood based on the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings described herein are used to provide a further understanding of the present application, constitute a part of the present application, and do not constitute a limitation of the present application. The components in the drawings are not drawn to scale, but are only for the purpose of illustrating the principles of the present application. In order to facilitate the illustration and description of some parts of the present application, the corresponding parts in the drawings may be enlarged, that is, they may become larger relative to other components in the exemplary device actually manufactured according to the present application. In the drawings:
[0035] Figure 1 The figure is a flowchart of a DPU network card configuration method in one embodiment of the present application.
[0036] Figure 2 This is a structural diagram of a DPU network card configuration device in another embodiment of the present application.
[0037] Figure 3 This is a schematic diagram of the overall architecture of a DPU network card configuration method in another embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the implementation modes and the accompanying drawings. Here, the illustrative implementation modes and descriptions of the present application are used to explain the present application, but are not intended to limit the present application.
[0039] It should also be noted here that in order to avoid obscuring the present application due to unnecessary details, only the structures and / or processing steps closely related to the scheme according to the present application are shown in the accompanying drawings, while other details that are not very relevant to the present application are omitted.
[0040] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.
[0041] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection with an intermediate.
[0042] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
[0043] The details are described in detail through the following examples.
[0044] The present application embodiment provides a DPU network card configuration method that can be performed by a DPU network card configuration device or a client device, see Figure 1 The DPU network card configuration method specifically includes the following contents:
[0045] Step 110: Call the DPU interface provided by the DPU interface layer to configure the DPU network card, generate corresponding first configuration information, and fill in keywords and parameters for the first configuration information based on the pre-loaded new generation language model to obtain second configuration information.
[0046] Step 120: parse and transform the second configuration information to obtain target configuration information.
[0047] Step 130: Call a preset encapsulation interface to encapsulate the target configuration information.
[0048] Step 140: Based on the kernel driver pre-developed for the DPU network card, the DPU network card is configured according to the encapsulated target configuration information, and corresponding configuration result data is obtained.
[0049] Specifically, see Figure 3 , the client device first uses the SDN controller (i.e. Figure 3 The SDNController in the DPU interface layer (i.e. Figure 3 The DPU interface provided by the DPU Interface in the configuration management network card is used to configure the DPU network card, such as setting the MTU (maximum transmission unit), port rate, and auto-negotiation mode function parameters supported by the configuration management network card, as well as querying network card enable, network card rate, auto-negotiation mode and other network card status and port information statistics and other parameters, thereby generating the corresponding first configuration information, and filling the first configuration information with keywords and parameters based on the pre-loaded new generation language model to obtain the second configuration information. The DPU interface layer is then used to obtain the second configuration information and parse and transform it to obtain the target configuration information. Then, the manufacturer's software development kit (i.e. Figure 3 SDK, Software Development Kit) or Platform Manager (i.e. Figure 3The Platform Manager in the DPU receives the target configuration information and calls the encapsulation interface corresponding to the manufacturer's software development kit or the platform manager to encapsulate the target configuration information and send it to the kernel driver pre-developed for the DPU network card (i.e. Figure 3 Drivers in ); finally, based on the kernel driver, the DPU network card (i.e. Figure 3 The DPU Card in the network card is configured and the corresponding configuration result is obtained, and the configuration result is returned to the controller in sequence, thereby effectively reducing the complexity of the DPU network card configuration and providing a unified configuration method for different DPU cards, thereby effectively reducing the differences in the configurations of different DPU network cards and effectively reducing the configuration cost.
[0050] Among them, the DPU interface layer uses standard OpenConfig (a collaborative work in the network industry) and gRPC (google Remote Procedure Calls) communication to implement the configuration management of the DPU network card.
[0051] The new generation language model is the YANG model (YetAnother Next Generation, a new generation language) provided by OpenConfig. The encapsulation interface corresponding to the platform manager is Figure 3 In the PlatformAPI, PlatformAPI provides a cache for setting and obtaining parameters, such as SFP (Small Form-factor Pluggsable), Fans (fan module), etc. Figure 3 In the table, user represents user state, kernel represents kernel state, and hardware represents hardware.
[0052] In summary, the configuration method of the DPU network card can realize the configuration and management of the DPU interface, such as configuring and managing the interface status, including opening / closing, enabling / disabling, configuring and managing the interface rate, bandwidth, MTU and other attributes, configuring and managing the interface QoS policy, including bandwidth limitation, priority, queue and scheduling and other attributes, configuring and managing the mirroring and monitoring functions of the interface, etc.; it can also monitor and diagnose the system, such as monitoring and diagnosing various indicators of the system, including CPU utilization, memory utilization, interface utilization, network traffic and other indicators, supporting system logging and alarm functions to help users discover and solve problems in a timely manner, supporting remote diagnosis and troubleshooting functions to help users quickly restore system functions.
[0053] In order to improve the accuracy of the configuration information transmitted to the DPU network card, step 120 includes:
[0054] Adopting the path of the DPU interface layer to receive the second configuration information, matching a pre-registered callback function based on the path, and acquiring the second configuration information based on the matched callback function;
[0055] The DPU interface layer is used to parse the acquired second configuration information to obtain third configuration information, the third configuration information is converted into a preset format to obtain target configuration information, and the target configuration information is sent to the manufacturer's software development kit or platform manager.
[0056] Specifically, the client device first uses the DPU interface layer to receive the path of the second configuration information, matches the pre-registered callback function based on the path, and obtains the second configuration information based on the matched callback function; then uses the DPU interface layer to parse the obtained second configuration information to obtain the third configuration information, and then converts the third configuration information into a preset format to obtain the target configuration information, and finally sends the target configuration information to the manufacturer's software development kit or platform manager, thereby effectively improving the accuracy of the configuration information transmitted to the DPU network card.
[0057] The callback function is pre-registered based on the YANG path corresponding to the aforementioned YANG model. The preset format is the format or structure required by the manufacturer's software development kit or platform manager.
[0058] In order to improve the comprehensiveness of the DPU network card configuration, the DPU interface includes: an operation control framework;
[0059] Correspondingly, in step 110, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes:
[0060] The controller calls the operation control framework to program and control the data plane on the DPU network card to generate the first configuration information.
[0061] Specifically, the client device uses a controller to call the operation control framework to program and control the data plane on the DPU network card, such as operating Table Entry or Action profile, querying Counter, etc., and then generating the first configuration information, thereby effectively improving the comprehensiveness of the DPU network card configuration.
[0062] The operation control framework can be found in Figure 3 The P4 Runtime in is an operation control framework based on Protobuf (a lightweight and efficient structured data storage format) and gRPC.
[0063] In order to further improve the comprehensiveness of the DPU network card configuration, the DPU interface includes: a network management interface;
[0064] Correspondingly, in step 110, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes:
[0065] The controller calls the network management interface to configure the persistent state of the network device and the persistent object, thereby generating the first configuration information.
[0066] Specifically, the client device uses the controller to call the network management interface to configure the persistent state of the network device and the persistent object, and then generates the first configuration information, which can further effectively improve the comprehensiveness of the DPU network card configuration.
[0067] The network management interface can be found in Figure 3 gNMI (gRPC Network Management Interface) in gRPC is used to manage the configuration and persistent status of network devices.
[0068] In order to further improve the comprehensiveness of the DPU network card configuration, the DPU interface includes: a network operation interface;
[0069] Correspondingly, in step 110, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes:
[0070] The controller calls the network operation interface to configure the temporary state of the one-time event and the persistent object, thereby generating the first configuration information.
[0071] Specifically, the client device uses the controller to call the network operation interface to configure the temporary status of the one-time event and the persistent object, and then generates the first configuration information, which can further effectively improve the comprehensiveness of the DPU network card configuration.
[0072] The network operation interface can be found in Figure 3 The gNOI (gRPC Network Operations Interface) in gRPC is used for operations to resolve one-time events such as device testing or restarting, clearing or setting the temporary state of the device, and does not require maintenance status.
[0073] In order to encapsulate the kernel driver, the manufacturer software development kit is used to provide the encapsulation interface, which includes: interface enable, maximum transmission unit and port rate.
[0074] Specifically, the manufacturer's software development kit provides the DPU interface layer with an API interface for encapsulating the kernel driver for the configuration function of the network interface, thereby effectively encapsulating the kernel driver.
[0075] The API interface includes interface enable, maximum transmission unit and port rate, etc.
[0076] In order to facilitate the management of the platform hardware, the platform manager is used to manage the platform hardware and provide a corresponding abstract layer for the platform hardware.
[0077] Specifically, the platform manager is used to manage the platform hardware and provide a corresponding abstraction layer for the platform hardware to facilitate upper-level interface calls, thereby enabling effective management of the platform hardware.
[0078] From the software level, the present application also provides a DPU network card configuration device for executing all or part of the DPU network card configuration method, see Figure 2 The DPU network card configuration device specifically includes the following contents:
[0079] The network card configuration module 10 is used to call the DPU interface provided by the DPU interface layer to configure the DPU network card, generate corresponding first configuration information, and fill in keywords and parameters for the first configuration information based on a pre-loaded new generation language model to obtain second configuration information.
[0080] The configuration parsing module 20 is used to parse and transform the second configuration information to obtain target configuration information.
[0081] The configuration encapsulation module 30 is used to call a preset encapsulation interface to encapsulate the target configuration information.
[0082] The DPU configuration module 40 is used to configure the DPU network card according to the encapsulated target configuration information based on the kernel driver pre-developed for the DPU network card, and obtain corresponding configuration result data.
[0083] The embodiment of the DPU network card configuration device provided in the present application can be specifically used to execute the processing flow of the embodiment of the DPU network card configuration method in the above embodiment. Its functions are not repeated here, and reference can be made to the detailed description of the above DPU network card configuration method embodiment.
[0084] The present application provides a DPU network card configuration device, the method executed by the device includes: calling the DPU interface provided by the DPU interface layer to configure the DPU network card, generating the corresponding first configuration information, and filling the first configuration information with keywords and parameters based on the pre-loaded new generation language model to obtain the second configuration information; parsing and transforming the second configuration information to obtain the target configuration information; calling the preset encapsulation interface to encapsulate the target configuration information; configuring the DPU network card according to the encapsulated target configuration information based on the kernel driver pre-developed for the DPU network card, and obtaining the corresponding configuration result data. The present application can effectively reduce the complexity of the DPU network card configuration, and provide a unified configuration method for different DPU cards, thereby effectively reducing the differences in the configurations of different DPU network cards, and effectively reducing the configuration cost.
[0085] The embodiment of the present application also provides an electronic device, such as a central server, which may include a processor, a memory, a receiver and a transmitter, wherein the processor is used to execute the DPU network card configuration method mentioned in the above embodiment, wherein the processor and the memory may be connected via a bus or other means, such as by bus connection. The receiver may be connected to the processor and the memory via wired or wireless means.
[0086] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0087] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as the program instructions / modules corresponding to the DPU network card configuration method in the embodiment of the present application. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, the DPU network card configuration method in the above method embodiment is implemented.
[0088] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0089] The one or more modules are stored in the memory, and when executed by the processor, the DPU network card configuration method in the embodiment is executed.
[0090] In some embodiments of the present application, the user equipment may include a processor, a memory, and a transceiver unit, which may include a receiver and a transmitter. The processor, memory, receiver, and transmitter may be connected through a bus system. The memory is used to store computer instructions, and the processor is used to execute the computer instructions stored in the memory to control the transceiver unit to send and receive signals.
[0091] As an implementation method, the functions of the receiver and the transmitter in the present application can be considered to be implemented through a transceiver circuit or a dedicated chip for transceiver, and the processor can be considered to be implemented through a dedicated processing chip, a processing circuit or a general chip.
[0092] As another implementation method, it is possible to use a general-purpose computer to implement the server provided in the embodiment of the present application, that is, to store the program code for implementing the functions of the processor, receiver, and transmitter in a memory, and the general-purpose processor implements the functions of the processor, receiver, and transmitter by executing the code in the memory.
[0093] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned DPU network card configuration method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0094] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is specifically performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.
[0095] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0096] In the present application, features described and / or illustrated for one embodiment may be used in the same manner or in a similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.
[0097] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A DPU network card configuration method, It is characterized in that include: Calling the DPU interface provided by the DPU interface layer to configure the DPU network card, generating corresponding first configuration information, and filling keywords and parameters in the first configuration information based on the pre-loaded new generation language model to obtain second configuration information; Parsing and converting the second configuration information to obtain target configuration information; Calling a preset encapsulation interface to encapsulate the target configuration information; Based on the kernel driver pre-developed for the DPU network card, the DPU network card is configured according to the encapsulated target configuration information, and corresponding configuration result data is obtained; Parsing and converting the second configuration information to obtain target configuration information includes: Adopting the path of the DPU interface layer to receive the second configuration information, matching a pre-registered callback function based on the path, and acquiring the second configuration information based on the matched callback function; The DPU interface layer is used to parse the acquired second configuration information to obtain third configuration information, the third configuration information is converted into a preset format to obtain target configuration information, and the target configuration information is sent to the manufacturer's software development kit or platform manager.
2. The DPU network card configuration method according to claim 1, It is characterized in that The DPU interface includes: an operation control framework; Correspondingly, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes: The controller calls the operation control framework to program and control the data plane on the DPU network card to generate the first configuration information.
3. The DPU network card configuration method according to claim 1, It is characterized in that The DPU interface includes: a network management interface; Correspondingly, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes: The controller calls the network management interface to configure the persistent state of the network device and the persistent object, thereby generating the first configuration information.
4. The DPU network card configuration method according to claim 1, It is characterized in that The DPU interface includes: a network operation interface; Correspondingly, calling the DPU interface provided by the DPU interface layer to configure the DPU network card and generate corresponding first configuration information includes: The controller calls the network operation interface to configure the temporary state of the one-time event and the persistent object, thereby generating the first configuration information.
5. The DPU network card configuration method according to claim 1, It is characterized in that The manufacturer software development kit is used to provide the encapsulation interface, which includes: interface enable, maximum transmission unit and port rate.
6. The DPU network card configuration method according to claim 1, It is characterized in that The platform manager is used to manage platform hardware and provide a corresponding abstract layer for the platform hardware.
7. A DPU network card configuration device, It is characterized in that include: A network card configuration module, configured to call the DPU interface provided by the DPU interface layer to configure the DPU network card, generate corresponding first configuration information, and fill the first configuration information with keywords and parameters based on the pre-loaded new generation language model to obtain second configuration information; A configuration parsing module, used for parsing and converting the second configuration information to obtain target configuration information; Parsing and converting the second configuration information to obtain target configuration information includes: Adopting the path of the DPU interface layer to receive the second configuration information, matching a pre-registered callback function based on the path, and acquiring the second configuration information based on the matched callback function; The DPU interface layer is used to parse the acquired second configuration information to obtain third configuration information, the third configuration information is converted into a preset format to obtain target configuration information, and the target configuration information is sent to a manufacturer software development kit or a platform manager; A configuration encapsulation module is used to call a preset encapsulation interface to encapsulate the target configuration information; The DPU configuration module is used to configure the DPU network card according to the encapsulated target configuration information based on the kernel driver pre-developed for the DPU network card, and obtain corresponding configuration result data.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the DPU network card configuration method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the DPU network card configuration method as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Network equipment configuration management method, device and equipment
CN109361550A
Cited By
RDMA packet aggregation processing method and network card device
CN120434317B
