OSDN Git Service

selftests: mlxsw: Add VxLAN configuration test for IPv6
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Dec 2021 07:29:56 +0000 (09:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Dec 2021 11:24:00 +0000 (11:24 +0000)
commit21d4282dc1b81249184525da1acdb308288a952c
tree2dc3dbce8b9127f3e906aa0055fbd5da5d9cce8c
parent8e059d64bee4a71064423ed34e04868cff478678
selftests: mlxsw: Add VxLAN configuration test for IPv6

Add test to verify configuration of VxLAN with IPv6 underlay.
Use the existing test which checks IPv4.

Add separated test cases for learning which is not supported for IPv6
and for UDP checksum flags which are different from IPv4 flags.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan_ipv6.sh [new file with mode: 0755]