Skip to content

Commit 62199e3

Browse files
idoschdavem330
authored andcommitted
selftests: net: Add VXLAN MDB test
Add test cases for VXLAN MDB, testing the control and data paths. Two different sets of namespaces (i.e., ns{1,2}_v4 and ns{1,2}_v6) are used in order to test VXLAN MDB with both IPv4 and IPv6 underlays, respectively. Example truncated output: # ./test_vxlan_mdb.sh [...] Tests passed: 620 Tests failed: 0 Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 08f876a commit 62199e3

File tree

3 files changed

+2320
-0
lines changed

3 files changed

+2320
-0
lines changed

tools/testing/selftests/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ TEST_GEN_FILES += sctp_hello
8181
TEST_GEN_FILES += csum
8282
TEST_GEN_FILES += nat6to4.o
8383
TEST_GEN_FILES += ip_local_port_range
84+
TEST_PROGS += test_vxlan_mdb.sh
8485

8586
TEST_FILES := settings
8687

tools/testing/selftests/net/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ CONFIG_BAREUDP=m
4848
CONFIG_IPV6_IOAM6_LWTUNNEL=y
4949
CONFIG_CRYPTO_SM4_GENERIC=y
5050
CONFIG_AMT=m
51+
CONFIG_VXLAN=m

0 commit comments

Comments
 (0)