Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ef1186c1 authored by Stefan Roesch's avatar Stefan Roesch Committed by Jens Axboe
Browse files

io_uring: add register/unregister napi function


This adds an api to register and unregister the napi for io-uring. If
the arg value is specified when unregistering, the current napi setting
for the busy poll timeout is copied into the user structure. If this is
not required, NULL can be passed as the arg value.

Signed-off-by: default avatarStefan Roesch <shr@devkernel.io>
Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230608163839.2891748-7-shr@devkernel.io


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ff183d42
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment