Commit 09d0a8ea authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: move max entry definition and ring sizing into header



In preparation for needing this somewhere else, move the definitions
for the maximum CQ and SQ ring size into io_uring.h. Make the
rings_size() helper available as well, and have it take just the setup
flags argument rather than the fill ring pointer. That's all that is
needed.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 882dec6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment