Check Rx traffic classificationΒΆ

Make sure that traffic classification is carried out properly by the driver

The test receives a packet, inspects its packet type field and makes sure the results are eligible as per the capabilities advertised by the driver.

  1. Start the port

  2. Configure UDP tunnel port number if need be

  3. Enable promiscuous mode if supported

  4. Ensure that interface is UP on Tester side

  5. Transmit a packet to the iut_port and obtain the pattern

  6. Receive the packet on port iut_port and check that the received packet matches the sent one

  7. Get packet type from the received mbuf

  8. Get supported packet types

  9. Check that packet type is correct

Parameters:

tmpl

Traffic template