Follow-ups to nk_qlease net selftests
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
- v2 Latest3 patches 6 repliesApplied 3/3
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Fixed ruff ambiguous variable name
- Fixed https://sashiko.dev/#/patchset/20260413114011.588162-1-daniel%40iogearbox.net
findings except the one in patch 1 since if something goes wrong there, then the test fails and socket gets cleaned up via cyclic
GC run anyway
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tools/ynl: Make YnlFamily closeable as a context managertools/ | +10 | 1 reply | Applied |
| 2/3 | selftests/net: Split netdevsim tests from HW tests in nk_qleasetools/ tools/ tools/ | +1169 | 1 reply | Applied |
| 3/3 | selftests/net: Add additional test coverage in nk_qleasetools/ | +946 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Aleksandrov |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/3] Follow-ups to nk_qlease net selftests
This is a set of follow-ups addressing [0]:
- Split netdevsim tests from HW tests in nk_qlease and move the SW tests under selftests/net/
- Remove multiple ksft_run()s to fix the recently enforced hard-fail
- Move all the setup inside the test cases for the ones under selftests/net/ (I'll defer the HW ones to David)
- Add more test coverage related to queue leasing behavior and corner cases, so now we have 45 tests in nk_qlease.py with netdevsim which does not need special HW
[0] https://lore.kernel.org/netdev/[email protected]
v1->v2:
- Fixed ruff ambiguous variable name
- Fixed https://sashiko.dev/#/patchset/20260413114011.588162-1-daniel%40iogearbox.net
findings except the one in patch 1 since if something goes wrong there, then the test fails and socket gets cleaned up via cyclic
GC run anyway
Daniel Borkmann (3):
tools/ynl: Make YnlFamily closeable as a context manager selftests/net: Split netdevsim tests from HW tests in nk_qlease selftests/net: Add additional test coverage in nk_qlease
tools/net/ynl/pyynl/lib/ynl.py | 10 + .../selftests/drivers/net/hw/nk_qlease.py | 1142 --------- tools/testing/selftests/net/Makefile | 1 + tools/testing/selftests/net/nk_qlease.py | 2109 +++++++++++++++++ 4 files changed, 2120 insertions(+), 1142 deletions(-) create mode 100755 tools/testing/selftests/net/nk_qlease.py
Signature · 1 line
2.43.0