]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add a test case for ARP suppression
authorIdo Schimmel <idosch@mellanox.com>
Mon, 21 Jan 2019 13:22:54 +0000 (13:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 04:40:35 +0000 (20:40 -0800)
commit45b0f945a1db73f82af632b36ded0d4750fdb33f
tree76f73f5088083702712a26aef2ed2c8d2340a1a4
parentca4830a52752f94fb29ebb1387ffadae4a00d928
selftests: forwarding: Add a test case for ARP suppression

ARP suppression allows the Linux bridge to answer ARP requests on behalf
of remote hosts. It reduces the amount of packets a VTEP needs to flood.

This test verifies that ARP suppression on / off works when a neighbour
exists and when it does not exist. It does so by sending an ARP request
from a host connected to one VTEP and checking whether it was received
by a second VTEP.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/vxlan_asymmetric.sh