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
Check maximum number of Tx queues
Check if VLAN insertion offload is supported and enable it
Prepare
TEST_ETHDEV_STARTED
stateObtain the source Ethernet address
Adjust the traffic template
Book a suitable mempool
Prepare packet bursts with randomly selected VLAN offload requests
Aggregate all the patterns to yield a single pattern
Create an RX CSAP on the TST host according to the template
Start to capture traffic with the pattern prepared
Ensure that interface is UP on Tester side
Validate and send the bursts
Stop capturing traffic
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 |