]> 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)
commitaefc9cb0cb7dbf5c99bc4de4294ad5dcb5783e93
tree5e4f63e14b15e824e36aefd3e1faf88c2787827c
parentcb91089e455061eea38d6049d1cd31ae58fa8633
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