STRUCT GFAR_PRIV_TX_Q(9)
๐ 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 todev๐ฆ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
- 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