selftests: net: Add VXLAN MDB test
authorIdo Schimmel <idosch@nvidia.com>
Wed, 15 Mar 2023 13:11:55 +0000 (15:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:05:50 +0000 (08:05 +0000)
commit62199e3f16583e766f46d1767deca109fd8ea408
treea5c3e186cba39d49beef330f53768593647dbadf
parent08f876a7d79ed235f90af0373d1e548a71c1f4f6
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>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/config
tools/testing/selftests/net/test_vxlan_mdb.sh [new file with mode: 0755]