aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2024-03-05 23:22:04 +0000
committerJens Axboe <[email protected]>2024-04-22 17:26:11 +0000
commit2f9c9515bdfde9e4df1f35782284074d3625ff8a (patch)
treee49693a8d1ef64b4fb5b7f498362f13a4cfc9a84 /net/unix/af_unix.c
parentio_uring/net: support bundles for send (diff)
downloadkernel-2f9c9515bdfde9e4df1f35782284074d3625ff8a.tar.gz
kernel-2f9c9515bdfde9e4df1f35782284074d3625ff8a.zip
io_uring/net: support bundles for recv
If IORING_OP_RECV is used with provided buffers, the caller may also set IORING_RECVSEND_BUNDLE to turn it into a multi-buffer recv. This grabs buffers available and receives into them, posting a single completion for all of it. This can be used with multishot receive as well, or without it. Now that both send and receive support bundles, add a feature flag for it as well. If IORING_FEAT_RECVSEND_BUNDLE is set after registering the ring, then the kernel supports bundles for recv and send. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions