Skip to content

selftests: drv-net: convert so_txtime to drv-net

Willem de Bruijn linux-kselftest netdev 7 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. v7 Latest3 patches 2 repliesApplied 3/3
  2. v63 patches 3 repliesSuperseded
  3. v53 patches 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v41 patch1 replySuperseded
v31 patch4 repliesSuperseded
v21 patch3 repliesSuperseded
v11 patch3 repliesSuperseded

Patches in v7 All 3 applied

#Subject and filesSizeRepliesApplied
1/3selftests: net: py: support cmd verifying expected failuretools/testing/selftests/net/lib/py/utils.py+29 -100 repliesApplied
2/3selftests: net: py: add tc utilitytools/testing/selftests/drivers/net/lib/py/__init__.py tools/testing/selftests/net/lib/py/__init__.py tools/testing/selftests/net/lib/py/utils.py+16 -50 repliesApplied
3/3selftests: drv-net: convert so_txtime to drv-nettools/testing/selftests/drivers/net/.gitignore tools/testing/selftests/drivers/net/Makefile tools/testing/selftests/drivers/net/config +5 more+121 -1180 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH net-next v7 0/3] selftests: drv-net: convert so_txtime to drv-net

From: Willem de Bruijn <[email protected]>

In preparation for extending to pacing hardware offload, convert the so_txtime.sh test to a drv-net test that can be run against netdevsim and real hardware.

Two preparatory patches
1. support negative tests, where tests are expected to fail
2. add a tc helper

See individual patches for details and detailed changelog

Previous versions:

v6: https://lore.kernel.org/netdev/[email protected]/
v5: https://lore.kernel.org/netdev/[email protected]/
v4: https://lore.kernel.org/netdev/[email protected]/
v3: https://lore.kernel.org/netdev/[email protected]/
v2: https://lore.kernel.org/netdev/[email protected]/
v1: https://lore.kernel.org/netdev/[email protected]/

Willem de Bruijn (3):
selftests: net: py: support cmd verifying expected failure
selftests: net: py: add tc utility
selftests: drv-net: convert so_txtime to drv-net

 .../testing/selftests/drivers/net/.gitignore  |   1 +
 tools/testing/selftests/drivers/net/Makefile  |   2 +
 tools/testing/selftests/drivers/net/config    |   2 +
 .../selftests/drivers/net/lib/py/__init__.py  |   5 +-
 .../selftests/{ => drivers}/net/so_txtime.c   |  25 +++-
 .../selftests/drivers/net/so_txtime.py        |  96 +++++++++++++++
 tools/testing/selftests/net/.gitignore        |   1 -
 tools/testing/selftests/net/Makefile          |   2 -
 .../testing/selftests/net/lib/py/__init__.py  |   4 +-
 tools/testing/selftests/net/lib/py/utils.py   |  51 ++++++--
 tools/testing/selftests/net/so_txtime.sh      | 110 ------------------
 11 files changed, 166 insertions(+), 133 deletions(-)
 rename tools/testing/selftests/{ => drivers}/net/so_txtime.c (96%)
 create mode 100755 tools/testing/selftests/drivers/net/so_txtime.py
 delete mode 100755 tools/testing/selftests/net/so_txtime.sh
Signature · 1 line
2.54.0.545.g6539524ca2-goog