diff options
| author | Jens Axboe <[email protected]> | 2024-03-05 20:10:04 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-04-22 17:26:05 +0000 |
| commit | a05d1f625c7aa681d8816bc0f10089289ad07aad (patch) | |
| tree | ed2c7807c31573f53f802550e24b3d98d87901ac /net/unix/af_unix.c | |
| parent | io_uring/kbuf: add helpers for getting/peeking multiple buffers (diff) | |
| download | kernel-a05d1f625c7aa681d8816bc0f10089289ad07aad.tar.gz kernel-a05d1f625c7aa681d8816bc0f10089289ad07aad.zip | |
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 <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
