netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/4] selftests: drv-net: add a simple TSO test
@ 2025-02-18 22:54 Jakub Kicinski
  2025-02-18 22:54 ` [PATCH net-next v4 1/4] selftests: drv-net: resolve remote interface name Jakub Kicinski
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jakub Kicinski @ 2025-02-18 22:54 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, andrew+netdev, horms,
	willemdebruijn.kernel, petrm, gal, Jakub Kicinski


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/20250217194200.3011136-1-kuba@kernel.org
 - [patch 3] new patch
 - [patch 4] rework after new patch added
v2: https://lore.kernel.org/20250214234631.2308900-1-kuba@kernel.org
 - [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/20250213003454.1333711-1-kuba@kernel.org

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

-- 
2.48.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-02-20  3:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 22:54 [PATCH net-next v4 0/4] selftests: drv-net: add a simple TSO test Jakub Kicinski
2025-02-18 22:54 ` [PATCH net-next v4 1/4] selftests: drv-net: resolve remote interface name Jakub Kicinski
2025-02-18 22:54 ` [PATCH net-next v4 2/4] selftests: drv-net: get detailed interface info Jakub Kicinski
2025-02-18 22:54 ` [PATCH net-next v4 3/4] selftests: drv-net: store addresses in dict indexed by ipver Jakub Kicinski
2025-02-19  2:24   ` Willem de Bruijn
2025-02-18 22:54 ` [PATCH net-next v4 4/4] selftests: drv-net: add a simple TSO test Jakub Kicinski
2025-02-19  2:24   ` Willem de Bruijn
2025-02-20  3:30 ` [PATCH net-next v4 0/4] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).