]> 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)
commitad160dd751c83b04a6ab4cc0bfda4b3f55d8a8a3
tree5d644bf03bf07ae2cacf155241b0824a24b5b611
parent9417cb37ebff317f7f5c3f131670c5cda8c8b5b8
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