Re: [PATCH] io_uring/net: inherit IORING_CQE_F_BUF_MORE across bundle recv retries
Jens Axboe <[email protected]>
| Newsgroups | org.kernel.vger.io-uring |
|---|---|
| Message-ID | <178065849466.805549.13653501857626235057.b4-ty@b4> |
On Thu, 04 Jun 2026 09:07:13 -0700, Clément Léger wrote:
> When a bundle recv retries inside io_recv_finish(), the merge logic
> OR the saved cflags from the previous iteration with the cflags
> returned by the new iteration:
> cflags = req->cqe.flags | (cflags & CQE_F_MASK);
>
> Bits listed in CQE_F_MASK are inherited from the new iteration, and
> all other bits (notably IORING_CQE_F_BUFFER and the buffer ID) come
> from the saved cflags. Before this change CQE_F_MASK covered only
> IORING_CQE_F_SOCK_NONEMPTY and IORING_CQE_F_MORE.
>
> [...]
Applied, thanks!
[1/1] io_uring/net: inherit IORING_CQE_F_BUF_MORE across bundle recv retries
commit: ed46f39c47eb5530a9c161481a2080d3a869cfaf
Best regards,
--
Jens Axboe