napi_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual β€” this is the napi_enable(9) page, and it’s giving β€œsmall function, big responsibility.” Let’s go. πŸ’…

πŸ’– NAME πŸ’–

napi_enable β€” enable NAPI scheduling ✨

✨ SYNOPSIS ✨

void napi_enable (struct napi_struct *n );

πŸŽ€ ARGUMENTS πŸŽ€

  • n β€” NAPI context. That’s the whole vibe check: it’s the NAPI context. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this enables scheduling of a NAPI instance. No cap.

It must be paired with napi_disable β€” bestie, do not forget the pairing, that’s the rule.

It takes netdev_lock for the associated net_device. πŸ”₯

🌈 SEE ALSO 🌈

The kernel file in the mix is ./net/core/dev.c, and here’s the full SEE ALSO crew β€” every single ref, periodt:


mwah πŸ’‹ β€” this page comes from ./net/core, dated October 2026, and it’s titled napi_enable(9). πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from