pch_gbe_napi_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pch_gbe_napi_poll πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ we're doing a deep dive on pch_gbe_napi_poll and honestly? it's giving main character energy in the NAPI world πŸ’…


πŸŽ€ NAME πŸŽ€

pch_gbe_napi_poll β€” the NAPI receive and transfer polling callback, no cap πŸ¦‹

like, this is the function that gets called to poll, both for receiving AND transferring. iconic behavior fr fr ✨


🌸 SYNOPSIS 🌸

int pch_gbe_napi_poll (struct napi_struct *napi , int budget );

that's the whole vibe check right there πŸ‘‘


πŸ’œ ARGUMENTS πŸ’œ

  • napi β€” a pointer of polling device struct πŸ’« that's it, that's the whole thing, it's just pointing at your polling device's struct
  • budget β€” the maximum number of a packet πŸ“ (yes, that's literally what it says β€” the max number of a packet. we don't ask questions, we just pass the budget)

πŸ”₯ RETURN πŸ”₯

so the return value tells you whether to keep going or dip out πŸ‘€

  • false β€” exit the polling mode πŸšͺπŸ’¨ you're done, go home
  • true β€” continue the polling mode πŸ” keep it going bestie, we're not done yet
ngl the manpage is kinda terse here but lowkey that's the whole deal β€” false = stop polling, true = keep polling. periodt πŸ’€

🧚 SEE ALSO 🧚

the kernel file lives right here, bestie, go read the source if you're obsessed like me πŸ’–

  • Kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c

and now the whole friend group 🫢✨ (all the pch_gbe functions you could ever want):


okay that's the whole page, you ate that bestie πŸ’…βœ¨

tiny sign-off moment: this page is sourced from ./drivers/net/ethernet/oki-sem... and dated October 2026, and it belongs to pch_gbe_napi_poll(9) πŸŽ€πŸ’–

πŸ“¦ where this page comes from