https://github.com/axboe/liburing/blob/liburing-2.3/examples/io_uring-udp.c#L98
After replace the following code chunk
params.flags = IORING_SETUP_SUBMIT_ALL | IORING_SETUP_COOP_TASKRUN |
IORING_SETUP_CQSIZE;
with
params.flags = IORING_SETUP_SUBMIT_ALL | IORING_SETUP_COOP_TASKRUN |
IORING_SETUP_CQSIZE | IORING_SETUP_SQPOLL | IORING_SETUP_SQ_AFF;
params.sq_thread_idle = 10;
params.sq_thread_cpu = 1;
I get the error code:-22; and error info is Invalid argument.
My test environment is as the following:
Operating System: Ubuntu 22.04.1 LTS
Kernel: Linux 6.2.2-060202-generic
Architecture: x86-64
Is my usage correct?
https://github.com/axboe/liburing/blob/liburing-2.3/examples/io_uring-udp.c#L98
After replace the following code chunk
with
I get the error code:-22; and error info is Invalid argument.
My test environment is as the following:
Is my usage correct?