提交 76c68fbf 编写于 作者: S Stefan Roesch 提交者: Jens Axboe

io_uring: enable CQE32

This enables large CQE's in the uring setup.
Co-developed-by: NJens Axboe <axboe@kernel.dk>
Signed-off-by: NStefan Roesch <shr@fb.com>
Reviewed-by: NKanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20220426182134.136504-12-shr@fb.comSigned-off-by: NJens Axboe <axboe@kernel.dk>
上级 f9b3dfcc
......@@ -12092,7 +12092,7 @@ static long io_uring_setup(u32 entries, struct io_uring_params __user *params)
IORING_SETUP_CLAMP | IORING_SETUP_ATTACH_WQ |
IORING_SETUP_R_DISABLED | IORING_SETUP_SUBMIT_ALL |
IORING_SETUP_COOP_TASKRUN | IORING_SETUP_TASKRUN_FLAG |
IORING_SETUP_SQE128))
IORING_SETUP_SQE128 | IORING_SETUP_CQE32))
return -EINVAL;
return io_uring_create(entries, &p, params);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册