diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-10-21 13:29:39 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-29 13:43:27 -0600 |
commit | 09d0a8ea7facc8b1581c9bd85c3ea6f5aa62ab7d (patch) | |
tree | 8e63319da812a6ac76ccafa3b6e9a8474978fd19 /io_uring/register.c | |
parent | 882dec6c39c40c13dd03e418952c4af38d91bb38 (diff) |
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/register.c')
0 files changed, 0 insertions, 0 deletions