selftests: net: Add bridge neighbor suppression test
authorIdo Schimmel <idosch@nvidia.com>
Wed, 19 Apr 2023 15:35:00 +0000 (18:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2023 07:25:50 +0000 (08:25 +0100)
commit7648ac72dcd7e22ac1fa5e573e536592773831dc
tree98c7e7483f4737d558bfcfd840325f47b57e3850
parent160656d7201d861a1f2a0bf279a765e8cda2317a
selftests: net: Add bridge neighbor suppression test

Add test cases for bridge neighbor suppression, testing both per-port
and per-{Port, VLAN} neighbor suppression with both ARP and NS packets.

Example truncated output:

 # ./test_bridge_neigh_suppress.sh
 [...]
 Tests passed: 148
 Tests failed:   0

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/test_bridge_neigh_suppress.sh [new file with mode: 0755]