mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] io_uring/net: Add bundle support for recvmsg
@ 2026-11-23 21:39 Clément Léger
  2026-11-23 21:39 ` [PATCH v2 1/3] io_uring/net: Factor out receive buffer selection Clément Léger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Clément Léger @ 2026-11-23 21:39 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Clément Léger, io-uring, linux-kernel, Juanlu Herrero

IORING_RECVSEND_BUNDLE is currently supported for IORING_OP_RECV but
rejected with -EINVAL for IORING_OP_RECVMSG, since the recvmsg output
envelope (struct io_uring_recvmsg_out, name and control data) was never
accounted for when bundling a receive across multiple provided buffers.

This series enables bundles for recvmsg. Patch 1 is a preparatory
refactor with no functional change. Patch 2 adds the bundle path for
single shot recvmsg. Patch 3 extends it to multishot.

---

Changes in v2
 - Add bundle support for single shot recvmsg
 - Added incremental support for recvmsg
 - Remove superfluous comments

Changes in v1 (previously RFC)
 - Factorize header size computation
 - Remove unreachable check for length

Clément Léger (3):
  io_uring/net: Factor out receive buffer selection
  io_uring/net: Add bundle support for recvmsg
  io_uring/net: Add bundle support for multishot recvmsg

 io_uring/net.c | 228 ++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 179 insertions(+), 49 deletions(-)

-- 
Clément Léger

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-23 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 21:39 [PATCH v2 0/3] io_uring/net: Add bundle support for recvmsg Clément Léger
2026-11-23 21:39 ` [PATCH v2 1/3] io_uring/net: Factor out receive buffer selection Clément Léger
2026-11-23 21:39 ` [PATCH v2 2/3] io_uring/net: Add bundle support for recvmsg Clément Léger
2026-11-23 21:39 ` [PATCH v2 3/3] io_uring/net: Add bundle support for multishot recvmsg Clément Léger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®