napi_complete_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

napi_complete_done β€” NAPI processing complete. Okay so this is the napi_complete_done(9) page from the Kernel API Manual, and bestie it's literally about marking NAPI processing as done. πŸ’–

🌸 SYNOPSIS 🌸

bool napi_complete_done (struct napi_struct *n , int work_done );

πŸŽ€ ARGUMENTS πŸŽ€

  • n β€” NAPI context. That's the NAPI context you're working with, periodt. πŸ¦‹
  • work_done β€” number of packets processed. Literally the packet count, no cap. πŸ“

πŸ’… DESCRIPTION πŸ’…

Mark NAPI processing as complete. Slay. ✨

⚠️ Should only be called if the poll budget has not been completely consumed. Like, do not skip this vibe check, bestie β€” it's a real caveat. πŸ’€

Prefer over napi_complete. It's giving the recommended one. πŸ‘‘

πŸ¦‹ RETURN πŸ¦‹

Returns false if the device should avoid rearming interrupts. That's the whole tea. 🫢

🌈 SEE ALSO 🌈


source/version sign-off 🫢: the source is ./include/linux, and the manual version/date is October 2026. bye bestie πŸ’…

πŸ“¦ where this page comes from