]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add test for control packets
authorIdo Schimmel <idosch@mellanox.com>
Fri, 29 May 2020 18:36:49 +0000 (21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:49:23 +0000 (11:49 -0700)
commit5e2cceed093af28d325e44a4edeef0e7f4c1350e
tree5e4f63e14b15e824e36aefd3e1faf88c2787827c
parent944d6399ca1f2b5b14d0ba07f1161fe194c3c895
selftests: mlxsw: Add test for control packets

Generate packets matching the various control traps and check that the
traps' stats increase accordingly.

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_control.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/devlink_lib.sh