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. Initialize and configure the Ethernet device

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

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

  5. Setup Tx queues, start the Ethernet device and wait for link up

  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