Network card stability test method, electronic equipment, storage medium and program product

By burning different versions of network firmware into the network card controller and conducting business performance and storage network flow tests, the problem of incomplete network card stability test data was solved, and comprehensive network card stability testing and optimization were achieved.

CN120692189AActive Publication Date: 2025-09-23INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511181704.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2025-09-23
Estimated Expiration
2045-08-22

AI Technical Summary

Technical Problem

During the network card stability test, the controller is affected by the performance and energy efficiency of different versions, resulting in incomplete stability test data.

Method used

Burn the normal installation version and abnormal mirror version of network firmware into the controller of the network card, perform business performance testing and storage network flow testing respectively, monitor the network performance data flow value and bandwidth value to obtain comprehensive test data.

Benefits of technology

By comparing test data from different versions, we can identify network card defects, conduct comprehensive network card stability testing, and optimize network performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120692189A_ABST
    Figure CN120692189A_ABST
Patent Text Reader

Abstract

The invention discloses a network card stability testing method, electronic equipment, a storage medium and a program product, and relates to the technical field of computers. Normal installation version network firmware and abnormal mirror image version network firmware are burnt in a controller of a network card; when the normal installation version network firmware and the abnormal mirror image version network firmware are operated, the network card stability test is performed, the abnormal mirror image version network firmware can be set according to actual requirements, and test data can be comprehensively acquired, so that performance test results can be subsequently compared and analyzed based on the test data of different versions to find out the defects of the network card, and the test efficiency is improved. And the network card stability comprehensive test is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a network card stability testing method, electronic equipment, storage medium, and program product. Background Art

[0002] The application of FPGAs (field-programmable gate arrays) extends from traditional industrial control to cutting-edge fields such as AI and autonomous driving. Their core value lies in hardware flexibility, parallel efficiency, and low latency. With the evolution of tool chains and the rise of heterogeneous computing, FPGAs are evolving from "dedicated accelerators" to "reconfigurable computing platforms," ​​becoming a key component for solving complex scenarios. Typical signals for choosing FPGAs include the need for hardware acceleration but unfixed protocols, extreme sensitivity to latency / power consumption, or the need for rapid prototyping. For example, in SmartNICs (Smart Network Interface Cards), FPGAs are widely used as core components for accelerating and intelligentizing network functions due to their flexibility, programmability, high performance, and reconfigurability. As controllers for SmartNICs, FPGAs are complex to develop, with significant differences in performance and energy efficiency between different versions, and bitstreams can cause functional anomalies due to timing discrepancies. Summary of the Invention

[0003] The present application provides a network card stability testing method, electronic device, storage medium and program product to at least solve the problem in the related art that when testing the stability of a network card, the controller thereof is affected by different versions on performance and energy efficiency, resulting in incomplete stability test data.

[0004] The present application provides a method for testing the stability of a network card, wherein a controller of the network card is burned with a normal installed version of network firmware and an abnormal mirror version of network firmware, and the method comprises: In response to the network card running the normal installed version of the network firmware, performing a service usage performance test on the network card and monitoring a network performance data flow value of the network card; Determining a service usage performance test result of the network card according to the network performance data flow value; In response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware; In response to the abnormal mirror version network firmware running in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card; A storage read / write performance test result of the network card is determined according to the bandwidth value.

[0005] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned network card stability testing methods when executing the computer program: In response to the network card running the normal installed version of the network firmware, performing a service usage performance test on the network card and monitoring a network performance data flow value of the network card; Determining a service usage performance test result of the network card according to the network performance data flow value; In response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware; In response to the abnormal mirror version network firmware running in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card; A storage read / write performance test result of the network card is determined according to the bandwidth value.

[0006] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned network card stability testing methods are implemented: In response to the network card running the normal installed version of the network firmware, performing a service usage performance test on the network card and monitoring a network performance data flow value of the network card; Determining a service usage performance test result of the network card according to the network performance data flow value; In response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware; In response to the abnormal mirror version network firmware running in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card; A storage read / write performance test result of the network card is determined according to the bandwidth value.

[0007] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned network card stability testing methods: In response to the network card running the normal installed version of the network firmware, performing a service usage performance test on the network card and monitoring a network performance data flow value of the network card; Determining a service usage performance test result of the network card according to the network performance data flow value; In response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware; In response to the abnormal mirror version network firmware running in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card; A storage read / write performance test result of the network card is determined according to the bandwidth value.

[0008] Through this application, by setting the normal installed version of network firmware and the abnormal mirror version of network firmware to be burned in the controller of the network card, a network card stability test is performed when running the normal installed version of network firmware and the abnormal mirror version of network firmware. The abnormal mirror version of network firmware can be set according to actual needs and can fully obtain test data, so that performance test results can be compared and analyzed based on different versions of test data to find out the defects of the network card and achieve a comprehensive test of the stability of the network card. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0010] Figure 1 This is an application environment diagram of a network card stability testing method in one embodiment of the present application; Figure 2 This is a flowchart of a method for testing network card stability in one embodiment of the present application; Figure 3 This is a logic diagram of a network card stability testing method in one embodiment of the present application; Figure 4 This is a flowchart of upgrading or switching between a normal installed version of network firmware and an abnormal mirrored version of network firmware in one embodiment of the present application; Figure 5 This is a schematic diagram of a first type of streaming link in a network card stability testing method according to an embodiment of the present application; Figure 6 This is a schematic diagram of a second streaming link in a network card stability testing method according to an embodiment of the present application; Figure 7 This is a structural block diagram of a network card stability testing device in one embodiment of the present application; Figure 8 This is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0011] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0012] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0013] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0014] Smart NICs primarily include encryption / decryption, firewall, TCP / IP, and HTTP processing, making them ideal for high-traffic web servers. They offload all network, security, and storage functions from the host server, freeing up valuable processing power so the server can focus on running critical applications and operating systems more efficiently. Smart NICs can also perform virtualization, load balancing, and data path optimization.

[0015] SmartNICs are programmable. SmartNICs are flexible and programmable network cards that can perform network traffic processing workloads typically performed by CPUs, such as TCP / IP and HTTP processing. SmartNICs require the assistance of FPGAs. The core of SmartNICs is to assist the CPU in processing network loads through FPGAs (field programmable gate arrays), thereby achieving hardware acceleration. SmartNICs support local programming of the data plane and control plane, allowing users to customize network functions according to their needs. SmartNICs typically contain multiple ports and internal switches, enabling fast data forwarding and intelligent mapping to relevant applications. SmartNICs can detect and manage network traffic, providing real-time network monitoring and troubleshooting capabilities.

[0016] The network card stability testing method provided in this application can be applied to Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. Terminal 102 can test the stability of the network card in server 104. The network card includes a controller, preferably an FPGA (field programmable gate array). Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. Server 104 can be implemented as a standalone server or a server cluster consisting of multiple servers.

[0017] like Figure 2 As shown, an embodiment of the present application provides a network card stability testing method. The controller of the network card is burned with a normal installed version of network firmware and an abnormal mirror version of network firmware. The network card stability testing method includes the following steps: Step S1, in response to the network card running a normal installed version of network firmware, performing a service usage performance test on the network card and monitoring the network performance data flow value of the network card; Step S2, determining the service usage performance test result of the network card according to the network performance data flow value; Step S3, in response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware; Step S4, in response to the network card running an abnormal mirror version of the network firmware, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card; Step S5: determining the storage read / write performance test result of the network card according to the bandwidth value.

[0018] The normal installed version of network firmware is the service version that matches the network card's properties, while the abnormal mirror version of network firmware is the service version that does not match the network card's properties. For example, if an FM8 rpd file is written to an FM7 device, the FM8 rpd file will be the abnormal mirror version of network firmware. The rpd file is the programming data file.

[0019] In this embodiment, a normal installed version of network firmware and an abnormal mirror version of network firmware are burned into the controller of the network card. When the normal installed version of network firmware and the abnormal mirror version of network firmware are running, a network card stability test is performed. The abnormal mirror version of network firmware can be set according to actual needs, and comprehensive test data can be obtained so that performance test results can be compared and analyzed based on different versions of test data to identify defects in the network card, thereby achieving a comprehensive test of the network card stability.

[0020] like Figure 3 As shown, in this embodiment, the network card stability testing method further includes: Obtain the storage space of the controller in the network card to be tested, and divide the storage space into tool reserved space, image file space, and application file space according to the storage address; The abnormal image version network firmware is burned in the image file space. The abnormal image version network firmware has functions including flash memory burning, network port and communication interface. The abnormal image version network firmware does not match the device type of the network card. Burn the normal installation version of the network firmware in the application file space. The normal installation version of the network firmware matches the device type of the network card.

[0021] like Figure 3 As shown in the figure, an abnormal image version of network firmware is written at the Flash start address 0x01400000 (general).

[0022] In this embodiment, the network card stability testing method further includes: Determine whether the normal installed version network firmware and the abnormal mirror version network firmware exist independently of each other; In response to the normal installed version network firmware and the abnormal mirror version network firmware not existing independently, the normal installed version network firmware and the abnormal mirror version network firmware are combined to produce a first programming data file; when the normal installed version network firmware or the abnormal mirror version network firmware is upgraded, the corresponding network firmware in the first programming data file is upgraded; In response to the fact that the normal installed version network firmware and the abnormal mirror version network firmware exist independently of each other, the normal installed version network firmware is made into a second programming data file; when the normal installed version network firmware is upgraded, the second programming data file is upgraded; when the abnormal mirror version network firmware is upgraded, the abnormal mirror version network firmware in the mirror file space is upgraded.

[0023] As shown in the figure, in the topology diagram of the storage network flow test, the host, network card, switch and test server are interconnected.

[0024] First, modify grub (Multi-OS Boot Manager) to configure SOC (Controller) huge pages and IOMMU (Input-Output Memory Management Unit).

[0025] In the grub (Multi-OS Boot Manager) configuration file (vi / etc / default / grub) of the controller (SOC), add default_hugepagesz=1Ghugepagesz=1G hugepages=7 iommu=pt intel_iommu=on to the end of kernel cmdline. Update the grub file: grub2-mkconfig -o / boot / efi / EFI / ctyunos / grub.cfg; Restart the system: reboot.

[0026] Secondly, install the spdk (storage application) software and configure it in the same directory as the compressed package soc_sw.tar of the software source file.

[0027] Finally, check the running status of the FPGA on the SOC side under the abnormal image version network firmware (Golden version): After the SOC side of the network card (SmartNIC) is powered on, it defaults to the normal installed version network firmware (APP image). If the normal installed version network firmware is invalid, it directly enters the abnormal image version network firmware. Log in to the SOC side of the network card (SmartNIC) and operate the mailbox remote system update (RSU) command to switch. After the remote system update (RSU), you can rescan the PCIE device by rescanning or restarting the network card, but you cannot shut down the network card. The shutdown operation will default to the normal installed version network firmware.

[0028] like Figure 4 As shown, in this embodiment, the network card stability testing method further includes: In response to the upgrade of the normal installed version network firmware, performing an in-band update on the abnormal mirror version network firmware according to the update content of the normal installed version network firmware, obtaining a manager associated with the normal installed version network firmware, and performing an out-of-band update on the manager; In response to burning the abnormal image version network firmware in the image file space or upgrading the abnormal image version network firmware, the network card is restarted.

[0029] like Figure 4 As shown, in this embodiment, the network card stability testing method further includes: In response to the abnormal image version network firmware being upgraded, the normal installed version network firmware is updated in-band according to the updated content of the abnormal image version network firmware, the manager (BMC) associated with the abnormal image version network firmware is obtained, and the manager is updated out-of-band.

[0030] The host configuration method is as follows: a. Add default_hugepagesz=1G hugepagesz=1G hugepages=20 to the end of kernel cmdline in the grub configuration file (vi / etc / default / grub) on the backend host, save the configuration, and reboot. b. Install the SPDK (storage application) RPM package on the cloud disk backend host: rpm -ivh spdk-22.01-4.ctl2.x86_64.rpm; c. Execute kill -9 `pidof nvmf_tgt` to kill the existing process (if it exists); d. Then execute the start-nvmf.sh script to start the nvmf target process (you need to change the target_ip in the script to the corresponding IP in advance).

[0031] Among them, the controller in the network card configures the IP and ensures that the soc and target ip can be connected: a. Configure the network card IP address: ifconfig ens6f7 10.61.0.21 netmask 255.255.248.0 up; b.systemctl restart bss.service starts the SPDK process; c. Then execute the attach-nvme-disk.sh script to attach the disk (you need to change the target_ip in the script to the IP address configured on the storage backend in advance).

[0032] Among them, storage network traffic test: a.Configure IP Configure host pf0 (MAC address is 00:01:02:03:04:00) and the corresponding network interface IP address is 12.0.0.3 / 24; The host network card IP address is configured as 12.0.0.8 / 24; Configure the MTU (maximum transmission unit) of the host to be tested to 4000: ifconfig ethx mtu 4000; b. Flow test Run on the test host: iperf -s -P 4 -D; Run on the host: iperf -c 12.0.0.8 -i 1 -t 10000 -P 4.

[0033] In this embodiment, in response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware includes: Set to control the network card to start the normal installed version of the network firmware when the network card is turned on; In response to switching the normal installed version network firmware to the abnormal mirror version network firmware, the version switch is triggered through the email remote system update command, the normal installed version network firmware is controlled to be invalid to shut down the normal installed version network firmware, the network card is switched to the abnormal mirror version network firmware, and after the function is switched, the network card is restarted to rescan the solid-state hard disk device.

[0034] In which, in response to the network card being powered on again after being powered off, the network card is controlled to start the normal installed version of the network firmware.

[0035] like Figure 5 As shown, in this embodiment, in response to running an abnormal mirror version of network firmware in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card include: The types of storage network traffic tests for the network card include storage traffic test and network traffic test. Perform storage traffic testing in response to testing the network card's storage read / write performance, throughput limit, or latency; In response to testing the bandwidth capacity, packet loss rate, delay jitter or protocol processing capability of the network card, a network flow test is performed.

[0036] Specifically, such as Figure 5 As shown in the figure, the storage flow test includes: A storage application (SPDK), a first physical network port function module (PF1), and a second physical network port function module (PF2) are provided in a controller (SOC) in the network card, and the first physical network port function module and the second physical network port function module are connected through the storage application; A first address table (mac0) and a second address table (mac1) are set in the network card, and the first address table and the second address table are connected to the accompanying test server through a switch; The host machine (Host) is configured to include a paravirtualized block device driver (virtio-blk) and a paravirtualized network communication driver (virtio-net), the first address table is connected to the second physical network port function module, the first physical network port function module is connected to the paravirtualized block device driver (virtio-blk), and the paravirtualized network communication driver (virtio-net) is connected to the second address table; After the companion test server is connected to the network card through a switch, the network card sends a one-way data stream to the paravirtualized block device driver (virtio-blk). The host transmits data back to the network card through the reverse link. The companion test server monitors the data flow and bandwidth and determines whether it exceeds the preset bandwidth value. If so, it records the network card's storage read and write performance as qualified. Otherwise, it records the network card's storage read and write performance as unqualified. The accompanying test server is connected to the switch and connected to the paravirtualized network communication driver (virtio-net) through the second address table. The accompanying test server monitors the network performance data flow and determines whether it is greater than the preset bandwidth value. If so, it records the storage read and write performance of the network card as qualified, otherwise it records the storage read and write performance of the network card as unqualified.

[0037] The paravirtualized block device driver (virtio-blk) is used in virtualization technology to implement high-performance block devices (such as virtual disks). Part of the virtio standard framework, it significantly improves disk performance in virtualized environments by optimizing storage I / O communication between virtual machines (VMs) and hosts.

[0038] Among them, the paravirtualized network communication driver (virtio-net) is a paravirtualization driver used for network communication in a virtualized environment. It provides efficient network data transmission between the host and the virtual machine (Guest) through the virtio framework.

[0039] It is understandable that, in response to the normal installation version of the network firmware running in the network card, the service usage performance test of the network card is performed, and the network performance data flow value of the network card is monitored. The storage network flow test method of the network card can be the same as the storage network flow test when the abnormal image version of the network firmware is running, including: A storage application (SPDK), a first physical network port function module (PF1), and a second physical network port function module (PF2) are provided in a controller in the network card, and the first physical network port function module and the second physical network port function module are connected through the storage application; A first address table (mac0) and a second address table (mac1) are set in the network card, and the first address table and the second address table are connected to the accompanying test server through a switch; The host machine (Host) is configured to include a paravirtualized block device driver (virtio-blk) and a paravirtualized network communication driver (virtio-net), the first address table is connected to the second physical network port function module, the first physical network port function module is connected to the paravirtualized block device driver (virtio-blk), and the paravirtualized network communication driver (virtio-net) is connected to the second address table; After the companion test server is connected to the network card through a switch, the network card sends a one-way data flow to the paravirtualized block device driver (virtio-blk). The host sends data back to the network card through the reverse link. The companion test server monitors the data flow and bandwidth and determines whether it exceeds the preset bandwidth value. If so, the network card's service performance is recorded as qualified. Otherwise, the network card's service performance is recorded as unqualified. The accompanying test server is connected to the switch and connected to the semi-virtualized network communication driver (virtio-net) through the second address table. The accompanying test server monitors the network performance data flow and determines whether it is greater than the preset bandwidth value. If so, it records the business performance of the network card as qualified, otherwise it records the business performance of the network card as unqualified.

[0040] That is, if Figure 5 As shown, when the normal installed version network firmware or the abnormal mirror version network firmware is running, when the network card is tested for storage network flow, two types of detection data are included: the controller performance data flow from the host machine to the network card and the network performance data flow of the accompanying test server.

[0041] Among them, the link of the controller performance data flow from the host machine to the network card is: the companion server, switch, the first address table (mac0) of the network card controller, the first physical network port function module (PF1), the storage application (SPDK), the second physical network port function module (PF2), and the paravirtualized block device driver (virtio-blk) of the host machine (Host).

[0042] The link of the network performance data flow of the companion test server is: the companion test server, the switch, the second address table (mac1) of the network card controller, and the paravirtualized network communication driver (virtio-net) of the host (Host).

[0043] Specifically, such as Figure 6 As shown, in this embodiment, when performing a network flow test, the following steps are included: A first address table (mac0) and a second address table (mac1) are set in the network card, and the first address table and the second address table are connected to the accompanying test server through a switch; A third physical network port function module (PF3) is set in the controller of the network card, and a host machine (Host) is set to include a first network card function module (pf0), a second network card function module (pf1), and a third network card function module (pf2), the first network card function module is connected to the second address table, the second network card function module is connected to the first address table, and the third network card function module is connected to the third physical network port function module; The control traffic is sent from the second network card function module to the first address table, passes through the switch to the accompanying test server and is routed back to the second network card function module; Control traffic flows from the first network card function module to the second address table, passes through the switch to the accompanying test server and is routed back to the first network card function module; Control the third network card function module and the third physical network port function module to establish traffic between each other; The accompanying test server monitors the network performance data flow and determines whether it is greater than the preset bandwidth value. If so, it records that the network transmission performance of the network card is qualified; otherwise, it records that the network transmission performance of the network card is unqualified.

[0044] It is understandable that, in response to the normal installation version of the network firmware running in the network card, the service usage performance test of the network card is performed, and the network performance data flow value of the network card is monitored. The network flow test method can be the same as the storage network flow test performed on the network card when the abnormal mirror version of the network firmware is running, including: A first address table (mac0) and a second address table (mac1) are set in the network card, and the first address table and the second address table are connected to the accompanying test server through a switch; A third physical network port function module (PF3) is set in the controller of the network card, and a host machine (Host) is set to include a first network card function module (pf0), a second network card function module (pf1), and a third network card function module (pf2), the first network card function module is connected to the second address table, the second network card function module is connected to the first address table, and the third network card function module is connected to the third physical network port function module; The control traffic is sent from the second network card function module to the first address table, passes through the switch to the accompanying test server and is routed back to the second network card function module; Control traffic flows from the first network card function module to the second address table, passes through the switch to the accompanying test server and is routed back to the first network card function module; Control the third network card function module and the third physical network port function module to establish traffic between each other; The accompanying test server monitors the network performance data flow and determines whether it is greater than the preset bandwidth value. If so, it records the service transmission performance of the network card as qualified; otherwise, it records the service transmission performance of the network card as unqualified.

[0045] That is, if Figure 6As shown, when the normal installed version of the network firmware or the abnormal mirror version of the network firmware is running, when the network card is tested for storage network flow, it includes the data flow of the second network card function module (pf1) of the host (Host), the data flow of the first network card function module (pf0) of the host (Host), the data flow of the third network card function module (pf2) of the host (Host) and the third physical network port function module (PF3) of the network card controller.

[0046] Among them, the link of the data flow of the second network card function module (pf1) of the host (Host) is: the accompanying test server, the switch, the first address table (mac0) of the network card controller, and the second network card function module (pf1) of the host (Host).

[0047] Among them, the link of the data flow of the first network card function module (pf0) of the host (Host) is: the accompanying test server, the switch, the second address table (mac1) of the network card controller, and the first network card function module (pf0) of the host (Host).

[0048] Among them, the link of the data flow between the third network card function module (pf2) of the host (Host) and the third physical network port function module (PF3) of the network card controller is: the third physical network port function module (PF3) of the network card controller and the third network card function module (pf2) of the host (Host).

[0049] In this embodiment, when performing a storage network traffic test on a network card, the following steps are also included: Determine whether the network card has performed a storage network flow test. If so, stop the storage input and output performance test and execute the disk mounting script to delete the disk. If not, execute the storage network flow test and skip executing the disk mounting script.

[0050] In this embodiment, when performing a storage network traffic test on a network card, the following steps are also included: Set the maximum transmission rate thresholds for the first, second, and third network card function modules in the host. When the transmission rate of any of the first, second, or third network card function modules exceeds the maximum transmission rate threshold, the speed is reduced.

[0051] As shown in the figure, the steps of performing a storage network flow test on the network card in this embodiment are as follows: Step 1. SoC environment configuration Modify grub to configure SoC huge pages and IOMMU; In the SoC's grub configuration file (vi / etc / default / grub), add default_hugepagesz=1G hugepagesz=1G hugepages=7 iommu=pt intel_iommu=on to the end of kernel cmdline; Update the grub file: grub2-mkconfig -o / boot / efi / EFI / ctyunos / grub.cfg; Restart the system: reboot.

[0052] Step 2: Configure the host network card IP If you have run a mixed traffic test before, you need to stop fio on the host side first; Run the detach-nvme-disk script to remove the disk. If you have not executed the mount script before, you can skip this step. 1) Hot-swap three network cards on the SoC side and set the mtu to 9000 (-m specifies the mac (address table), which can be configured by yourself); snictool -p -r 0; snictool -p -r 1; snictool -p -a port0 -f 0 -u 9000 -m 00:01:02:03:04:00; snictool -p -a port1 -f 1 -u 9000 -m 00:02:02:03:04:00; snictool -p -a port2 -f 2 -u 9000 -m 00:03:02:03:04:00.

[0053] 2) Configure three elastic network interfaces (ENIs) on the host. The network interface names need to be modified according to the actual situation. You can first use the ifconfig command to view the MAC addresses of the network interfaces and confirm that pf0, pf1, and pf2 correspond to the network interfaces.

[0054] # Load the driver; modprobe virtio_net virtio_ring virtio_pci; # Check the PF corresponding to the network card according to the MAC address (snictool -p -l); ip a; # pf0; ifconfig ens3 12.12.12.67 / 24; # pf1; ifconfig eth1 13.13.13.67 / 24; # pf2; ifconfig eth2 14.14.14.23 / 24.

[0055] Step 3: Configure the peer IP 1) Configure the host network card IP address for the test; ifconfig xxx 12.12.12.13 / 24; ifconfig xxx 13.13.13.13 / 24; 2) Configure soc pf3 ip (soc must load the driver first before it can see pf, and the pf3 name is fixed to ens6f3); modprobe virtio_net; modprobe virtio_ring; modprobe virtio_pci; ifconfig ens6f3 hw ether cc1cce91d38f; ifconfig ens6f3 14.14.14.24 / 24.

[0056] Step 4: Configure the traffic diversion rules on the SOC side: for i in $(seq 0 7); do snictool -c -d 2 $i; done; snictool -e -b 1; snictool -e -a 0; # pf0<->mac0; snictool -c -w -e 0x80 0xffff -q 0 -v 0x65; snictool -c -w -e 0x65 0xffff -q 0 -v 0x80; # pf1<->mac1; snictool -c -w -e 0x81 0xffff -q 0 -v 0x66; snictool -c -w -e 0x66 0xffff -q 0 -v 0x81; # pf2<->soc pf3; snictool -c -w -e 0x3 0xffff -q 0 -v 0x82; snictool -c -w -e 0x82 0xffff -q 0 -v 0x3; 5. IPERF traffic test (UDP large packet 8000, speed limit 24G) The host uses iperf 2.0.8, and the soc uses iperf 2.1.6. The MTU of the traffic network card is 9000. The soc and host sides have already set the MTU to 9000 in the steps. When the performance critical point is exceeded, the speed will be reduced and the speed limit will be strictly followed.

[0057] Among them, test step 1: HOST---MAC flow Start the iperf client and iperf server.

[0058] Start the iperf server on the host, soc, and companion test host respectively: iperf -s -w 1M -u -D; The host sends traffic to the companion host. In this example, the traffic rate is limited to 24G.

[0059] iperf -c 12.12.12.13 -i 1 -b 8G -w 1M -t 3000 -u -l 8000 -P 3; iperf -c 13.13.13.13 -i 1 -b 8G -w 1M -t 3000 -u -l 8000 -P 3; The accompanying host sends traffic to the host.

[0060] iperf -c 12.12.12.67 -i 1 -b 8G -w 1M -t 3000 -u -l 8000 -P 3; iperf -c 13.13.13.67 -i 1 -b 8G -w 1M -t 3000 -u -l 8000 -P 3.

[0061] Among them, test step 2: HOST---SOC flow Start the iperf client and iperf server.

[0062] Start the iperf server on the host and soc respectively: iperf -s -w 1M -u -D; The host sends traffic to the soc, with a speed limit of 45G.

[0063] iperf -c 14.14.14.24 -i 1 -b 15G -w 1M -t 3000 -u -l 8000 -P 3.

[0064] The soc sends traffic to the host, with a speed limit of 45G.

[0065] iperf -c 14.14.14.23 -i 1 -b 15G -w 1M -t 3000 -u -l 8000 -P 3.

[0066] To summarize the test steps above: There are three PFs on the host side. PF usually refers to "Physical Function".

[0067] First, the traffic flows from the host's pf1 to mac0 under the SOC, passes through the switch to the companion test server, and is routed back to pf1. Secondly, the host's pf0 flows to mac1 under the SOC, passes through the switch, and is routed back to pf0 on the accompanying test server. Finally, pf2 and pf3 on the host and soc sides create traffic between each other; the accompanying test server monitors the network performance data flow to determine whether it meets the declared bandwidth value, thereby verifying the stable performance test.

[0068] In this embodiment, the network card stability testing method further includes: Obtain test data for normal installed versions of network firmware and various abnormal mirror versions of network firmware, obtain the links corresponding to the test data, and classify and compile statistics based on the links; Compare the test data of the normal installed version of network firmware and multiple abnormal mirror versions of network firmware belonging to the same link to identify the defective functions of the network card and adjust the corresponding code accordingly.

[0069] Specifically, as shown in Table 1, Table 1 shows the test data statistics of the storage network test flow when the network card is a normal installed version of the network firmware and multiple abnormal mirror versions of the network firmware.

[0070] Table 1

[0071] As shown in Table 2, Table 2 shows the test data statistics of the performance test when the network card uses the normal installed version of network firmware and various abnormal mirror versions of network firmware.

[0072] Table 2

[0073] In this embodiment, the network card stability testing method further includes: In response to the service usage performance of the network card being unqualified or the storage read / write performance of the network card being unqualified, the test data of the network card is recorded and an early warning message is issued.

[0074] Among them, by setting early warning information, the corresponding code of the defective function of the network card can be accurately found, and the early warning information can be used to accurately adjust and optimize the network performance of the network card to achieve the optimization of the network card stability.

[0075] This application can compare and analyze the performance test results when running a normal installed version of network firmware and an abnormal mirror version of network firmware to find out the defective functions of the network card, adjust the corresponding code according to the defective functions, and optimize the stability of the network card.

[0076] FPGA applications extend from traditional industrial control to cutting-edge fields like AI and autonomous driving. Their core value lies in hardware flexibility, parallel efficiency, and low latency. With the evolution of tool chains and the rise of heterogeneous computing, FPGAs are transforming from "dedicated accelerators" to "reconfigurable computing platforms," ​​becoming a key component for solving complex scenarios. Typical signals for choosing FPGAs include the need for hardware acceleration but unfixed protocols, extreme sensitivity to latency / power consumption, or the need for rapid prototyping. The above solution is used to verify FPGA version stability. By implementing a layered testing strategy (simulation → hardware → environment) and a test tool chain from the design stage, firmware reliability can be significantly improved, reducing production risks. This improves efficiency and optimizes the reliability of the final product.

[0077] In the above network card stability test method, the normal installed version network firmware and the abnormal mirror version network firmware are burned in the network card controller. The network card stability test is performed when running the normal installed version network firmware and the abnormal mirror version network firmware. The abnormal mirror version network firmware can be set according to actual needs and can fully obtain test data, so that the performance test results can be compared and analyzed based on different versions of test data to find out the defects of the network card and realize comprehensive testing of the network card stability.

[0078] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0079] In one embodiment, Figure 7As shown, a network card stability testing device 10 is provided, including: a normal installed version network firmware testing module 1, a version switching management module 2, and an abnormal mirror version network firmware testing module 3.

[0080] The normal installed version network firmware test module 1 is used to perform a business usage performance test on the network card in response to the normal installed version network firmware running in the network card, and monitor the network performance data flow value of the network card; and determine the business usage performance test result of the network card according to the network performance data flow value.

[0081] The version switching management module 2 is configured to set the normal installed version network firmware to be invalid in response to the normal installed version network firmware completing the service usage performance test, and restart the network card to run the abnormal mirror version network firmware.

[0082] The abnormal mirror version network firmware testing module 3 is used to perform a storage network flow test on the network card in response to the abnormal mirror version network firmware running in the network card, and monitor the bandwidth value of the network card; and determine the storage read and write performance test result of the network card according to the bandwidth value.

[0083] In this embodiment, if Figure 7 As shown, the network card stability testing device 10 further includes a version storage management module 4, which is used to: Obtain the storage space of the controller in the network card to be tested, and divide the storage space into tool reserved space, image file space, and application file space according to the storage address; The abnormal image version network firmware is burned in the image file space. The abnormal image version network firmware has functions including flash memory burning, network port and communication interface. The abnormal image version network firmware does not match the device type of the network card. Burn the normal installation version of the network firmware in the application file space. The normal installation version of the network firmware matches the device type of the network card.

[0084] In this embodiment, the version storage management module 4 is used to: Determine whether the normal installed version network firmware and the abnormal mirror version network firmware exist independently of each other; In response to the normal installed version network firmware and the abnormal mirror version network firmware not existing independently, the normal installed version network firmware and the abnormal mirror version network firmware are combined to produce a first programming data file; when the normal installed version network firmware or the abnormal mirror version network firmware is upgraded, the corresponding network firmware in the first programming data file is upgraded; In response to the fact that the normal installed version network firmware and the abnormal mirror version network firmware exist independently of each other, the normal installed version network firmware is made into a second programming data file; when the normal installed version network firmware is upgraded, the second programming data file is upgraded; when the abnormal mirror version network firmware is upgraded, the abnormal mirror version network firmware in the mirror file space is upgraded.

[0085] In this embodiment, the version storage management module 4 is used to: In response to the upgrade of the normal installed version network firmware, performing an in-band update on the abnormal mirror version network firmware according to the update content of the normal installed version network firmware, obtaining a manager associated with the normal installed version network firmware, and performing an out-of-band update on the manager; In response to burning an abnormal image version of network firmware in the image file space or upgrading the abnormal image version of network firmware, restarting the network card; In response to the abnormal image version network firmware being upgraded, the normal installed version network firmware is updated in-band according to the updated content of the abnormal image version network firmware, the manager associated with the abnormal image version network firmware is obtained, and the manager is updated out-of-band.

[0086] In this embodiment, the controller in the network card to be detected is burned with a normal installed version of network firmware and an abnormal mirror version of network firmware, and further includes: In response to the network card being powered on for the first time, controlling the network card to start a normal installed version of network firmware; In response to switching the normal installed version network firmware to the abnormal mirror version network firmware, triggering the version switch via an email remote system update command, controlling the normal installed version network firmware to be invalid so as to shut down the normal installed version network firmware, switching the network card to the abnormal mirror version network firmware, and restarting the network card to rescan the solid-state drive device after the function switch; In response to the network card being powered on again after being powered off, the network card is controlled to start a normal installed version of network firmware.

[0087] In this embodiment, in response to running an abnormal mirror version of network firmware in the network card, performing a storage network traffic test on the network card and monitoring the bandwidth value of the network card includes: The types of storage network traffic tests for the network card include storage traffic test and network traffic test. Perform storage traffic testing in response to testing the network card's storage read / write performance, throughput limit, or latency; In response to testing the bandwidth capacity, packet loss rate, delay jitter or protocol processing capability of the network card, a network flow test is performed.

[0088] The storage traffic test includes: A storage application, a first physical network port function module, and a second physical network port function module are set in the controller of the network card, and the first physical network port function module and the second physical network port function module are connected through the storage application; A first address table and a second address table are set in the network card, and the first address table and the second address table are connected to the accompanying test end server through a switch; The host machine (Host) is configured to include a paravirtualized block device driver (virtio-blk) and a paravirtualized network communication driver (virtio-net), the first address table is connected to the second physical network port function module, the first physical network port function module is connected to the paravirtualized block device driver (virtio-blk), and the paravirtualized network communication driver (virtio-net) is connected to the second address table; After the companion test server is connected to the network card through the switch, the network card sends a one-way data stream to the paravirtualized block device driver (virtio-blk). The host sends data back to the network card through the reverse link. The companion test server monitors the data flow and bandwidth and determines whether it exceeds the preset bandwidth value. The accompanying test server is connected to the switch and connected to the paravirtualized network communication driver (virtio-net) through the second address table. The accompanying test server monitors the network performance data flow and determines whether it is greater than a preset bandwidth value.

[0089] In this embodiment, when performing a network traffic test, the following steps are included: A first address table and a second address table are set in the network card, and the first address table and the second address table are connected to the accompanying test end server through a switch; A third physical network port function module is set in the controller of the network card, and a host machine (Host) is set to include a first network card function module, a second network card function module and a third network card function module, the first network card function module is connected to the second address table, the second network card function module is connected to the first address table, and the third network card function module is connected to the third physical network port function module; The control traffic is sent from the second network card function module to the first address table, passes through the switch to the accompanying test server and is routed back to the second network card function module; Control traffic flows from the first network card function module to the second address table, passes through the switch to the accompanying test server and is routed back to the first network card function module; Control the third network card function module and the third physical network port function module to establish traffic between each other; The accompanying test server monitors the network performance data flow and determines whether it is greater than the preset bandwidth value.

[0090] In this embodiment, when performing a storage network traffic test on a network card, the following steps are also included: Determine whether the network card has performed a storage network flow test. If so, stop the storage input and output performance test and execute the disk mounting script to delete the disk. If not, execute the storage network flow test and skip executing the disk mounting script.

[0091] In this embodiment, when performing a storage network traffic test on a network card, the following steps are also included: Set the maximum transmission rate thresholds for the first, second, and third network card function modules in the host. When the transmission rate of any of the first, second, or third network card function modules exceeds the maximum transmission rate threshold, the speed is reduced.

[0092] In this embodiment, if Figure 7 As shown, the network card stability testing device 10 further includes a test result recording module 5, which is used to: Obtain test data for normal installed versions of network firmware and various abnormal mirror versions of network firmware, obtain the links corresponding to the test data, and classify and compile statistics based on the links; Compare test data from the normal installed version of network firmware and multiple abnormal image versions of network firmware belonging to the same link to identify defective functions of the network card and adjust the corresponding code accordingly; In response to the service usage performance of the network card being unqualified or the storage read / write performance of the network card being unqualified, the test data of the network card is recorded and an early warning message is issued.

[0093] In the above-mentioned network card stability testing device, the normal installed version of network firmware and the abnormal mirror version of network firmware are burned in the controller of the network card. When the normal installed version of network firmware and the abnormal mirror version of network firmware are running, the network card stability test is performed. The abnormal mirror version of network firmware can be set according to actual needs and can fully obtain test data, so that performance test results can be compared and analyzed based on different versions of test data to find out the defects of the network card and realize comprehensive testing of the network card stability.

[0094] For the description of the features in the embodiment corresponding to the network card stability testing device, please refer to the relevant description of the embodiment corresponding to the network card stability testing method, and no further details will be given here.

[0095] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned network card stability testing method embodiments.

[0096] In one embodiment, the electronic device may be a server, and its internal structure diagram may be as follows: Figure 8As shown. The electronic device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store network card stability test data. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a network card stability test method is implemented.

[0097] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned network card stability testing method embodiments when running.

[0098] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0099] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned network card stability testing method embodiments are implemented.

[0100] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-mentioned network card stability testing method embodiments.

[0101] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0102] The above is a detailed introduction to a network card stability testing method, electronic device, storage medium and program product provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.

Claims

1. A network card stability testing method, characterized in that: The controller of the network card is burned with a normal installed version of network firmware and an abnormal mirror version of network firmware, and the method includes: In response to the network card running the normal installed version of the network firmware, performing a service usage performance test on the network card and monitoring a network performance data flow value of the network card; Determining a service usage performance test result of the network card according to the network performance data flow value; In response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware; In response to the abnormal mirror version network firmware running in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card; A storage read / write performance test result of the network card is determined according to the bandwidth value.

2. The network card stability testing method according to claim 1, wherein: The method further comprises: Acquire the storage space of the controller in the network card, and divide the storage space into tool reserved space, image file space and application file space according to the storage address; Burning an abnormal image version network firmware in the image file space, the functions of the abnormal image version network firmware include flash memory burning, network port and communication interface, and the abnormal image version network firmware does not match the device type of the network card; A normal installation version of network firmware is burned in the application file space, and the normal installation version of network firmware matches the device type of the network card.

3. The network card stability testing method according to claim 2, wherein: The method further comprises: Determine whether the normal installed version network firmware and the abnormal mirror version network firmware exist independently of each other; In response to the normal installed version network firmware and the abnormal mirror version network firmware not existing independently, merging the normal installed version network firmware and the abnormal mirror version network firmware into a first programming data file; when the normal installed version network firmware or the abnormal mirror version network firmware is upgraded, the corresponding network firmware in the first programming data file is upgraded; In response to the fact that the normal installed version network firmware and the abnormal mirror version network firmware exist independently of each other, the normal installed version network firmware is made into a second programming data file; when the normal installed version network firmware is upgraded, the second programming data file is upgraded; when the abnormal mirror version network firmware is upgraded, the abnormal mirror version network firmware in the mirror file space is upgraded.

4. The network card stability testing method according to claim 3, wherein: The method further comprises: In response to the upgrade of the normal installed version network firmware, performing an in-band update on the abnormal mirror version network firmware according to the updated content of the normal installed version network firmware, obtaining a manager associated with the normal installed version network firmware, and performing an out-of-band update on the manager; In response to burning the abnormal image version network firmware in the image file space or upgrading the abnormal image version network firmware, restarting the network card.

5. The network card stability testing method according to claim 3, wherein: The method further comprises: In response to the abnormal mirror version network firmware being upgraded, the normal installed version network firmware is updated in-band according to the updated content of the abnormal mirror version network firmware, a manager associated with the abnormal mirror version network firmware is obtained, and the manager is updated out-of-band.

6. The network card stability testing method according to claim 2, wherein: In response to the normal installed version network firmware completing the service usage performance test, setting the normal installed version network firmware to invalid, and restarting the network card to run the abnormal mirror version network firmware includes: When the network card is powered on, the network card is controlled to start the normal installed version of the network firmware; In response to the normal installed version network firmware completing the business usage performance test, the version switch is triggered through the ‌email remote system update command, the normal installed version network firmware is controlled to be invalid to shut down the normal installed version network firmware, the network card switches the normal installed version network firmware to the abnormal mirror version network firmware, and after the function switch, the network card is restarted to rescan the solid-state hard disk device to run the abnormal mirror version network firmware.

7. The network card stability testing method according to claim 1, wherein: In response to the abnormal mirror version network firmware running in the network card, performing a storage network flow test on the network card and monitoring the bandwidth value of the network card includes: Setting the type of storage network traffic test to be performed on the network card to include storage traffic test and network traffic test; In response to testing the storage read / write performance, throughput limit or latency of the network card, performing a storage flow test; In response to testing the bandwidth capacity, packet loss rate, delay jitter or protocol processing capability of the network card, a network flow test is performed.

8. The network card stability testing method according to claim 7, characterized in that: The storage traffic test includes: A storage application, a first physical network port function module and a second physical network port function module are set in the controller of the network card, and the first physical network port function module and the second physical network port function module are connected through the storage application; A first address table and a second address table are set in the network card, wherein the first address table and the second address table are connected to the accompanying test end server through a switch; Setting the host machine to include a paravirtualized block device driver and a paravirtualized network communication driver, the first address table is connected to the second physical network port function module, the first physical network port function module is connected to the paravirtualized block device driver, and the paravirtualized network communication driver is connected to the second address table; After the companion test server is connected to the network card through the switch, the network card drives a unidirectional data flow to the paravirtualized block device, and the host machine transmits data back to the network card through the reverse link. The companion test server monitors the data flow and bandwidth and determines whether it is greater than a preset bandwidth value. If so, the storage read and write performance of the network card is recorded as qualified, otherwise the storage read and write performance of the network card is recorded as unqualified; The accompanying test server is connected to the switch and connected to the semi-virtualized network communication driver through the second address table. The accompanying test server monitors the network performance data flow and determines whether it is greater than the preset bandwidth value. If so, it records the storage read and write performance of the network card as qualified; otherwise, it records the storage read and write performance of the network card as unqualified.

9. The network card stability testing method according to claim 7, wherein: When conducting a network traffic test, the following are included: A first address table and a second address table are set in the network card, wherein the first address table and the second address table are connected to the accompanying test end server through a switch; A third physical network port function module is set in the controller of the network card, and a host machine is set to include a first network card function module, a second network card function module and a third network card function module, the first network card function module is connected to the second address table, the second network card function module is connected to the first address table, and the third network card function module is connected to the third physical network port function module; Control traffic is sent from the second network card function module to the first address table, passes through the switch to the accompanying test server and is routed back to the second network card function module; Control traffic flows from the first network card function module to the second address table, passes through the switch to the accompanying test server and is routed back to the first network card function module; Controlling the third network card function module and the third physical network port function module to establish traffic with each other; The accompanying test end server monitors the network performance data flow and determines whether it is greater than a preset bandwidth value. If so, the network transmission performance of the network card is recorded as qualified; otherwise, the network transmission performance of the network card is recorded as unqualified.

10. The network card stability testing method according to claim 7, wherein: When performing a storage network flow test on the network card, the method further includes: Determine whether the network card has performed a storage network flow test. If so, stop performing the storage input and output performance test and execute the disk hanging script to delete the disk. If not, perform the storage network flow test and skip executing the disk hanging script.

11. The network card stability testing method according to claim 9, characterized in that: When performing a storage network flow test on the network card, the method further includes: Set a maximum transmission rate threshold for the first network card function module, the second network card function module, and the third network card function module in the host machine, and perform speed reduction processing when the transmission rate of any one of the first network card function module, the second network card function module, or the third network card function module exceeds the maximum transmission rate threshold.

12. The network card stability testing method according to claim 1, wherein: The method further comprises: Obtain test data for normal installed versions of network firmware and various abnormal mirror versions of network firmware, obtain the links corresponding to the test data, and classify and compile statistics based on the links; Compare the test data of the normal installed version of network firmware and multiple abnormal mirror versions of network firmware belonging to the same link to identify the defective functions of the network card and adjust the corresponding code accordingly.

13. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the network card stability testing method according to any one of claims 1 to 12 when executing the computer program.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the network card stability testing method according to any one of claims 1 to 12 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the network card stability testing method according to any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • Processing method and device, equipment and memory medium

    CN107908415A

  • Application program performance test method and device, equipment and storage medium

    CN114490375A

  • Network card stability test method and device, equipment and storage medium

    CN115580550A

  • Fault detection method and device of network card equipment, program product and storage medium

    CN118590414A

  • Monitoring device, method for monitoring, and monitor program

    JP2021149132A