]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add test cases for devlink-trap L2 drops
authorIdo Schimmel <idosch@mellanox.com>
Wed, 21 Aug 2019 07:19:36 +0000 (10:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2019 19:58:39 +0000 (12:58 -0700)
commit3020692dd9e3f1155e0acc1eb93d9e6df8fa5844
tree2d628268b9d5a986ad49f4c98ca95f49df7e324e
parent1d5c889531eea6eaa916b5ff66bfdf05d6ecada0
selftests: mlxsw: Add test cases for devlink-trap L2 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: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_l2_drops.sh [new file with mode: 0755]