Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> writes: > On 11/19/22 11:11 AM, Stefan Roesch wrote: >> + >> +int io_uring_register_napi(struct io_uring *ring, struct io_uring_napi *napi) >> +{ >> + return __sys_io_uring_register(ring->ring_fd, >> + IORING_REGISTER_NAPI, napi, 0); >> +} >> + >> +int io_uring_unregister_napi(struct io_uring *ring, struct io_uring_napi *napi) >> +{ >> + return __sys_io_uring_register(ring->ring_fd, >> + IORING_REGISTER_NAPI, napi, 0); >> +} > > The latter should be IORING_UNREGISTER_NAPI instead of IORING_REGISTER_NAPI? > Or did I miss something? Thats correct.