Skip to content

selftests: drv-net: add a simple TSO test

Jakub Kicinski netdev 4 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. v4 Latest4 patches 2 repliesApplied 4/4
  2. v34 patches 5 repliesSuperseded
  3. v23 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches10 repliesSuperseded

Changes in v4 from the cover letter

- [patch 3] fix f-strings on Python < 3.12
- [patch 4] fix v4/v6 test naming
- [patch 4] correctly select the inner vs outer protocol version
- [patch 4] enable mangleid if tunnel is supported via GSO partial
v3: https://lore.kernel.org/[email protected]
- [patch 3] new patch
- [patch 4] rework after new patch added
v2: https://lore.kernel.org/[email protected]
- [patch 1] check for IP being on multiple ifcs
- [patch 4] lower max noise
- [patch 4] mention header overhead in the comment
- [patch 4] fix the basic v4 TSO feature name
- [patch 4] also run a stream with just GSO partial for tunnels
v1: https://lore.kernel.org/[email protected]

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4selftests: drv-net: resolve remote interface nametools/testing/selftests/drivers/net/lib/py/env.py+15 -00 repliesApplied
2/4selftests: drv-net: get detailed interface infotools/testing/selftests/drivers/net/lib/py/env.py+2 -20 repliesApplied
3/4selftests: drv-net: store addresses in dict indexed by ipvertools/testing/selftests/drivers/net/hw/csum.py tools/testing/selftests/drivers/net/hw/devmem.py tools/testing/selftests/drivers/net/lib/py/env.py +1 more+50 -631 replyApplied
4/4selftests: drv-net: add a simple TSO testtools/testing/selftests/drivers/net/hw/Makefile tools/testing/selftests/drivers/net/hw/tso.py+242 -01 replyApplied

Reviews trailers per patch

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

PatchWillem de BruijnPetr Machata
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4R-b

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

Read the v4 thread

Cover letter [PATCH net-next v4 0/4] selftests: drv-net: add a simple TSO test

Add a simple test for exercising TSO over tunnels.

Similarly to csum test we want to iterate over ip versions. Rework how addresses are stored in env to make this easier.

v4:
- [patch 3] fix f-strings on Python < 3.12
- [patch 4] fix v4/v6 test naming
- [patch 4] correctly select the inner vs outer protocol version
- [patch 4] enable mangleid if tunnel is supported via GSO partial
v3: https://lore.kernel.org/[email protected]
- [patch 3] new patch
- [patch 4] rework after new patch added
v2: https://lore.kernel.org/[email protected]
- [patch 1] check for IP being on multiple ifcs
- [patch 4] lower max noise
- [patch 4] mention header overhead in the comment
- [patch 4] fix the basic v4 TSO feature name
- [patch 4] also run a stream with just GSO partial for tunnels
v1: https://lore.kernel.org/[email protected]

Jakub Kicinski (4):
selftests: drv-net: resolve remote interface name
selftests: drv-net: get detailed interface info
selftests: drv-net: store addresses in dict indexed by ipver
selftests: drv-net: add a simple TSO test

 .../testing/selftests/drivers/net/hw/Makefile |   1 +
 .../testing/selftests/drivers/net/hw/csum.py  |  48 ++--
 .../selftests/drivers/net/hw/devmem.py        |   6 +-
 tools/testing/selftests/drivers/net/hw/tso.py | 241 ++++++++++++++++++
 .../selftests/drivers/net/lib/py/env.py       |  58 +++--
 tools/testing/selftests/drivers/net/ping.py   |  12 +-
 6 files changed, 305 insertions(+), 61 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/hw/tso.py
Signature · 1 line
2.48.1