Tx behavior with different descriptors numberΒΆ
Given some descriptor count, verify queue setup and packet transmit
The test sets up Tx queue with specified descriptors number checking reported limits. IUT transmits a big packets burst to verify the number of packets device reported to send and tester received with respect to set up descriptors.
Prepare default config
Prepare
TEST_ETHDEV_CONFIGURED
stateSet up Tx queue with specified number of Tx descriptors
Check number of descriptor in Tx queue info if supported
Prepare
TEST_ETHDEV_STARTED
statePrepare mbufs to be sent and pattern to match it by template
Ensure that interface is UP on Tester side
Send the mbufs from iut_port
Receive and match the packets
Check that no extra packets are received on Tester
Check that received and sent packet counts match
Ivan Ilchenko Ivan.Ilchenko@oktetlabs.ru
Parameters:
template |
Traffic template |
nb_txd |
Tx descriptors number |