Skip to content

selftests: hw-net: toeplitz: read config from the NIC directly

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 7 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests: hw-net: auto-disable building the iouring C codetools/testing/selftests/drivers/net/hw/Makefile+16 -12 repliesApplied
2/5selftests: hw-net: toeplitz: make sure NICs have pure Toeplitz configuredtools/testing/selftests/drivers/net/hw/toeplitz.py+18 -110 repliesApplied
3/5selftests: hw-net: toeplitz: read the RSS key directly from Ctools/testing/selftests/drivers/net/hw/Makefile tools/testing/selftests/drivers/net/hw/toeplitz.c tools/testing/selftests/drivers/net/hw/toeplitz.py+44 -81 replyApplied
4/5selftests: hw-net: toeplitz: read indirection table from the devicetools/testing/selftests/drivers/net/hw/toeplitz.c+23 -13 repliesApplied
5/5selftests: hw-net: toeplitz: give the test up to 4 secondstools/testing/selftests/drivers/net/hw/toeplitz.py+1 -10 repliesApplied

Reviews trailers per patch

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

PatchWillem de Bruijn
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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-next 0/5] selftests: hw-net: toeplitz: read config from the NIC directly

First patch here tries to auto-disable building the iouring sample. Our CI will still run the iouring test(s), of course, but it looks like the liburing updates aren't very quick in distroes and having to hack around it when developing unrelated tests is a bit annoying.

Remaining 4 patches iron out running the Toeplitz hash test against real NICs. I tested mlx5, bnxt and fbnic, they all pass now. I switched to using YNL directly in the C code, can't see a reason to get the info in Python and pass it to C via argv. The old code likely did this because it predates YNL.

Jakub Kicinski (5):
selftests: hw-net: auto-disable building the iouring C code
selftests: hw-net: toeplitz: make sure NICs have pure Toeplitz
configured
selftests: hw-net: toeplitz: read the RSS key directly from C
selftests: hw-net: toeplitz: read indirection table from the device
selftests: hw-net: toeplitz: give the test up to 4 seconds

 .../testing/selftests/drivers/net/hw/Makefile | 23 ++++++-
 .../selftests/drivers/net/hw/toeplitz.c       | 65 ++++++++++++++++++-
 .../selftests/drivers/net/hw/toeplitz.py      | 28 ++++----
 3 files changed, 98 insertions(+), 18 deletions(-)
Signature · 1 line
2.51.1