OSDN Git Service

selftests: devlink_trap_tunnel_ipip: Add test case for decap_error
authorAmit Cohen <amitc@mellanox.com>
Sun, 19 Jan 2020 13:00:57 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:23:52 +0000 (16:23 +0100)
commit27942c700017ba84c8fcfcc921bbaf8a91caaefd
treed3aaef92b80d78193bbd57be706d6d9cdf97350c
parentca264ef6ed7cc1f15201d298a44fb79e2c63449c
selftests: devlink_trap_tunnel_ipip: 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_ipip.sh [new file with mode: 0755]