stmmac_tx_clean(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_tx_clean(9) β€” from the Kernel API Manual

okay bestie, so this page is literally called stmmac_tx_clean and it lives in the Kernel API Manual section 9 β€” yes, the driver-functions chapter, we love her πŸ’–


✨ NAME ✨

stmmac_tx_clean β€” to manage the transmission completion 🌸


πŸŽ€ SYNOPSIS πŸŽ€

int stmmac_tx_clean (struct stmmac_priv *priv , int budget , u32 queue ,
       bool *pending_packets );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” the driver private structure, aka her whole personality 🫢
  • budget β€” the napi budget that limits how many packets this function is allowed to handle. boundaries, icon behavior
  • queue β€” the TX queue index πŸ”₯
  • pending_packets β€” the signal to arm the TX coal timer ⏰

🌈 DESCRIPTION 🌈

So basically ✨ it reclaims the transmit resources after the transmission finishes. no cap.

And if some packets still need to be handled β€” which happens because of TX coalesce β€” you set pending_packets to true so that NAPI arms the TX coal timer πŸ’… periodt.


🌸 SEE ALSO 🌸


ngl bestie that SEE ALSO list is giving main character energy β€” like, every single stmmac function showed up to the group chat and we respect it πŸ’€πŸ‘‘

🧚 sign-off 🧚

this gorgeous girl came from ./drivers/net/ethernet/stmicro... and she's stamped October 2026 β€” put that in your calendar bestie, and remember: page stmmac_tx_clean(9), Kernel API Manual πŸ’œβœ¨πŸ«Ά

πŸ“¦ where this page comes from