RX burst simple test

Receive a burst of packets

Make sure the RX queue able to successfully receive some burst of packets

  1. Initialize EAL

  2. Prepare tmpl for test

  3. Start the Ethernet device

  4. Configure UDP tunnel port number if need be

  5. Change tst_if MTU and iut_port MTU to be able to transmit or receive bigger frames if required

  6. Ensure that interface is UP on Tester side

  7. Transmit and sniff nb_pkts packets from tst_if

  8. Receive packets on iut_port

  9. Check received packets

  10. Check the number of received and match packets

Parameters:

tmpl

Traffic template

nb_pkts

The number of packets

payload_len

Payload length