selftests: net: vxlan: Add tests for vxlan nolocalbypass option.
authorVladimir Nikishkin <vladimir@nikishkin.pw>
Fri, 12 May 2023 03:40:34 +0000 (11:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 May 2023 16:02:33 +0000 (17:02 +0100)
commit305c041899971ff210ad5f9c50249d179c95ada4
tree55e2606cd5f53f48d1158676e9e3123cba1d1ee4
parent69474a8a5837be63f13c6f60a7d622b98ed5c539
selftests: net: vxlan: Add tests for vxlan nolocalbypass option.

Add test to make sure that the localbypass option is on by default.

Add test to change vxlan localbypass to nolocalbypass and check
that packets are delivered to userspace.

Signed-off-by: Vladimir Nikishkin <vladimir@nikishkin.pw>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/test_vxlan_nolocalbypass.sh [new file with mode: 0755]