]> asedeno.scripts.mit.edu Git - linux.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)
commit55939b262a61d35d3ccde8a388976b946d654dcf
tree5d644bf03bf07ae2cacf155241b0824a24b5b611
parent0efe9ed98d15146becded107965b4e2f6b3aa805
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