CN112653595B - Chip network function testing method and device, storage medium and equipment - Google Patents

Chip network function testing method and device, storage medium and equipment Download PDF

Info

Publication number
CN112653595B
CN112653595B CN202011482378.1A CN202011482378A CN112653595B CN 112653595 B CN112653595 B CN 112653595B CN 202011482378 A CN202011482378 A CN 202011482378A CN 112653595 B CN112653595 B CN 112653595B
Authority
CN
China
Prior art keywords
network interface
interface card
test data
sending
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011482378.1A
Other languages
Chinese (zh)
Other versions
CN112653595A (en
Inventor
刘署
徐宏思
桂晓峰
李育飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Haiguang Integrated Circuit Design Co Ltd
Original Assignee
Chengdu Haiguang Integrated Circuit Design Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Haiguang Integrated Circuit Design Co Ltd filed Critical Chengdu Haiguang Integrated Circuit Design Co Ltd
Priority to CN202011482378.1A priority Critical patent/CN112653595B/en
Publication of CN112653595A publication Critical patent/CN112653595A/en
Application granted granted Critical
Publication of CN112653595B publication Critical patent/CN112653595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

One or more embodiments of the invention disclose a chip network function testing method, device, storage medium and equipment, the method includes: sending first test data to a second network interface card through a first network interface card, wherein the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are located on the same mainboard, and the chip is arranged on the mainboard; and comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result.

Description

Chip network function testing method and device, storage medium and equipment
Technical Field
The invention relates to the technical field of computers, in particular to a chip network function testing method, a chip network function testing device, a chip network function testing storage medium and a chip network function testing device.
Background
At present, when testing the network function of a chip, a server is generally used as an auxiliary testing tool, for example, a network card of a motherboard is connected to a server, and the test is performed by sending data between the motherboard and the server, so that not only a server dedicated for testing but also a space dedicated for placing the server needs to be provided, thereby reducing the testing efficiency and improving the testing cost.
Disclosure of Invention
In view of this, one or more embodiments of the present invention provide a method, an apparatus, a storage medium, and a device for testing a chip network function, which can effectively improve testing efficiency.
One or more embodiments of the present invention provide a method for testing a chip network function, including: sending first test data to a second network interface card through a first network interface card, wherein the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are located on the same mainboard, and the chip is arranged on the mainboard; and comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result.
Optionally, the method further includes: before sending first test data to a second network interface card through a first network interface card, creating a first virtual network interface card of the first network interface card and creating a second virtual network interface card of the second network interface card; sending, by a first network interface card, first test data to a second network interface card, comprising: sending, by the first network interface card, the first test data to the first virtual network interface card;
sending, by the first virtual network interface card, the first test data to the second virtual network interface card; and sending the first test data to the second network interface card through the second virtual network interface card.
Optionally, the method further includes: after comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result, sending second test data to the first network interface card through the second network interface card; and comparing the second test data sent by the second network interface card with the test data actually received by the first network interface card to obtain a second test result.
Optionally, sending, by the second network interface card, second test data to the first network interface card, includes: sending, by the second network interface card, the second test data to the second virtual network interface card; sending, by the second virtual network interface card, the second test data to the first virtual network interface card; sending, by the first virtual network interface card, the second test data to the first network interface card.
Optionally, the motherboard includes a plurality of network interface cards, and the first network interface card and the second network interface card are two adjacent network interface cards in the motherboard.
One or more embodiments of the present invention further provide a device for testing a chip network function, including: the chip testing device comprises a first sending module, a second sending module and a chip module, wherein the first sending module is configured to send first testing data to a second network interface card through a first network interface card, the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are located on the same mainboard, and the chip is arranged on the mainboard; the first comparison module is configured to compare the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result.
Optionally, the apparatus further comprises: a creation module configured to create a first virtual network interface card of a first network interface card and create a second virtual network interface card of a second network interface card before transmitting first test data to the second network interface card through the first network interface card; the sending module is specifically configured to: sending, by the first network interface card, the first test data to the first virtual network interface card; sending, by the first virtual network interface card, the first test data to the second virtual network interface card; and sending the first test data to the second network interface card through the second virtual network interface card.
Optionally, the apparatus further comprises: the second sending module is configured to send second test data to the first network interface card through the second network interface card after comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result; and the second comparison module is configured to compare the second test data sent by the second network interface card with the test data actually received by the first network interface card to obtain a second test result.
Optionally, the second sending module is specifically configured to: sending, by the second network interface card, the second test data to the second virtual network interface card; sending, by the second virtual network interface card, the second test data to the first virtual network interface card; sending, by the first virtual network interface card, the second test data to the first network interface card.
Optionally, the motherboard includes a plurality of network interface cards, and the first network interface card and the second network interface card are two adjacent network interface cards in the motherboard.
One or more embodiments of the present invention further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements any one of the above methods for testing the chip network function.
One or more embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform a method of testing a chip network function as any one of the above.
According to the method for testing the chip network function, the first network interface card and the second network interface card in the same mainboard are connected through the network cable, the first test data are sent to the second network interface card through the first network interface card, the network function of the chip is obtained through the consistency of the first test data sent by the first network interface card and the data actually received by the second network interface card, the test efficiency is improved, a server is not needed to be used as an auxiliary test tool, and the test cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a method for testing chip network functionality in accordance with one or more embodiments of the invention;
FIG. 2 is a schematic structural diagram of a motherboard according to one or more embodiments of the present invention;
fig. 3 is a schematic structural diagram illustrating an apparatus for testing a chip network function according to one or more embodiments of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to one or more embodiments of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a method for testing a Network function of a chip according to one or more embodiments of the present invention, where the method is used to test the Network function of the chip in a motherboard integrated with a Network Interface Card (NIC), as shown in fig. 1, and the method includes:
step 101: sending first test data to a second network interface card through a first network interface card, wherein the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are located on the same mainboard, and the chip is arranged on the mainboard;
taking the motherboard shown in fig. 2 as an example, a network card 1 (an example of a first network interface card) and a network card 2 (an example of a second network interface card) are disposed on the motherboard, wherein the network card 1 and the network card 2 are connected through a network cable. In the motherboard shown in fig. 2, if the network card 1 and the network card 2 are not configured in the routing manner in advance, when the network card 1 sends data to the network card 2, the data will be transmitted inside the network card 1, so before the step 101 is executed, for example, the first network interface card and the second network interface card may be configured in the routing manner, so that the first network interface card sends the first test data to the second network interface card through the physical layer.
Step 102: and comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result.
In one or more embodiments of the present invention, two or more network interface cards may be integrated on the motherboard, and the first network interface card and the second network interface card may be, for example, two adjacent network interface cards of the plurality of network interface cards. For example, suppose that an even number of network interface cards are integrated on a motherboard, and four network cards, i.e., a network card a, a network B, a network card C, and a network D, are integrated here as an example for description, in this case, test data can be mutually transmitted between the network card a and the network card B to test whether data transmission and data reception functions of the network card a and the network card B are normal; and enabling the network card C and the network card D to mutually transmit test data so as to test whether the data transmitting and data receiving functions of the network card C and the network card D are normal or not. In another example, the motherboard may further integrate odd number of network interface cards, and here, three network cards, i.e., a network card E, a network F, and a network card G, are integrated as an example, in this case, the network card E and the network card F may transmit test data to each other to test the data transmission function and the data reception function of the two; and mutually sending test data between the network card F and the network card G to test the data sending function and the data receiving function of the network card F and the network card G.
For example, after a first network interface card transmits first test data to a second network interface card, the first test data may be recorded, after the second network interface card receives the test data from the first network interface card, if the test data from the first network interface card actually received by the second network interface card is found to be consistent with the first test data through comparison, it may be determined that the transmission function of the first network interface card is normal, and it may be determined that the reception function of the second network interface card is normal, otherwise, if the test data from the first network interface card actually received by the second network interface card is found to be inconsistent with the first test data through comparison, it may be determined that the transmission function of the first network interface card is abnormal, or it may be determined that the reception function of the second network interface card is abnormal.
According to the method for testing the chip network function, the first network interface card and the second network interface card in the same mainboard are connected through the network cable, the first test data are sent to the second network interface card through the first network interface card, the network function of the chip is obtained through the consistency of the first test data sent by the first network interface card and the data actually received by the second network interface card, the test efficiency is improved, a server is not needed to be used as an auxiliary test tool, and the test cost is saved.
In one or more embodiments of the present invention, the method for testing a chip network function may further include: before sending first test data to a second network interface card through a first network interface card, creating a first virtual network interface card of the first network interface card and creating a second virtual network interface card of the second network interface card. After creating the first virtual network interface card of the first network interface card and the second virtual network interface card of the second network interface card, the first test data may be made to be transmitted from the first network interface card to the second network interface card through the physical layer, for example, the first test data may be transmitted via a path of the first network interface card-the first virtual network interface card-the second network interface card. Thus, in one or more embodiments of the invention, sending first test data to a second network interface card via a first network interface card may include:
sending, by the first network interface card, the first test data to the first virtual network interface card;
sending, by the first virtual network interface card, the first test data to the second virtual network interface card;
and sending the first test data to the second network interface card through the second virtual network interface card.
In one or more embodiments of the present invention, after performing steps 101 to 102 shown in fig. 1, a test result relating to the sending function of the first network interface card and the receiving function of the second network interface card may be obtained, and based on this, in order to further test the receiving function of the first network interface card and the sending function of the second network interface card, the method for testing the network function of the chip according to one or more embodiments of the present invention may further include:
after comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result, sending second test data to the first network interface card through the second network interface card;
and comparing the second test data sent by the second network interface card with the test data actually received by the first network interface card to obtain a second test result. For example, after the second network interface card sends the second test data to the first network interface card, the second test data may be recorded, after the first network interface card receives the data from the second network interface card, if the data from the second network interface card actually received by the first network interface card is found to be consistent with the second test data through comparison, it is determined that the sending function of the second network interface card is normal, and it is determined that the receiving function of the first network interface card is normal, otherwise, if the data from the second network interface card actually received by the first network interface card is found to be inconsistent with the second test data through comparison, it is determined that the sending function of the second network interface card is abnormal or it is determined that the receiving function of the first network interface card is abnormal.
In one or more embodiments of the invention, sending, by the second network interface card, second test data to the first network interface card may include:
sending, by the second network interface card, the second test data to the second virtual network interface card;
sending, by the second virtual network interface card, the second test data to the first virtual network interface card;
sending, by the first virtual network interface card, the second test data to the first network interface card. For example, in the process of testing the transmission function of the first network interface card and the reception function of the second network interface card, the first virtual network interface card and the second virtual network interface card are already created, so in this embodiment, the already created first virtual network interface card and second virtual network interface card can be used without creating any virtual network interface card again.
In one example, the motherboard includes a plurality of network interface cards, and the first network interface card and the second network interface card may be two adjacent network interface cards in the motherboard. In this way, the network line between two connected network interface cards can be shortened as much as possible. In another example, based on the requirements of convenience for routing or aesthetic appearance, the first network interface card and the second network interface card may also be two non-adjacent network interface cards in the motherboard, for example, it is assumed that the motherboard includes a network card 1, a network card 2, a network card 3, a network card 4, a network card 5, and a network card 6 that are adjacently disposed in sequence, and the first network interface card and the second network interface card may be the network card 1 and the network card 2, the network card 1 and the network card 3, the network card 2 and the network card 6, and the like. In another example, two network cards may be randomly selected from the motherboard as the first network interface card and the second network interface card to perform the testing method of the chip network function according to actual requirements. Fig. 3 is a schematic structural diagram of a device for testing chip network functions according to one or more embodiments of the present invention, and as shown in fig. 3, the device 30 includes:
the first sending module 31 is configured to send first test data to a second network interface card through a first network interface card, where the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are located on a same motherboard, and the chip is disposed on the motherboard;
the first comparing module 32 is configured to compare the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result.
In one or more embodiments of the present invention, the chip network function testing apparatus may further include:
a creation module configured to create a first virtual network interface card of a first network interface card and create a second virtual network interface card of a second network interface card before transmitting first test data to the second network interface card through the first network interface card;
the sending module may be specifically configured to:
sending, by the first network interface card, the first test data to the first virtual network interface card; sending, by the first virtual network interface card, the first test data to the second virtual network interface card; and sending the first test data to the second network interface card through the second virtual network interface card.
In one or more embodiments of the present invention, the chip network function testing apparatus may further include: the second sending module is configured to send second test data to the first network interface card through the second network interface card after comparing the first test data sent by the first network interface card with the test data actually received by the second network interface card to obtain a first test result; and the second comparison module is configured to compare the second test data sent by the second network interface card with the test data actually received by the first network interface card to obtain a second test result.
In one or more embodiments of the present invention, the second sending module may be specifically configured to: sending, by the second network interface card, the second test data to the second virtual network interface card; sending, by the second virtual network interface card, the second test data to the first virtual network interface card; sending, by the first virtual network interface card, the second test data to the first network interface card.
In one or more embodiments of the present invention, the motherboard includes a plurality of network interface cards, and the first network interface card and the second network interface card are two adjacent network interface cards in the motherboard.
One or more embodiments of the present invention further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the method for testing the chip network function as described above.
One or more embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform a method of testing a chip network function as any one of the above.
Fig. 4 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to one or more embodiments of the present invention, where the electronic device may include: a processor 410, a memory 420, an input/output interface 430, a communication interface 440, and a bus 450. Wherein processor 410, memory 420, input/output interface 430, and communication interface 440 are communicatively coupled to each other within the device via bus 450.
The processor 410 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 420 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 420 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 420 and called to be executed by the processor 410.
The input/output interface 430 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 440 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 450 includes a pathway to transfer information between various components of the device, such as processor 410, memory 420, input/output interface 430, and communication interface 440.
It should be noted that although the above-mentioned device only shows the processor 410, the memory 420, the input/output interface 430, the communication interface 440 and the bus 450, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for testing the network function of a chip is used for testing the network function of the chip in a mainboard integrated with a network interface card, and comprises the following steps:
the method comprises the steps that routing configuration is carried out on a first network interface card and a second network interface card in advance, first test data are sent to the second network interface card through the first network interface card, and the first test data are transmitted between the first network interface card and the second network interface card through a physical layer; the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are positioned on the same mainboard, and the chip is arranged on the mainboard;
and comparing whether the first test data sent by the first network interface card and the test data actually received by the second network interface card are consistent or not to obtain a first test result.
2. The method of claim 1, further comprising:
creating a first virtual network interface card of the first network interface card and creating a second virtual network interface card of the second network interface card before sending first test data to the second network interface card through the first network interface card;
sending, by the first network interface card, first test data to the second network interface card, comprising:
sending, by the first network interface card, the first test data to the first virtual network interface card;
sending, by the first virtual network interface card, the first test data to the second virtual network interface card;
and sending the first test data to the second network interface card through the second virtual network interface card.
3. The method of claim 2, further comprising:
after comparing whether the first test data sent by the first network interface card and the test data actually received by the second network interface card are consistent or not to obtain a first test result, sending second test data to the first network interface card through the second network interface card;
and comparing the second test data sent by the second network interface card with the test data actually received by the first network interface card to obtain a second test result.
4. The method of claim 3, wherein sending second test data to the first network interface card via the second network interface card comprises:
sending, by the second network interface card, the second test data to the second virtual network interface card;
sending, by the second virtual network interface card, the second test data to the first virtual network interface card;
sending, by the first virtual network interface card, the second test data to the first network interface card.
5. The method according to any one of claims 1 to 4, wherein a plurality of network interface cards are included in the motherboard, and the first network interface card and the second network interface card are two adjacent network interface cards in the motherboard.
6. A device for testing network functions of a chip, which is used for testing the network functions of the chip in a mainboard integrated with a network interface card, comprises:
the device comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is configured to carry out routing configuration on a first network interface card and a second network interface card in advance, and send first test data to the second network interface card through the first network interface card, and the first test data are transmitted between the first network interface card and the second network interface card through a physical layer; the first network interface card and the second network interface card are connected through a network cable, the first network interface card and the second network interface card are positioned on the same mainboard, and the chip is arranged on the mainboard;
the first comparison module is configured to compare whether the first test data sent by the first network interface card and the test data actually received by the second network interface card are consistent or not to obtain a first test result.
7. The apparatus of claim 6, further comprising:
a creation module configured to create a first virtual network interface card of the first network interface card and create a second virtual network interface card of the second network interface card before transmitting first test data to the second network interface card through the first network interface card;
the first transmitting module is specifically configured to:
sending, by the first network interface card, the first test data to the first virtual network interface card;
sending, by the first virtual network interface card, the first test data to the second virtual network interface card;
and sending the first test data to the second network interface card through the second virtual network interface card.
8. The apparatus of claim 7, further comprising:
the second sending module is configured to send second test data to the first network interface card through the second network interface card after comparing whether the first test data sent by the first network interface card and the test data actually received by the second network interface card are consistent to obtain a first test result;
and the second comparison module is configured to compare the second test data sent by the second network interface card with the test data actually received by the first network interface card to obtain a second test result.
9. The apparatus of claim 8, wherein the second transmitting module is specifically configured to:
sending, by the second network interface card, the second test data to the second virtual network interface card;
sending, by the second virtual network interface card, the second test data to the first virtual network interface card;
sending, by the first virtual network interface card, the second test data to the first network interface card.
10. The apparatus according to any one of claims 6 to 9, wherein the motherboard comprises a plurality of network interface cards, and the first network interface card and the second network interface card are two adjacent network interface cards in the motherboard.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for testing the functionality of a chip network according to any of claims 1 to 5 when executing the program.
12. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for testing chip network functions of any one of claims 1 to 5.
CN202011482378.1A 2020-12-15 2020-12-15 Chip network function testing method and device, storage medium and equipment Active CN112653595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011482378.1A CN112653595B (en) 2020-12-15 2020-12-15 Chip network function testing method and device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011482378.1A CN112653595B (en) 2020-12-15 2020-12-15 Chip network function testing method and device, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN112653595A CN112653595A (en) 2021-04-13
CN112653595B true CN112653595B (en) 2022-08-12

Family

ID=75354579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011482378.1A Active CN112653595B (en) 2020-12-15 2020-12-15 Chip network function testing method and device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN112653595B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618187A (en) * 2015-02-02 2015-05-13 浪潮电子信息产业股份有限公司 Method for on-line testing of functional completeness of network controller sideband interface (NCSI) network card
CN105515786A (en) * 2015-12-24 2016-04-20 浪潮电子信息产业股份有限公司 Network card, server and pre-boot test method
CN105591839A (en) * 2015-12-23 2016-05-18 浪潮集团有限公司 Device, method and system of testing network exchange chip
CN206649499U (en) * 2017-03-15 2017-11-17 郑州云海信息技术有限公司 A kind of circuit board for testing function of main board
CN109428778A (en) * 2017-08-24 2019-03-05 龙芯中科技术有限公司 Mainboard network connectivty test method and device
CN111949464A (en) * 2020-08-28 2020-11-17 海光信息技术有限公司 CPU network interface adaptability test board card, test system and test method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI231122B (en) * 2002-12-31 2005-04-11 Inventec Corp Method for balancing load of network interface card testing
CN100438453C (en) * 2005-11-08 2008-11-26 鸿富锦精密工业(深圳)有限公司 A system and method to test network card
US8134928B1 (en) * 2005-12-15 2012-03-13 Nvidia Corporation Technique for identifying a failed network interface card within a team of network interface cards
CN101882099B (en) * 2009-05-06 2013-11-06 鸿富锦精密工业(深圳)有限公司 Network card test system and method
US8369225B2 (en) * 2009-09-23 2013-02-05 Ixia Network testing providing for concurrent real-time ingress and egress viewing of network traffic data
TW201238287A (en) * 2011-03-15 2012-09-16 Askey Computer Corp Network interface test device
CN103532782B (en) * 2013-10-15 2017-07-28 东南大学 A kind of WLAN wireless network testers and its method of testing
CN109032866A (en) * 2018-07-25 2018-12-18 太仓市同维电子有限公司 A kind of multimachine test method of more network interface card test same network segment products
CN109474496A (en) * 2018-12-07 2019-03-15 南京南瑞继保电气有限公司 Network test method and device, storage medium and network element
CN110896366B (en) * 2019-05-14 2021-08-13 研祥智能科技股份有限公司 Network card function testing method and device of multi-network card equipment and storage medium
CN110677314B (en) * 2019-08-29 2021-09-21 视联动力信息技术股份有限公司 Network interface testing method, system, electronic device and storage medium
CN111224847B (en) * 2020-01-15 2023-02-28 西安青松光电技术有限公司 Network port test method and test system of sending card

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618187A (en) * 2015-02-02 2015-05-13 浪潮电子信息产业股份有限公司 Method for on-line testing of functional completeness of network controller sideband interface (NCSI) network card
CN105591839A (en) * 2015-12-23 2016-05-18 浪潮集团有限公司 Device, method and system of testing network exchange chip
CN105515786A (en) * 2015-12-24 2016-04-20 浪潮电子信息产业股份有限公司 Network card, server and pre-boot test method
CN206649499U (en) * 2017-03-15 2017-11-17 郑州云海信息技术有限公司 A kind of circuit board for testing function of main board
CN109428778A (en) * 2017-08-24 2019-03-05 龙芯中科技术有限公司 Mainboard network connectivty test method and device
CN111949464A (en) * 2020-08-28 2020-11-17 海光信息技术有限公司 CPU network interface adaptability test board card, test system and test method

Also Published As

Publication number Publication date
CN112653595A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN109145238B (en) Card display method and device and mobile device
CN109614372B (en) Object storage and reading method and device and service server
CN109359118B (en) Data writing method and device
US20130297563A1 (en) Timestamp management method for data synchronization and terminal therefor
EP3816924B1 (en) Method for accepting blockchain evidence storage transaction and system
US7895376B2 (en) Hardware configuration information system, method, and computer program product
CN107861691B (en) Load balancing method and device of multi-control storage system
CN109451098A (en) FPGA accelerator card MAC Address configuration method, device and accelerator card
US20170109253A1 (en) System and method for filtering system log under operating system
CN111506579A (en) Method, program and equipment for generating intelligent contract code
CN112653595B (en) Chip network function testing method and device, storage medium and equipment
CN108681558B (en) Data rollback method, device and terminal
CN110019538B (en) Data table switching method and device
CN110020264B (en) Method and device for determining invalid hyperlinks
CN116225690A (en) Memory multidimensional database calculation load balancing method and system based on docker
CN114546823B (en) Method for reproducing debug scenario of logic system design and related equipment
CN107341038B (en) Compatibility processing method and device and electronic equipment
CN113127099B (en) Server configuration method, device, equipment and storage medium
CN109656805B (en) Method and device for generating code link for business analysis and business server
CN114237807A (en) Associated control interaction method and device
JP6451482B2 (en) Load distribution method, load distribution program, and information processing apparatus
CN115645905B (en) Cursor display method and device, electronic equipment and storage medium
CN110191141B (en) Service calling information processing method and device and computer system
CN113238753A (en) Page generation method and device
CN117290203A (en) Code detection method and related equipment

Legal Events

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