Thread (28 messages) 28 messages, 5 authors, 2025-07-08

Re: (subset) [PATCH v5 0/5] io_uring cmd for tx timestamps

From: Jens Axboe <axboe@kernel.dk>
Date: 2025-06-27 17:07:45
Also in: io-uring

On 6/23/25 9:01 AM, Jens Axboe wrote:
On Mon, 16 Jun 2025 10:46:24 +0100, Pavel Begunkov wrote:
quoted
Vadim Fedorenko suggested to add an alternative API for receiving
tx timestamps through io_uring. The series introduces io_uring socket
cmd for fetching tx timestamps, which is a polled multishot request,
i.e. internally polling the socket for POLLERR and posts timestamps
when they're arrives. For the API description see Patch 5.

It reuses existing timestamp infra and takes them from the socket's
error queue. For networking people the important parts are Patch 1,
and io_uring_cmd_timestamp() from Patch 5 walking the error queue.

[...]
Applied, thanks!

[2/5] io_uring/poll: introduce io_arm_apoll()
      commit: 162151889267089bb920609830c35f9272087c3f
[3/5] io_uring/cmd: allow multishot polled commands
      commit: b95575495948a81ac9b0110aa721ea061dd850d9
[4/5] io_uring: add mshot helper for posting CQE32
      commit: ac479eac22e81c0ff56c6bdb93fad787015149cc
[5/5] io_uring/netcmd: add tx timestamping cmd support
      commit: 9e4ed359b8efad0e8ad4510d8ad22bf0b060526a
Pavel, can you send in the liburing PR for these, please?

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help