Rx behavior with different descriptors number
Given some descriptor count, verify queue setup and packet reception
The test sets up Rx queue with specified descriptors number checking reported limits. Tester side transmits a big packets burst to verify the number of packets IUT receives with respect to set up descriptors.
Prepare default config and mbuf pool
Prepare
TEST_ETHDEV_CONFIGURED
stateSet up Rx queue with specified number of Rx descriptors
Check number of descriptor in Rx queue info if supported
Prepare
TEST_ETHDEV_STARTED
statePrepare 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
Ivan Ilchenko Ivan.Ilchenko@oktetlabs.ru
Parameters:
template |
Traffic template |
nb_rxd |
Rx descriptors number |