mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
selftests: mlxsw: Add test cases for devlink-trap layer 3 drops
Test that each supported packet trap is triggered under the right conditions and that packets are indeed dropped and not forwarded. 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>
This commit is contained in:
parent
ef7f6b1615
commit
d3e985c917
1 changed files with 563 additions and 0 deletions
563
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_l3_drops.sh
Executable file
563
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_l3_drops.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue