OSDN Git Service

selftests: mlxsw: Add test for VxLAN related traps for IPv6
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Dec 2021 07:30:01 +0000 (09:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Dec 2021 11:24:01 +0000 (11:24 +0000)
commitc777d726267c0a5ca9216a5f17ed12d67bc97c99
tree5a7a5e28e11dc6aa752cdfbfafe535cea95d7d88
parentd01724dd2a66087ac6b3c4b45e25d475be7dd2f4
selftests: mlxsw: Add test for VxLAN related traps for IPv6

The test configures VxLAN with IPv6 underlay and verifies that the
expected traps are triggered under the right conditions.

The test is similar to the existing IPv4 test.

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/devlink_trap_tunnel_vxlan_ipv6.sh [new file with mode: 0755]