Skip to content

selftests: drv-net: improve zerocopy tests

Jakub Kicinski linux-kselftest netdev 1 version 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

  1. v1 Latest5 patches 12 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests: drv-net: add configs for zerocopy Rxtools/testing/selftests/drivers/net/hw/config+2 -02 repliesApplied
2/5selftests: drv-net: devmem: remove sudo from system() callstools/testing/selftests/drivers/net/hw/ncdevmem.c+7 -73 repliesApplied
3/5selftests: drv-net: devmem: add / correct the IPv6 supporttools/testing/selftests/drivers/net/hw/devmem.py+1 -12 repliesApplied
4/5selftests: net: terminate bkg() commands on exceptiontools/testing/selftests/net/lib/py/utils.py+4 -12 repliesApplied
5/5selftests: drv-net: devmem: flip the direction of Tx teststools/testing/selftests/drivers/net/hw/devmem.py+6 -62 repliesApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJoe DamatoStanislav FomichevMina Almasry
SeriesA-b
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/5] selftests: drv-net: improve zerocopy tests

A few tweaks to the devmem test to make it more "NIPA-compatible". We still need a fix to make sure that the test sets hds threshold to 0. Taehee is presumably already/still working on that:
https://lore.kernel.org/[email protected]
so I'm not including my version.

  # ./tools/testing/selftests/drivers/net/hw/devmem.py
  TAP version 13
  1..3
  ok 1 devmem.check_rx
  ok 2 devmem.check_tx
  ok 3 devmem.check_tx_chunks
  # Totals: pass:3 fail:0 xfail:0 xpass:0 skip:0 error:0

Jakub Kicinski (5):
selftests: drv-net: add configs for zerocopy Rx
selftests: drv-net: devmem: remove sudo from system() calls
selftests: drv-net: devmem: add / correct the IPv6 support
selftests: net: terminate bkg() commands on exception
selftests: drv-net: devmem: flip the direction of Tx tests

 tools/testing/selftests/drivers/net/hw/ncdevmem.c | 14 +++++++-------
 tools/testing/selftests/drivers/net/hw/config     |  2 ++
 tools/testing/selftests/drivers/net/hw/devmem.py  | 14 +++++++-------
 tools/testing/selftests/net/lib/py/utils.py       |  5 ++++-
 4 files changed, 20 insertions(+), 15 deletions(-)
Signature · 1 line
2.50.1