Set port based VLAN ID
Check port based VLAN ID insertion support
Check the correctness of port based VLAN ID insertion
Send the mbufs from iut_port
Receive and match the packets
Check that no extra packets are received on Tester
Initialize EAL
Prepare mbuf to be sent and pattern to match it by tmpl
Enable Tx PVID directly
Start the Ethernet device with Tx PVID offload enabled
Ensure that interface is UP on Tester side
Check Tx PVID configuration after start
Set Tx PVID with RTE API
Check Tx PVID configuration
Parameters:
tmpl |
Traffic template |
txmode_pvid |
VLAN ID to set PVID using ethdev configuration |
txmode_prio |
VLAN priority to set using ethdev configuration |
txmode_cfi |
VLAN CFI to set using ethdev configuration |
api_pvid |
VLAN ID to set PVID using RTE API |
api_prio |
VLAN priority field to set using RTE API |
api_cfi |
VLAN CFI field to set using RTE API |