Skip to content

selftests: mlxsw: A couple of fixes

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests: mlxsw: tc_police_scale: Make test more robusttools/testing/selftests/drivers/net/mlxsw/tc_police_scale.sh+2 -10 repliesApplied
2/2selftests: mlxsw: resource_scale: Fix return valuetools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh+1 -10 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPetr Machata
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] selftests: mlxsw: A couple of fixes

Patch #1 fixes a breakage due to a change in iproute2 output. The real problem is not iproute2, but the fact that the check was not strict enough. Fixed by using JSON output instead. Targeting at net so that the test will pass as part of old and new kernels regardless of iproute2 version.

Patch #2 fixes an issue uncovered by the first one.

Amit Cohen (2):
selftests: mlxsw: tc_police_scale: Make test more robust
selftests: mlxsw: resource_scale: Fix return value

 .../selftests/drivers/net/mlxsw/spectrum/resource_scale.sh     | 2 +-
 tools/testing/selftests/drivers/net/mlxsw/tc_police_scale.sh   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.33.1