]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit757318df81fd9f3f6645c28982b46dc71e0d4a4e
tree5b505210cc254aa197fa3f136c00f334310a9283
parentba3be9d78a5a8ea8f3d550f300850f84ff4bf350
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]