Set port based VLAN ID

Check port based VLAN ID insertion support

Check the correctness of port based VLAN ID insertion

  1. Send the mbufs from iut_port

  2. Receive and match the packets

  3. Check that no extra packets are received on Tester

  4. Initialize EAL

  5. Prepare mbuf to be sent and pattern to match it by tmpl

  6. Enable Tx PVID directly

  7. Start the Ethernet device with Tx PVID offload enabled

  8. Ensure that interface is UP on Tester side

  9. Check Tx PVID configuration after start

  10. Set Tx PVID with RTE API

  11. 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