xgmac_poll(9)
π xgmac_poll β the Kernel API Manual, but make it group chat
ok so bestie, we're looking at xgmac_poll from the Kernel API Manual, and honestly? she's kind of a big deal. she's the xgmac poll method, and yes β that's NAPI, no cap. π₯
πΈ SYNOPSIS πΈ
int xgmac_poll (struct napi_struct *napi , int budget );
literally the whole vibe in one line. int in, int out, two args, iconic. β¨
π ARGUMENTS π
napiβ pointer to thenapistructure. that's it, that's the whole description. she points at the napi struct and we move on. π«Άbudgetβ the maximum number of packets that the current CPU can receive from all interfaces. so like, it's a limit on how much the current CPU is allowed to scoop up from all the interfaces combined. know your limits, queen. π
π¦ DESCRIPTION π¦
okay so what does she actually do? two things:
- this function implements the reception process. yes, reception, as in receiving β she's handling the receiving side of things. π
- also it runs the TX completion thread. so she's multitasking. reception and TX completion, in one function. main character energy fr fr. π
π SEE ALSO π
the kernel file you should lowkey go read:
./drivers/net/ethernet/calxeda/xgmac.c
and the whole friend group, in order, exactly as listed:
xgmac_dma_desc_rings_init(9)xgmac_tx_complete(9)xgmac_open(9)xgmac_stop(9)xgmac_xmit(9)xgmac_tx_timeout(9)xgmac_set_rx_mode(9)xgmac_change_mtu(9)xgmac_probe(9)xgmac_remove(9)
iykyk β go read them, they're all in their xgmac era together. π
ngl bestie, that's genuinely the whole page. she's short, she's sweet, she implements the reception process and runs the TX completion thread, and she lives in ./drivers/net/ethernet/calxeda. periodt. π
and that's a wrap on xgmac_poll(9) from the Kernel API Manual, straight outta ./drivers/net/ethernet/calxeda, dated October 2026 β mwah, love u, go check your budget before you receive anything ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms