]> 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)
commit85c418adb5ea9a9190c5f6372b80629bacc68bb3
treeb93e1db28956ac5944ab0235fb5bd2f2edb305df
parent35f7442b402cd5d97ce34a14f419107ce27de0df
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