free_tx_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– free_tx_desc(9) β€” your Kernel API Manual bestie πŸ’–

🌸 NAME 🌸

free_tx_desc β€” reclaims TX descriptors and their buffers. That's literally the whole vibe: reclaiming TX descriptors and their buffers, no cap πŸ’…

✨ SYNOPSIS ✨

Okay bestie, here's the signature, copy-paste energy only:

void free_tx_desc (struct adapter *adapter , struct sge_txq *tq ,
       unsigned int n , bool unmap );

πŸŽ€ ARGUMENTS πŸŽ€

These are the little cuties you pass in:

  • adapter β€” the adapter ✨
  • tq β€” the TX queue to reclaim descriptors from πŸŽ€
  • n β€” the number of descriptors to reclaim πŸ”’
  • unmap β€” whether the buffers should be unmapped for DMA πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: free_tx_desc reclaims TX descriptors from an SGE TX queue and frees the associated TX buffers. It's called with the TX queue lock held β€” that lock detail is giving β€œdo not forget” energy, fr fr. Periodt πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

Kernel file squad plus the whole reference friend group:


Source/version cute sign-off: this page comes from ./drivers/net/ethernet/chelsio..., dated October 2026, and it's literally free_tx_desc(9) β€” mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from