OSDN Git Service

selftests: mlxsw: Add test cases for devlink-trap layer 3 exceptions
authorAmit Cohen <amitc@mellanox.com>
Thu, 7 Nov 2019 16:42:20 +0000 (18:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2019 03:51:41 +0000 (19:51 -0800)
commit83b2b61e05f83edb7f253ebd9f9eb71b42dd1f5d
treefeb04759c3cb195a0f8f148fe696d8545928f9c5
parentf10caf0278d150beacc97090c911ee7cb43bfba3
selftests: mlxsw: Add test cases for devlink-trap layer 3 exceptions

Test that each supported packet trap exception is triggered under the
right conditions.

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