VLAN strip offload
Check VLAN strip offload
Check the successful VLAN header stripping
Initialize EAL
Check VLAN strip capability
Enable VLAN strip offload if vlan_strip is
TRUE
Check QinQ strip capability if qinq_strip is
TRUE
Enable QinQ strip offload if qinq_strip is
TRUE
Configure and start the Ethernet device
Configure UDP tunnel port number if need be
Enable promiscuous mode if supported
Ensure that interface is UP on Tester side
Transmit a packet from tst_if towards iut_port
Transform the pattern due to expected offloads
Receive packets on iut_port and match the pattern
Obtain mbuf flags and check them
Parameters:
vlan_strip |
Test with VLAN strip offload enabled |
qinq_strip |
Test with QinQ strip offload enabled |
tmpl |
Traffic template |