axienet_tx_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axienet_tx_poll(9) β€” or, the Kernel API Manual page your group chat has been waiting for

okay so bestie, we're in the Kernel API Manual today and this one is a whole little function about telling the network stack "hey, that packet actually went out, you can have your stuff back now" πŸŽ€


✨ NAME ✨

axienet_tx_poll β€” gets called once a transmit is completed by the Axi DMA Tx channel. that's it, that's the vibe πŸ’–


🌸 SYNOPSIS 🌸

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • napi β€” a pointer to the NAPI structure. yes bestie, an actual pointer, handle with care πŸ™ˆ
  • budget β€” the max number of TX packets to process. it's giving "how much are we willing to do in one sitting" energy ⭐

πŸ‘‘ RETURN πŸ‘‘

  • The number of TX packets processed. literally just the count, no drama πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so this function gets invoked from the NAPI processing, right, and its whole job is to notify that the transmit operation is done πŸ””

then it clears fields in the corresponding Tx BDs β€” yes, those BDs β€” and unmaps the corresponding buffer so that the CPU can regain ownership of the buffer. the CPU was waiting for its stuff back and now it's got it, we love a handoff 🫢

and finally, it invokes netif_wake_queue to restart transmission if required. if required, bestie. only then. no cap ✨


🌈 SEE ALSO 🌈

lowkey the longest friend list ever, and every single one of them is here:


and that's the whole page, bestie πŸ’œ this lil icon came from ./drivers/net/ethernet/xilinx, dated October 2026 β€” go drink some water, you ate πŸ“πŸ§š

πŸ“¦ where this page comes from