]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add a test for VxLAN flooding
authorIdo Schimmel <idosch@mellanox.com>
Mon, 19 Nov 2018 16:11:27 +0000 (16:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:59:44 +0000 (17:59 -0800)
commit5b55550eedf49768de2fc30b95c339e82ca3d979
tree688b71817fd94e11b0c34b78655fc556f1562760
parenta81fa44edf91d3e2dd68f753e2f15a7bf3539d11
selftests: mlxsw: Add a test for VxLAN flooding

The device stores flood records in a singly linked list where each
record stores up to three IPv4 addresses of remote VTEPs. The test
verifies that packets are correctly flooded in various cases such as
deletion of a record in the middle of the list.

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/drivers/net/mlxsw/vxlan_flooding.sh [new file with mode: 0755]