[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200317192509.150725-1-jianyang.kernel@gmail.com>
Date: Tue, 17 Mar 2020 12:25:04 -0700
From: Jian Yang <jianyang.kernel@...il.com>
To: davem@...emloft.net, netdev@...r.kernel.org
Cc: Soheil Hassas Yeganeh <soheil@...gle.com>,
Willem de Bruijn <willemb@...gle.com>,
Jian Yang <jianyang@...gle.com>
Subject: [PATCH net-next 0/5] selftests: expand txtimestamp with new features
From: Jian Yang <jianyang@...gle.com>
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(-)
--
2.25.1.481.gfbce0eb801-goog
Powered by blists - more mailing lists