rustix-uring
rustix-uring copied to clipboard
Add register_napi
Currently, registering napi (setting busy poll parameters) requires using the rustix API directly. It would be useful to expose nice wrappers around this API in the Submitter. I'm willing to submit a PR for this, but I'm not sure what kind of API we want. With the latest kernel, there are 2 different modes "dynamic" & "static". It would be nicer to have 2 different versions of register_napi with easy parameters. Or we could have one function that accepts an enum (similar to CancelBuilder).