VLAN filter offload
Check VLAN filter offload
Check the correctness of VLAN filtering
Transmit and sniff a match packet from tst_if
Receive a packet on iut_port
Check received packets
Initialize EAL
Check VLAN filter capability
Prepare tmpl for test
Start the Ethernet device with VLAN filtering offload enabled
Ensure that interface is UP on Tester side
Send VLAN tagged packets just after device start when all VLANs are filtered out
Enable tested VLANs Rx
Send VLAN tagged packets and expect it to be received now
Disable tested VLANs Rx again
Send VLAN tagged packets and expect it to be filtered out
Parameters:
tmpl |
Traffic template |
nb_vlan_filters |
The number of VLAN IDs for filtering |