selftests: devlink_trap_l3_drops: Add test cases of irif and erif disabled
authorAmit Cohen <amitc@mellanox.com>
Sun, 19 Jan 2020 13:00:47 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:23:52 +0000 (16:23 +0100)
commit740e87bc3db8fe299e17877b7055e9ae3c33e4e6
treeb93e1db28956ac5944ab0235fb5bd2f2edb305df
parent5b051621609d535fac6bdcd232530cc5248e791d
selftests: devlink_trap_l3_drops: Add test cases of irif and erif disabled

Add test cases to check that packets routed through disabled RIFs and
packets routed from disabled RIFs are dropped and devlink counters
increase when the action is trap.

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_drops.sh