]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit94d302deae25a0925dc736e444005918522be730
tree688b71817fd94e11b0c34b78655fc556f1562760
parent99c9b084f0bec000ef394d1bb58f33c4910752d9
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]