selftests: devlink_trap_tunnel_vxlan: Add test case for decap_error
authorAmit Cohen <amitc@mellanox.com>
Sun, 19 Jan 2020 13:00:56 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:23:52 +0000 (16:23 +0100)
commitca264ef6ed7cc1f15201d298a44fb79e2c63449c
treebd3b61b01bca4896f677f6d9a7fcd7816dd1e0cc
parenta318bf621a6eabc45e51ed9297b4c01991bfd7e4
selftests: devlink_trap_tunnel_vxlan: Add test case for decap_error

Test that the trap is triggered under the right conditions and that
devlink counters increase.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_vxlan.sh [new file with mode: 0755]