STRUCT GFAR_PRIV_TX_Q(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– NAME ๐Ÿ’–

okay so bestie, welcome to the Kernel API Manual page for struct gfar_priv_tx_q(9) โ€” it's literally the per tx queue structure, no cap ๐ŸŽ€โœจ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

this is the whole struct, copied exactly because we do not mess with code vibes ๐Ÿ’…

       struct gfar_priv_tx_q {
           spinlock_t txlock;
           struct txbd8 *tx_bd_base;
           struct txbd8 *cur_tx;
           unsigned int num_txbdfree;
           unsigned short skb_curtx;
           unsigned short tx_ring_size;
           struct tx_q_stats stats;
           struct gfar_priv_grp *grp;
           struct net_device *dev;
           struct sk_buff **tx_skbuff;
           struct txbd8 *dirty_tx;
           unsigned short skb_dirtytx;
           unsigned short qindex;
           unsigned int txcoalescing;
           unsigned long txic;
           dma_addr_t tx_bd_dma_base;
        };

๐ŸŒธ Members ๐ŸŒธ

okay these members? iconic. every single one, in order, and yes we're keeping all the details ๐Ÿซถ

  • txlock โ€” per queue tx spin lock, literally the lock for this queue's tx situation ๐Ÿ”’
  • tx_bd_base โ€” First tx buffer descriptor, the starting point bestie ๐Ÿ’ซ
  • cur_tx โ€” Next free ring entry, lowkey the next spot in the ring ๐Ÿ‘‘
  • num_txbdfree โ€” number of free TxBds, a whole count of free TxBds ๐Ÿงฎ
  • skb_curtx โ€” to be used skb pointer, the skb pointer that's gonna be used ๐Ÿ‘€
  • tx_ring_size โ€” Tx ring size, periodt ๐Ÿ’…
  • stats โ€” bytes/packets stats, all the bytes and packets tea ๐Ÿ“
  • grp โ€” back pointer to the group to which this queue belongs, fr fr ๐Ÿซถ
  • dev โ€” back pointer to the dev structure, yup it points back to dev ๐Ÿฆ‹
  • tx_skbuff โ€” skb pointers, plural skb pointers ๐ŸŒˆ
  • dirty_tx โ€” First buffer in line to be transmitted, first in line, main character energy ๐Ÿš€
  • skb_dirtytx โ€” the last used skb pointer, the last used one, not me forgetting it ๐Ÿ˜ญ
  • qindex โ€” index of this queue, its little queue index number ๐Ÿ”ฅ
  • txcoalescing โ€” enable/disable tx coalescing, the on/off switch vibe for tx coalescing โญ
  • txic โ€” transmit interrupt coalescing value, the value for transmit interrupt coalescing ๐Ÿ’œ

๐Ÿ’€ SEE ALSO ๐Ÿ’€

bestie pls also peep the Kernel file ./drivers/net/ethernet/freescale/gianfar.h, plus struct gfar_priv_rx_q(9) and struct gfar_priv_grp(9) ๐Ÿ’–๐Ÿ’…


and that's the whole struct gfar_priv_tx_q(9) moment, slay โœจ source/version: ./drivers/net/ethernet/freescale, date: October 2026, mwah ๐Ÿ’‹๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from