]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add PVID test case for VXLAN with VLAN-aware bridges
authorIdo Schimmel <idosch@mellanox.com>
Fri, 7 Dec 2018 19:55:20 +0000 (19:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 20:59:08 +0000 (12:59 -0800)
commit3211d8a1667342d218c49c3b8fb1b0ea2719fc52
tree5d644bf03bf07ae2cacf155241b0824a24b5b611
parentbe24dafd3904fd666780dcab4624f92a80a5442f
selftests: forwarding: Add PVID test case for VXLAN with VLAN-aware bridges

When using VLAN-aware bridges with VXLAN, the VLAN that is mapped to the
VNI of the VXLAN device is that which is configured as "pvid untagged"
on the corresponding bridge port.

When these flags are toggled or when the VLAN is deleted entirely,
remote hosts should not be able to receive packets from the VTEP.

Add a test case for above mentioned scenarios.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/vxlan_bridge_1q.sh