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 <idosch@nvidia.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
08f876a7d7
commit
62199e3f16
3 changed files with 2320 additions and 0 deletions
|
@ -81,6 +81,7 @@ TEST_GEN_FILES += sctp_hello
|
||||||
TEST_GEN_FILES += csum
|
TEST_GEN_FILES += csum
|
||||||
TEST_GEN_FILES += nat6to4.o
|
TEST_GEN_FILES += nat6to4.o
|
||||||
TEST_GEN_FILES += ip_local_port_range
|
TEST_GEN_FILES += ip_local_port_range
|
||||||
|
TEST_PROGS += test_vxlan_mdb.sh
|
||||||
|
|
||||||
TEST_FILES := settings
|
TEST_FILES := settings
|
||||||
|
|
||||||
|
|
|
@ -48,3 +48,4 @@ CONFIG_BAREUDP=m
|
||||||
CONFIG_IPV6_IOAM6_LWTUNNEL=y
|
CONFIG_IPV6_IOAM6_LWTUNNEL=y
|
||||||
CONFIG_CRYPTO_SM4_GENERIC=y
|
CONFIG_CRYPTO_SM4_GENERIC=y
|
||||||
CONFIG_AMT=m
|
CONFIG_AMT=m
|
||||||
|
CONFIG_VXLAN=m
|
||||||
|
|
2318
tools/testing/selftests/net/test_vxlan_mdb.sh
Executable file
2318
tools/testing/selftests/net/test_vxlan_mdb.sh
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue