From: "Clément Léger" <cleger@meta.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: "Clément Léger" <cleger@meta.com>,
io-uring@vger.kernel.org, linux-kernel@vger.kernel.org,
"Juanlu Herrero" <jlhe0197@meta.com>
Subject: [PATCH v2 0/3] io_uring/net: Add bundle support for recvmsg
Date: Mon, 23 Nov 2026 13:39:17 -0800 [thread overview]
Message-ID: <20261123213952.824008-1-cleger@meta.com> (raw)
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
next reply other threads:[~2026-11-23 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 21:39 Clément Léger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123213952.824008-1-cleger@meta.com \
--to=cleger@meta.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=jlhe0197@meta.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®