Skip to content

selftests: drv-net: Fix issues in devlink_rate_tc_bw.py

Carolina Jubran linux-kselftest lkml netdev 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesApplied 6/6
  2. v26 patches 3 repliesSuperseded
  3. v16 patches 1 replySuperseded

Changes in v3 from the cover letter

- Replace generic Exception with specific exception types in load.py.

Patches in v3 All 6 applied

#Subject and filesSizeRepliesApplied
1/6selftests: drv-net: Add devlink_rate_tc_bw.py to TEST_PROGStools/testing/selftests/drivers/net/hw/Makefile+1 -00 repliesApplied
2/6selftests: drv-net: introduce Iperf3Runner for measurement use casestools/testing/selftests/drivers/net/hw/lib/py/__init__.py tools/testing/selftests/drivers/net/lib/py/__init__.py tools/testing/selftests/drivers/net/lib/py/load.py+82 -120 repliesApplied
3/6selftests: drv-net: Use Iperf3Runner in devlink_rate_tc_bw.pytools/testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py+29 -410 repliesApplied
4/6selftests: drv-net: Set shell=True for sysfs writes in devlink_rate_tc_bw.pytools/testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py+2 -20 repliesApplied
5/6selftests: drv-net: Fix and clarify TC bandwidth split in devlink_rate_tc_bw.pytools/testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py+13 -130 repliesApplied
6/6selftests: drv-net: Fix tolerance calculation in devlink_rate_tc_bw.pytools/testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py+30 -440 repliesApplied

Reviews trailers per patch

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

PatchCosmin RatiuNimrod Oren
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

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

Read the v3 thread

Cover letter [PATCH net-next V3 0/6] selftests: drv-net: Fix issues in devlink_rate_tc_bw.py

Hi,

This series fixes issues in the devlink_rate_tc_bw.py selftest and introduces a new Iperf3Runner that helps with measurement handling.

Thanks,
Carolina

V3:
- Replace generic Exception with specific exception types in load.py.

V2:
- Insert the test in the correct sorted position.

Carolina Jubran (6):
selftests: drv-net: Add devlink_rate_tc_bw.py to TEST_PROGS
selftests: drv-net: introduce Iperf3Runner for measurement use cases
selftests: drv-net: Use Iperf3Runner in devlink_rate_tc_bw.py
selftests: drv-net: Set shell=True for sysfs writes in
devlink_rate_tc_bw.py
selftests: drv-net: Fix and clarify TC bandwidth split in
devlink_rate_tc_bw.py
selftests: drv-net: Fix tolerance calculation in devlink_rate_tc_bw.py

 .../testing/selftests/drivers/net/hw/Makefile |   1 +
 .../drivers/net/hw/devlink_rate_tc_bw.py      | 174 ++++++++----------
 .../drivers/net/hw/lib/py/__init__.py         |   5 +-
 .../selftests/drivers/net/lib/py/__init__.py  |   5 +-
 .../selftests/drivers/net/lib/py/load.py      |  84 ++++++++-
 5 files changed, 157 insertions(+), 112 deletions(-)
Signature · 1 line
2.38.1