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
Index
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
A
Add offset to the current time
group
Adding Rx rule for TCP or UDP
group
Adding too many Rx rules
group
B
Basic tests
group
bind_flags
variable
C
cache
variable
Change driver message level
group
Changing MAC address and receiving
group
Changing MAC address and sending
group
Changing number of combined channels.
group
Changing RSS hash indirection table.
group
Changing RSS hash key.
group
Check PTP_SYS_OFFSET ioctl
group
Check PTP_SYS_OFFSET_EXTENDED ioctl
group
Check PTP_SYS_OFFSET_PRECISE ioctl
group
Check Rx mode combinations
group
Check sending and receiving with AF_XDP sockets
group
Check VLAN filter offload
group
comp_size
variable
conn
variable
ct_thresh device parameter
group
D
define
NET_DRV_CLEANUP_SET_UP_WAIT
NET_DRV_CONN_INIT
NET_DRV_DEF_PTP_INACC
NET_DRV_FLOW_INIT
NET_DRV_PTP_OFFS_MAX_DEV_FROM_AVG
NET_DRV_RESET_FLAGS
NET_DRV_RSS_CHECK_SET_HFUNC
NET_DRV_RSS_CTX_INIT
NET_DRV_RX_RULE_LOC
NET_DRV_WAIT_IF_STATS_UPDATE
NET_DRV_XDP_CFG_DEF
NET_DRV_XDP_COPY_MODE
NET_DRV_XDP_SOCK_INIT
NET_DRV_XDP_WAIT_SOCKS
Devlink tests
group
dist_layout device parameter
group
do_if_down
group
driver_unload
group
driver_unload_traffic
group
duration
variable
E
env.iut_only
group
env.peer2peer
group
env.peer2peer_ipv6
group
env.peer2peer_mcast
group
env.peer2peer_mcast_ipv6
group
Ethtool tests
group
F
FCS forwarding
group
fd
variable
fill_size
variable
flow_id
variable
frame_len
variable
frames_num
variable
function
net_drv_add_tcpudp_rx_rule
net_drv_cat_all_files
net_drv_conn_check
net_drv_conn_create
net_drv_conn_destroy
net_drv_driver_name
net_drv_driver_set_loaded
net_drv_driver_unloadable
net_drv_ethtool_reset
net_drv_flow_destroy
net_drv_flow_finish
net_drv_flow_prepare
net_drv_flow_start
net_drv_neigh_nodes_count
net_drv_open_ptp_fd
net_drv_ptp_clock_time_diff
net_drv_ptp_offs_check_dev_avg
net_drv_ptp_offs_check_dev_gettime
net_drv_req_if_feature_change
net_drv_req_if_feature_configurable
net_drv_rss_check_set_hfunc
net_drv_rss_ctx_change_key
net_drv_rss_ctx_prepare
net_drv_rss_ctx_release
net_drv_rss_get_check_hkey
net_drv_rss_predict
net_drv_rss_send_check_stats
net_drv_rss_send_get_stats
net_drv_rx_rules_check_spec_loc
net_drv_rx_rules_check_table_size
net_drv_rx_rules_find_loc
net_drv_send_recv_check
net_drv_sendto_recv_check
net_drv_sendto_recv_check_may_loss
net_drv_set_check_mac
net_drv_set_if_feature
net_drv_set_mtu
net_drv_set_pci_param_uint
net_drv_timespec_diff
net_drv_try_set_if_feature
net_drv_ts_add_vlan
net_drv_wait_neigh_nodes_recover
net_drv_wait_up_gen
net_drv_xdp_adjust_rx_size
net_drv_xdp_create_sock
net_drv_xdp_create_socks
net_drv_xdp_destroy_sock
net_drv_xdp_destroy_socks
net_drv_xdp_echo
rpc_net_drv_recv_pkts_exact_delay
rpc_net_drv_send_pkts_exact_delay
rpc_net_drv_too_many_rx_rules
G
get and check ring size with ethtool
group
Get current time
group
Get PTP clock capabilities
group
Get timestamping capabilities
group
Getting device properties with ethtool
group
Getting information about driver.
group
Getting interface statistics with ethtool
group
Getting RSS hash key.
group
global
namespace
group
Add offset to the current time
Adding Rx rule for TCP or UDP
Adding too many Rx rules
Basic tests
Change driver message level
Changing MAC address and receiving
Changing MAC address and sending
Changing number of combined channels.
Changing RSS hash indirection table.
Changing RSS hash key.
Check PTP_SYS_OFFSET ioctl
Check PTP_SYS_OFFSET_EXTENDED ioctl
Check PTP_SYS_OFFSET_PRECISE ioctl
Check Rx mode combinations
Check sending and receiving with AF_XDP sockets
Check VLAN filter offload
ct_thresh device parameter
Devlink tests
dist_layout device parameter
do_if_down
driver_unload
driver_unload_traffic
env.iut_only
env.peer2peer
env.peer2peer_ipv6
env.peer2peer_mcast
env.peer2peer_mcast_ipv6
Ethtool tests
FCS forwarding
get and check ring size with ethtool
Get current time
Get PTP clock capabilities
Get timestamping capabilities
Getting device properties with ethtool
Getting information about driver.
Getting interface statistics with ethtool
Getting RSS hash key.
MTU usage for TCP packets
MTU usage for UDP packets
Net Driver Tests
Obtain EEPROM dump
Obtain module EEPROM dump
Obtain register dump
Offloads tests
Performance testing
ping tool
PTP tests
Read driver sysfs files
Receive Offload for TCP packets
References List
Requirements
Reset NIC when data flows
Reset NIC with SIOCETHTOOL
RSS tests
Rx classification rule and AF_XDP socket
Rx path tests
Sending and receiving data
Sending and receiving multicast packets
separated_cpu device parameter
Set clock time
Setting interface DOWN
Setting interface DOWN/UP
Setting rx_coalesce_usecs to a specific value
Setting rx_max_coalesced_frames to a specific value
Show EEE parameters with ethtool
Show FEC parameters with ethtool
Show pause parameters with ethtool
Show transceiver module parameters with ethtool
sock_stream_dgram
Stress tests
Tags
TCP Segmentation Offload
TCP UPD performance test
Terminology and Abbreviations
Test argument types
Test Suite prologue
Tune clock frequency
Turning on/off Rx/Tx checksum offloading.
Two rules, one of them omits src or dst
Two Rx rules and AF_XDP sockets
Unloading driver
Unloading driver when data flows
Use ptp4l to synchronize clocks
Use sfptpd to synchronize clocks
H
hash_key
variable
hash_variant
variable
I
if_name
variable
ignore_send_err
variable
in_progress
variable
indir_table_size
variable
K
key_len
variable
M
max_size
variable
mem
variable
min_size
variable
MTU usage for TCP packets
group
MTU usage for UDP packets
group
N
namespace
global
Net Driver Tests
group
net_drv_add_tcpudp_rx_rule
function
net_drv_cat_all_files
function
NET_DRV_CLEANUP_SET_UP_WAIT
define
net_drv_conn
struct
typedef
net_drv_conn_check
function
net_drv_conn_create
function
net_drv_conn_destroy
function
NET_DRV_CONN_INIT
define
NET_DRV_DEF_PTP_INACC
define
net_drv_driver_name
function
net_drv_driver_set_loaded
function
net_drv_driver_unloadable
function
net_drv_ethtool_reset
function
net_drv_flow
struct
typedef
net_drv_flow_destroy
function
net_drv_flow_finish
function
NET_DRV_FLOW_INIT
define
net_drv_flow_prepare
function
net_drv_flow_start
function
net_drv_neigh_nodes_count
function
net_drv_open_ptp_fd
function
net_drv_ptp_clock_time_diff
function
net_drv_ptp_offs_check_dev_avg
function
net_drv_ptp_offs_check_dev_gettime
function
NET_DRV_PTP_OFFS_MAX_DEV_FROM_AVG
define
net_drv_req_if_feature_change
function
net_drv_req_if_feature_configurable
function
NET_DRV_RESET_FLAGS
define
NET_DRV_RSS_CHECK_SET_HFUNC
define
net_drv_rss_check_set_hfunc
function
net_drv_rss_ctx
struct
typedef
net_drv_rss_ctx_change_key
function
NET_DRV_RSS_CTX_INIT
define
net_drv_rss_ctx_prepare
function
net_drv_rss_ctx_release
function
net_drv_rss_get_check_hkey
function
net_drv_rss_predict
function
net_drv_rss_send_check_stats
function
net_drv_rss_send_get_stats
function
NET_DRV_RX_RULE_LOC
define
net_drv_rx_rules_check_spec_loc
function
net_drv_rx_rules_check_table_size
function
net_drv_rx_rules_find_loc
function
net_drv_send_recv_check
function
net_drv_sendto_recv_check
function
net_drv_sendto_recv_check_may_loss
function
net_drv_set_check_mac
function
net_drv_set_if_feature
function
net_drv_set_mtu
function
net_drv_set_pci_param_uint
function
net_drv_timespec_diff
function
net_drv_try_set_if_feature
function
net_drv_ts_add_vlan
function
NET_DRV_WAIT_IF_STATS_UPDATE
define
net_drv_wait_neigh_nodes_recover
function
net_drv_wait_up_gen
function
net_drv_xdp_adjust_rx_size
function
net_drv_xdp_cfg
struct
typedef
NET_DRV_XDP_CFG_DEF
define
NET_DRV_XDP_COPY_MODE
define
net_drv_xdp_create_sock
function
net_drv_xdp_create_socks
function
net_drv_xdp_destroy_sock
function
net_drv_xdp_destroy_socks
function
net_drv_xdp_echo
function
net_drv_xdp_sock
struct
typedef
NET_DRV_XDP_SOCK_INIT
define
NET_DRV_XDP_WAIT_SOCKS
define
new_ports
variable
new_processes
variable
O
Obtain EEPROM dump
group
Obtain module EEPROM dump
group
Obtain register dump
group
Offloads tests
group
P
page
Test argument types
Performance testing
group
ping tool
group
PTP tests
group
R
Read driver sysfs files
group
Receive Offload for TCP packets
group
receiver_rpcs
variable
receiver_s
variable
References List
group
Requirements
group
Reset NIC when data flows
group
Reset NIC with SIOCETHTOOL
group
rpc_net_drv_recv_pkts_exact_delay
function
rpc_net_drv_send_pkts_exact_delay
function
rpc_net_drv_too_many_rx_rules
function
rpcs1
variable
,
[1]
rpcs2
variable
,
[1]
RSS tests
group
rss_ctx
variable
Rx classification rule and AF_XDP socket
group
Rx path tests
group
rx_frames
variable
rx_queues
variable
rx_size
variable
S
s1
variable
s1_addr
variable
s1_addr_st
variable
s2
variable
s2_addr
variable
s2_addr_st
variable
sender_ctx
variable
sender_rpcs
variable
sender_s
variable
Sending and receiving data
group
Sending and receiving multicast packets
group
separated_cpu device parameter
group
Set clock time
group
Setting interface DOWN
group
Setting interface DOWN/UP
group
Setting rx_coalesce_usecs to a specific value
group
Setting rx_max_coalesced_frames to a specific value
group
Show EEE parameters with ethtool
group
Show FEC parameters with ethtool
group
Show pause parameters with ethtool
group
Show transceiver module parameters with ethtool
group
sock
variable
sock_stream_dgram
group
sock_type
variable
Stress tests
group
struct
net_drv_conn
net_drv_flow
net_drv_rss_ctx
net_drv_xdp_cfg
net_drv_xdp_sock
success
variable
T
ta
variable
Tags
group
TCP Segmentation Offload
group
TCP UPD performance test
group
Terminology and Abbreviations
group
Test argument types
group
page
Test Suite prologue
group
Tune clock frequency
group
Turning on/off Rx/Tx checksum offloading.
group
Two rules, one of them omits src or dst
group
Two Rx rules and AF_XDP sockets
group
tx
variable
tx_size
variable
typedef
net_drv_conn
net_drv_flow
net_drv_rss_ctx
net_drv_xdp_cfg
net_drv_xdp_sock
U
umem
variable
Unloading driver
group
Unloading driver when data flows
group
Use ptp4l to synchronize clocks
group
Use sfptpd to synchronize clocks
group
V
variable
bind_flags
cache
comp_size
conn
duration
fd
fill_size
flow_id
frame_len
frames_num
hash_key
hash_variant
if_name
ignore_send_err
in_progress
indir_table_size
key_len
max_size
mem
min_size
new_ports
new_processes
receiver_rpcs
receiver_s
rpcs1
,
[1]
rpcs2
,
[1]
rss_ctx
rx_frames
rx_queues
rx_size
s1
s1_addr
s1_addr_st
s2
s2_addr
s2_addr_st
sender_ctx
sender_rpcs
sender_s
sock
sock_type
success
ta
tx
tx_size
umem