aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-11-28 20:07:08 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-30 17:06:29 -0800
commitb5166d7a92398e3bd7fc44f8705c07fdfbfc0c17 (patch)
tree5611b9a10a70e62897507b71c000c4abdc11a2f9 /tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh
parentselftests: mlxsw: Add a test for VxLAN configuration with a VLAN-aware bridge (diff)
downloadlinux-dev-b5166d7a92398e3bd7fc44f8705c07fdfbfc0c17.tar.xz
linux-dev-b5166d7a92398e3bd7fc44f8705c07fdfbfc0c17.zip
selftests: forwarding: Add VxLAN test with a VLAN-aware bridge
The test is very similar to its VLAN-unaware counterpart (vxlan_bridge_1d.sh), but instead of using multiple VLAN-unaware bridges, a single VLAN-aware bridge is used with multiple VLANs. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rwxr-xr-xtools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh b/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh
new file mode 100755
index 000000000000..b1b2d1a3164f
--- /dev/null
+++ b/tools/testing/selftests/net/forwarding/vxlan_bridge_1q_port_8472.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+# A wrapper to run VXLAN tests with an unusual port number.
+
+VXPORT=8472
+ALL_TESTS="
+ ping_ipv4
+"
+source vxlan_bridge_1q.sh