selftests: mlxsw: devlink_trap_tunnel_ipip6: Add test case for IPv6 decap_error
authorAmit Cohen <amcohen@nvidia.com>
Fri, 8 Oct 2021 13:12:38 +0000 (16:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 15:40:58 +0000 (16:40 +0100)
commit4bb6cce00a2bef813a2457cd998f90ec9c30b6d0
tree5b505210cc254aa197fa3f136c00f334310a9283
parent4b3d967b5cb99a445a2d55478035308f000cd568
selftests: mlxsw: devlink_trap_tunnel_ipip6: Add test case for IPv6 decap_error

IPv6 underlay support was added, add test to check that "decap_error" trap
is triggered under the right conditions and that devlink counters increase.

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