Skip to content

selftests: expand txtimestamp with new features

Jian Yang netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5selftests: txtimestamp: allow individual txtimestamp tests.tools/testing/selftests/networking/timestamping/txtimestamp.sh+28 -30 replies
2/5selftests: txtimestamp: allow printing latencies in nsec.tools/testing/selftests/networking/timestamping/txtimestamp.c+44 -120 replies
3/5selftests: txtimestamp: add new command-line flags.tools/testing/selftests/networking/timestamping/txtimestamp.c+15 -90 replies
4/5selftests: txtimestamp: add support for epoll().tools/testing/selftests/networking/timestamping/txtimestamp.c+48 -50 replies
5/5selftests: txtimestamp: print statistics for timestamp events.tools/testing/selftests/networking/timestamping/txtimestamp.c+58 -00 replies

Reviews trailers per patch

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

PatchWillem de BruijnSoheil Hassas Yeganeh
1/5A-b A-b
2/5A-b A-b
3/5A-b A-b
4/5A-b A-b
5/5A-b A-b

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: expand txtimestamp with new features

From: Jian Yang <[email protected]>

Current txtimestamp selftest issues requests with no delay, or fixed 50 usec delay. Nsec granularity is useful to measure fine-grained latency. A configurable delay is useful to simulate the case with cold cachelines.

This patchset adds new flags and features to the txtimestamp selftest, including:
- Printing in nsec (-N)
- Polling interval (-b, -S)
- Using epoll (-E, -e)
- Printing statistics
- Running individual tests in txtimestamp.sh

Jian Yang (5):
selftests: txtimestamp: allow individual txtimestamp tests.
selftests: txtimestamp: allow printing latencies in nsec.
selftests: txtimestamp: add new command-line flags.
selftests: txtimestamp: add support for epoll().
selftests: txtimestamp: print statistics for timestamp events.

 .../networking/timestamping/txtimestamp.c     | 179 ++++++++++++++++--
 .../networking/timestamping/txtimestamp.sh    |  31 ++-
 2 files changed, 187 insertions(+), 23 deletions(-)
Signature · 1 line
2.25.1.481.gfbce0eb801-goog