Skip to main content

unregister_napi_from_ring

Function unregister_napi_from_ring 

Source
pub fn unregister_napi_from_ring(ring: &IoUring) -> Result<()>
Expand description

Unregister NAPI busy-poll from an io_uring ring.

Disables busy-polling previously configured via register_napi_with_ring. The kernel writes the previous settings back into the Napi struct before clearing them.

§Errors

  • ENOSYS – Kernel does not support NAPI (non-fatal).
  • EINVAL – NAPI was not registered on this ring.