RX burst simple test
Receive a burst of packets
Make sure the RX queue able to successfully receive some burst of packets
Initialize EAL
Prepare tmpl for test
Start the Ethernet device
Configure UDP tunnel port number if need be
Change tst_if MTU and iut_port MTU to be able to transmit or receive bigger frames if required
Ensure that interface is UP on Tester side
Transmit and sniff nb_pkts packets from tst_if
Receive packets on iut_port
Check received packets
Check the number of received and match packets
Parameters:
tmpl |
Traffic template |
nb_pkts |
The number of packets |
payload_len |
Payload length |