TX burst simple testΒΆ

Transmit packets using tmpl from the TX queue

Make sure that packets sent from the TX queue successfully received by iut_port

  1. Initialize EAL, preparing of configured Ethernet device state

  2. Prepare mbufs to be sent and pattern to match it by tmpl

  3. Find out required MTU

  4. Adjust MTU on both ends

  5. Prepare started Ethernet device state

  6. Ensure that interface is UP on Tester side

  7. Validate and send the mbufs to iut_port Make sure that all are sent

  8. Receive packet on tst_if Check that the received packets matches the sent one from iut_port

  9. Check that no extra packets are received on Tester

  10. Check that number of received packets equal to sent

Parameters:

tmpl

Traffic template

nb_pkts

Number of packets for sending

payload_len

Length of payload