Rx behavior with number of packets greater than descriptors number

Make sure that driver can correctly refill Rx queue desc ring

  1. Prepare default config and mbuf pool

  2. Prepare TEST_ETHDEV_INITIALIZED state

  3. Check Rx queue number of descriptors limitations

    • Set Rx queue number of descriptors

  4. Prepare TEST_ETHDEV_STARTED state

  5. Check number of descriptors in Rx queue info if supported

  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

Daniil Byshenko Daniil.Byshenko@oktetlabs.ru

Parameters:

template

Traffic template

nb_rxd

Rx descriptors number

nb_wrap

Number of ring refilling