Packet receiving and sending test method and device driven by network card

By generating test messages through the IOCTL interface and interacting with the network card driver, the verification problem of the network card driver's packet sending and receiving channel when the hardware is not yet complete is solved, realizing independent packet sending and receiving tests, shortening the chip verification cycle and reducing costs.

CN121009022APending Publication Date: 2025-11-25SHENZHEN YIHUA CLOUD NETWORK TECH CO LTD
0 Cites 1 Cited by

Patent Information

Application Number
CN202511194108.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-25
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

During chip development, the verification of the packet transmission and reception channels of the network card driver cannot be performed before the network card hardware platform is completed, resulting in a longer verification cycle and increased costs.

Method used

The test application implemented through the IOCTL interface generates test packets, interacts directly with the network card driver, and triggers packet sending or receiving tests. It is independent of the hardware platform and uses IOCTL commands to verify the driver's packet sending and receiving functions.

Benefits of technology

Independently complete network card driver packet transmission and reception channel testing before the hardware is ready, shorten the chip verification cycle, reduce development workload and cost, and improve testing efficiency.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides a network card driven packet receiving and sending test method and device, and relates to the field of drive function test.A test message is generated through a test application based on an IOCTL interface, a network card driver is triggered by means of an IOCTL command to execute packet receiving and sending logic, direct interaction with the driver is achieved, and the physical transmission link of hardware is skipped; and the software logic processing capability of the driver is directly tested. The function correctness is verified through the test result returned by the driver, the data returned by the network card driver is determined by the software logic of the driver, only the driver processing result and the expected result need to be compared in the whole process, and whether hardware actually completes physical transmission of the message or not does not need to be concerned. And the dependence on hardware is fundamentally eliminated.
Need to check novelty before this filing date? Find Prior Art