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.

  1. Prepare default config and mbuf pool

  2. Prepare TEST_ETHDEV_CONFIGURED state

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

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

  5. Prepare TEST_ETHDEV_STARTED state

  6. Prepare template for test

  7. Ensure that interface is UP on Tester side

  8. Transmit and sniff nb_packets packets from tst_if

  9. Receive packets on iut_port

Ivan Ilchenko Ivan.Ilchenko@oktetlabs.ru

Parameters:

template

Traffic template

nb_rxd

Rx descriptors number