Net Driver Test Suite
1.0
Net Driver Tests
Basic tests
Getting information about driver.
Reset NIC with SIOCETHTOOL
Changing MAC address and receiving
Changing MAC address and sending
MTU usage for TCP packets
MTU usage for UDP packets
Sending and receiving multicast packets
ping tool
Read driver sysfs files
Check Rx mode combinations
Sending and receiving data
Setting interface DOWN
Devlink tests
ct_thresh device parameter
dist_layout device parameter
separated_cpu device parameter
Ethtool tests
get and check ring size with ethtool
Getting device properties with ethtool
Obtain module EEPROM dump
Obtain EEPROM dump
Change driver message level
Obtain register dump
Reset NIC when data flows
Show EEE parameters with ethtool
Show FEC parameters with ethtool
Show transceiver module parameters with ethtool
Show pause parameters with ethtool
Getting interface statistics with ethtool
Get timestamping capabilities
Offloads tests
Receive Offload for TCP packets
Turning on/off Rx/Tx checksum offloading.
TCP Segmentation Offload
Check VLAN filter offload
Performance testing
TCP UPD performance test
Test Suite prologue
PTP tests
Tune clock frequency
Add offset to the current time
Get PTP clock capabilities
Get current time
Use ptp4l to synchronize clocks
Set clock time
Use sfptpd to synchronize clocks
Check PTP_SYS_OFFSET ioctl
Check PTP_SYS_OFFSET_EXTENDED ioctl
Check PTP_SYS_OFFSET_PRECISE ioctl
RSS tests
Check sending and receiving with AF_XDP sockets
Rx classification rule and AF_XDP socket
Two Rx rules and AF_XDP sockets
Changing number of combined channels.
Getting RSS hash key.
Changing RSS hash key.
Changing RSS hash indirection table.
Adding Rx rule for TCP or UDP
Two rules, one of them omits src or dst
Adding too many Rx rules
Rx path tests
Setting rx_max_coalesced_frames to a specific value
Setting rx_coalesce_usecs to a specific value
FCS forwarding
Stress tests
Unloading driver
driver_unload
Unloading driver when data flows
driver_unload_traffic
Setting interface DOWN/UP
Test argument types
do_if_down
env.iut_only
env.peer2peer
env.peer2peer_ipv6
env.peer2peer_mcast
env.peer2peer_mcast_ipv6
sock_stream_dgram
Terminology and Abbreviations
Terminology
Abbreviations
References List
Internal details
TRC Tags List
Global Namespace
struct net_drv_conn
Overview
Detailed Documentation
struct net_drv_flow
Overview
Detailed Documentation
struct net_drv_rss_ctx
Overview
Detailed Documentation
struct net_drv_xdp_cfg
Overview
Detailed Documentation
struct net_drv_xdp_sock
Overview
Detailed Documentation
Overview
Detailed Documentation
Typedefs
Global Functions
Macros
Net Driver Test Suite
Test argument types
View page source
Test argument types
Definition and description of argument types.
do_if_down
env.iut_only
env.peer2peer
env.peer2peer_ipv6
env.peer2peer_mcast
env.peer2peer_mcast_ipv6
sock_stream_dgram