Exclude VLAN tag interference between TxQs

Make sure that VLAN offloads on a TxQ have no impact on the others

The test is to verify that VLAN offload requests on different Tx queues don't interfere with each other or with Tx queues which don't involve VLAN offloads

  1. Check maximum number of Tx queues

  2. Check if VLAN insertion offload is supported and enable it

  3. Prepare TEST_ETHDEV_STARTED state

  4. Obtain the source Ethernet address

  5. Adjust the traffic template

  6. Book a suitable mempool

  7. Prepare packet bursts with randomly selected VLAN offload requests

  8. Aggregate all the patterns to yield a single pattern

  9. Create an RX CSAP on the TST host according to the template

  10. Start to capture traffic with the pattern prepared

  11. Ensure that interface is UP on Tester side

  12. Validate and send the bursts

  13. Stop capturing traffic

  14. Verify patterns match consistency

Parameters:

template

Traffic template

burst_size_per_txq

The number of packets to pass on each TxQ

nb_tx_queues

The number of Tx queues