gsi_channel_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gsi_channel_poll(9) πŸ’…

okay bestie, this page is from the Kernel API Manual and it’s about gsi_channel_poll(9) β€” NAPI poll function for a channel, no cap ✨

✨ NAME ✨

gsi_channel_poll β€” NAPI poll function for a channel πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ’… ARGUMENTS πŸ’…

  • napi β€” NAPI structure for the channel. That’s the channel’s NAPI situation, bestie 🫢
  • budget β€” Budget supplied by NAPI core. The NAPI core hands this number over, and it matters πŸ’Έ

⭐ RETURN ⭐

Number of items polled (<= budget) β€” literally the count of items polled, and it stays at or under the budget πŸ’―

🌸 DESCRIPTION 🌸

okay so the vibe is: single transactions completed by hardware are polled until either the budget is exhausted or there are no more β€” whichever hits first 🧚

Each transaction that gets polled is passed to gsi_trans_complete so it can do the remaining completion processing and retire/free the transaction. slay, that’s the whole flow πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


πŸŽ€ okay that’s the whole page, bestie! source/version: ./drivers/net/ipa; date: October 2026. now go poll those channels responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from