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.
Start the port
Configure UDP tunnel port number if need be
Enable promiscuous mode if supported
Ensure that interface is UP on Tester side
Transmit a packet to the iut_port and obtain the pattern
Receive the packet on port iut_port and check that the received packet matches the sent one
Get packet type from the received mbuf
Get supported packet types
Check that packet type is correct
Parameters:
tmpl |
Traffic template |