]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Test egress sampling limitation on Spectrum-1 only
authorIdo Schimmel <idosch@nvidia.com>
Tue, 16 Mar 2021 15:03:03 +0000 (17:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 22:32:23 +0000 (15:32 -0700)
commita7e64581ca6d00fb76f3021de29304a916b91bfe
tree31b166d32d7cafa625c79fdc257c2ce04a3aed27
parent5d5c3b698df6b28951bd60192ca94163cc2f31ed
selftests: mlxsw: Test egress sampling limitation on Spectrum-1 only

Make sure egress sampling configuration only fails on Spectrum-1, given
that mlxsw now supports it on Spectrum-{2,3}.

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_restrictions.sh