summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-05-09 17:41:10 +0200
committerJens Axboe <axboe@kernel.dk>2024-05-14 02:19:23 +0200
commitac287da2e0ea5be2523222981efec86f0ca977cd (patch)
tree02b55af4e012133e206bdb47b7fadedc141f75d8 /crypto/Kconfig
parentnet: pass back whether socket was empty post accept (diff)
downloadlinux-ac287da2e0ea5be2523222981efec86f0ca977cd.tar.xz
linux-ac287da2e0ea5be2523222981efec86f0ca977cd.zip
io_uring/net: wire up IORING_CQE_F_SOCK_NONEMPTY for accept
If the given protocol supports passing back whether or not we had more pending accept post this one, pass back this information to userspace. This is done by setting IORING_CQE_F_SOCK_NONEMPTY in the CQE flags, just like we do for recv/recvmsg if there's more data available post a receive operation. We can also use this information to be smarter about multishot retry, as we don't need to do a pointless retry if we know for a fact that there aren't any more connections to accept. Suggested-by: Norman Maurer <norman_maurer@apple.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions