Check VLAN filter offload
Check VLAN filter offload functionality.
Set rx-vlan-filter feature on the IUT interface according to value of vlan_filter_on test parameter.
Ensure that promiscuous mode is disabled on the IUT interface.
Allocate a pair of IP addresses to be used in VLAN.
Create a CSAP on IUT to capture UDP packets sent to iut_addr2.
Create a CSAP on Tester to send packets to iut_addr2.
Send untagged packet when no VLANs are added yet.
Send a packet to vlan_a_id when no VLANs are added yet.
Add VLANs vlan_a_id and vlan_b_id to the iut_if.
Send untagged packet when VLANs are added.
Send a packet to added VLAN vlan_a_id.
Send a packet to added VLAN vlan_b_id.
Delete VLAN vlan_a_id from the iut_if.
Send a packet to still added VLAN vlan_b_id.
Send a packet to just removed VLAN vlan_a_id.
Delete the VLAN vlan_b_id from the iut_if.
Send a packet to VLAN vlan_b_id when all VLANs are removed.
Send untagged packet when all VLANs are removed.
Andrew Rybchenko andrew.rybchenko@oktetlabs.ru
Parameters:
env |
Testing environment: |
vlan_filter_on |
If |