selftests: drv-net: gro: enable HW GRO and LRO testing
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
- v3 Latest6 patches 0 repliesApplied 6/6
- v26 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- patch 4 - s/tso/tcp-segmentation-offload/ for ethtool feature names
- patch 5 - explicitly skip LRO on netdevsim, it lies about support
- patch 6 - add enum for the flush_id test configs
v2: https://lore.kernel.org/[email protected]
- fix restoring all features
- apply the generic XDP hack selectively (print a msg when it happens)
- a lot of small tweaks and 4 extra patches
v1: https://lore.kernel.org/[email protected]
Patches in v3 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | selftests: net: py: teach ksft_pr() multi-line safetytools/ | +19 | 0 replies | Applied |
| 2/6 | selftests: net: py: teach cmd() how to print itselftools/ | +23 | 0 replies | Applied |
| 3/6 | selftests: drv-net: gro: use cmd printtools/ | +1 | 0 replies | Applied |
| 4/6 | selftests: drv-net: gro: improve feature configtools/ | +36 | 0 replies | Applied |
| 5/6 | selftests: drv-net: gro: run the test against HW GRO and LROtools/ tools/ | +58 | 0 replies | Applied |
| 6/6 | selftests: drv-net: gro: break out all individual test casestools/ tools/ | +308 | 0 replies | Applied |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Petr Machata | Willem de Bruijn |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | 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 v3 0/6] selftests: drv-net: gro: enable HW GRO and LRO testing
Add support for running our existing GRO test against HW GRO and LRO implementation. The first 3 patches are just ksft lib nice-to-haves, and patch 4 cleans up the existing gro Python.
Patches 5 and 6 are of most practical interest. The support reconfiguring the NIC to disable SW GRO and enable HW GRO and LRO. Additionally last patch breaks up the existing GRO cases to track HW compliance at finer granularity.
v3:
- patch 4 - s/tso/tcp-segmentation-offload/ for ethtool feature names
- patch 5 - explicitly skip LRO on netdevsim, it lies about support
- patch 6 - add enum for the flush_id test configs
v2: https://lore.kernel.org/[email protected]
- fix restoring all features
- apply the generic XDP hack selectively (print a msg when it happens)
- a lot of small tweaks and 4 extra patches
v1: https://lore.kernel.org/[email protected]
Jakub Kicinski (6):
selftests: net: py: teach ksft_pr() multi-line safety
selftests: net: py: teach cmd() how to print itself
selftests: drv-net: gro: use cmd print
selftests: drv-net: gro: improve feature config
selftests: drv-net: gro: run the test against HW GRO and LRO
selftests: drv-net: gro: break out all individual test cases
tools/testing/selftests/drivers/net/gro.c | 433 ++++++++++-------- tools/testing/selftests/drivers/net/gro.py | 163 ++++++- .../selftests/drivers/net/lib/py/env.py | 7 +- tools/testing/selftests/net/lib/py/ksft.py | 29 +- tools/testing/selftests/net/lib/py/utils.py | 23 + 5 files changed, 439 insertions(+), 216 deletions(-)
Signature · 1 line
2.52.0