]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add a test for flooded traffic
authorIdo Schimmel <idosch@mellanox.com>
Wed, 28 Feb 2018 10:25:08 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:25:47 +0000 (12:25 -0500)
commitfa2f5cb33e8ef643fbf17fedf4f3fae3ca1907a4
treee67185eafbe978e0f93ce860758d553d0ea67bfc
parentfa242965a64aac8610a5bc38362642914804f41b
selftests: forwarding: Add a test for flooded traffic

Add test cases for unknown unicast and unregistered multicast flooding.

For each traffic type, turn off flooding on one bridged port and inject
a packet of the specified type through the second bridged port. Make
sure the packet was not received by checking the ACL counters on the
other end. Later, turn on flooding and make sure the packet was
received.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/bridge_vlan_aware.sh
tools/testing/selftests/net/forwarding/lib.sh