]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Test vetoing of double sampling
authorIdo Schimmel <idosch@nvidia.com>
Mon, 29 Mar 2021 10:09:48 +0000 (13:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:37:26 +0000 (13:37 -0700)
commit65ce2de2801feab96298ae67588e58bff7bb3231
tree0461107d4a1d322cc3d96f26262e81f1dda8b341
parentbf621fc44010c3e29626d28172c2c9c89e8cafcb
selftests: mlxsw: Test vetoing of double sampling

Test that two sampling rules cannot be configured on the same port with
the same trigger.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/tc_sample.sh