diff options
author | Norman Maurer <norman_maurer@apple.com> | 2025-07-15 16:02:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-07-16 08:28:11 -0600 |
commit | 0ebc9a7ecf6acecf8bdf3a3cb02b6073df4a2288 (patch) | |
tree | 868b1faaae1da4206568ae785d3e59c5dd32c162 /scripts/lib/kdoc/kdoc_files.py | |
parent | 8723c146ad4ca17d340213f3676ce1829668b79b (diff) |
io_uring/net: Support multishot receive len cap
At the moment its very hard to do fine grained backpressure when using
multishot as the kernel might produce a lot of completions before the
user has a chance to cancel a previous submitted multishot recv.
This change adds support to issue a multishot recv that is capped by a
len, which means the kernel will only rearm until X amount of data is
received. When the limit is reached the completion will signal to the
user that a re-arm needs to happen manually by not setting the IORING_CQE_F_MORE
flag.
Signed-off-by: Norman Maurer <norman_maurer@apple.com>
Link: https://lore.kernel.org/r/20250715140249.31186-1-norman_maurer@apple.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions