Rx behavior with number of packets greater than descriptors number
Make sure that driver can correctly refill Rx queue desc ring
Prepare default config and mbuf pool
Initialize the Ethernet device to get its capabilities
Check Rx queue number of descriptors limitations
Set Rx queue number of descriptors
Configure, setup Rx/Tx queues, start the Ethernet device and wait for link up
Check number of descriptors in Rx queue info if supported
Prepare template for test
Ensure that interface is UP on Tester side
Transmit and sniff nb_packets packets from tst_if
Receive packets on iut_port
Daniil Byshenko Daniil.Byshenko@oktetlabs.ru
Parameters:
template |
Traffic template |
nb_rxd |
Rx descriptors number |
nb_wrap |
Number of ring refilling |