diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-05 13:10:04 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-22 11:26:05 -0600 |
commit | a05d1f625c7aa681d8816bc0f10089289ad07aad (patch) | |
tree | ed2c7807c31573f53f802550e24b3d98d87901ac /kernel | |
parent | 35c8711c8fc4c16ad2749b8314da5829a493e28e (diff) |
io_uring/net: support bundles for send
If IORING_OP_SEND is used with provided buffers, the caller may also
set IORING_RECVSEND_BUNDLE to turn it into a multi-buffer send. The idea
is that an application can fill outgoing buffers in a provided buffer
group, and then arm a single send that will service them all. Once
there are no more buffers to send, or if the requested length has
been sent, the request posts a single completion for all the buffers.
This only enables it for IORING_OP_SEND, IORING_OP_SENDMSG is coming
in a separate patch. However, this patch does do a lot of the prep
work that makes wiring up the sendmsg variant pretty trivial. They
share the prep side.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions