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.

  1. Prepare default config

  2. Prepare TEST_ETHDEV_CONFIGURED state

  3. Set up Tx queue with specified number of Tx descriptors

  4. Check number of descriptor in Tx queue info if supported

  5. Prepare TEST_ETHDEV_STARTED state

  6. Prepare mbufs to be sent and pattern to match it by template

  7. Bump Rx ring size to maximum on Tester side

  8. Ensure that interface is UP on Tester side

  9. Send the mbufs from iut_port

  10. Receive and match the packets

  11. Check that no extra packets are received on Tester

  12. Check that received and sent packet counts match

Ivan Ilchenko Ivan.Ilchenko@oktetlabs.ru

Parameters:

template

Traffic template

nb_txd

Tx descriptors number