RFC tx timestamp io_uring commands
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 3 repliesApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | io_uring: delete misleading comment in io_fill_cqe_aux()io_uring/ | +0 | 0 replies | |
| 2/7 | io_uring/cmd: move net cmd into a separate fileio_uring/ io_uring/ io_uring/ | +84 | 0 replies | |
| 3/7 | net: timestamp: add helper returning skb's tx tstampinclude/ net/ | +35 | 0 replies | |
| 4/7 | io_uring/poll: introduce io_arm_apoll()io_uring/ io_uring/ | +27 | 0 replies | |
| 5/7 | io_uring/cmd: allow multishot polled commandsio_uring/ io_uring/ | +26 | 0 replies | |
| 6/7 | io_uring: add mshot helper for posting CQE32io_uring/ io_uring/ io_uring/ +1 more | +57 | 0 replies | |
| 7/7 | io_uring/cmd: add tx timestamping cmd supportinclude/ io_uring/ | +100 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/7] tx timestamp io_uring commands
Vadim expressed interest in having an io_uring API for tx timestamping, and the series implements a rough prototype to support that. It introduces a new socket command, which works in a multishot polling mode, i.e. it polls the socket and posts CQEs when a timestamp arrives. It reuses most of the bits on the networking side by grabbing timestamp skbs from the socket's error queue.
The ABI and net bits like skb parsing will need to be discussed and ironed before posting a non-RFC version.
Pavel Begunkov (7):
io_uring: delete misleading comment in io_fill_cqe_aux() io_uring/cmd: move net cmd into a separate file
net: timestamp: add helper returning skb's tx tstamp io_uring/poll: introduce io_arm_apoll() io_uring/cmd: allow multishot polled commands
io_uring: add mshot helper for posting CQE32 io_uring/cmd: add tx timestamping cmd support
include/net/sock.h | 3 + include/uapi/linux/io_uring.h | 6 ++ io_uring/Makefile | 1 + io_uring/cmd_net.c | 177 ++++++++++++++++++++++++++++++++++ io_uring/io_uring.c | 46 ++++++++- io_uring/io_uring.h | 1 + io_uring/poll.c | 43 +++++---- io_uring/poll.h | 1 + io_uring/uring_cmd.c | 97 +++++-------------- io_uring/uring_cmd.h | 7 ++ net/socket.c | 32 ++++++ 11 files changed, 319 insertions(+), 95 deletions(-) create mode 100644 io_uring/cmd_net.c
Signature · 1 line
2.48.1