]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5be1a6a8bfd160a16e9e798c04e95e2c32b049d8
treeb93e1db28956ac5944ab0235fb5bd2f2edb305df
parent42b60c197fa89b3dc5a11bfa155f1e481b934ba2
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