forked from axboe/liburing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zcrx: rely on the returned refill q size
Kernel might decide to change the refill queue size and the user has to recheck the size returned in struct io_uring_zcrx_ifq_reg::rq_entries. Use the returned value instead of assuming RQ_ENTRIES. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters