Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register_buf_ring missing flags #312

Open
gwendalF opened this issue Jan 2, 2025 · 0 comments
Open

register_buf_ring missing flags #312

gwendalF opened this issue Jan 2, 2025 · 0 comments

Comments

@gwendalF
Copy link

gwendalF commented Jan 2, 2025

With linux 6.12 https://github.com/axboe/liburing/wiki/What%27s-new-with-io_uring-in-6.11-and-6.12
there is the possibility to have incremental buffer consumption. It seems interesting when buffer size cannot be known ahead of time (like network). To register this feature we have to pass the flag IOU_PBUF_RING_INC Currently the register_buf_ring function does not accept flags. Should a new function which accept flags be created or this one updated ?
https://docs.rs/io-uring/latest/io_uring/struct.Submitter.html#method.register_buf_ring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant