STRUCT GFAR_PRIV_GRP(9)
πΈ NAME πΈ
struct gfar_priv_grp β bestie, it's the per group structure π
like yes that's literally the whole name, per group, one of these per group, iconic
β¨ SYNOPSIS β¨
struct gfar_priv_grp {
spinlock_t grplock;
struct napi_struct napi_rx;
struct napi_struct napi_tx;
struct gfar __iomem *regs;
struct gfar_priv_tx_q *tx_queue;
struct gfar_priv_rx_q *rx_queue;
unsigned int tstat;
unsigned int rstat;
struct gfar_private *priv;
unsigned long num_tx_queues;
unsigned long tx_bit_map;
unsigned long num_rx_queues;
unsigned long rx_bit_map;
struct gfar_irqinfo *irqinfo[GFAR_NUM_IRQS];
};
okay so that's the whole struct laid out, every field, no edits, no notes π copy it exactly fr fr, don't be out here renaming things π
π¦ Members π¦
regsβ the ioremapped register space for this group β¨ that's this group's register space specifically, mapped in, and yes you read that right,__iomemand all πprivβ back pointer to theprivstructure π«Ά it's literally giving "take me home" energy, one hop back to the big oneirqinfoβ TX/RX/ER irq data for this group π₯ three flavors of irq data right there, all grouped up for this group
ngl bestie, this page is lowkey mysterious β it only spells out those three members above π the rest of the struct is right there in the synopsis, but the manpage doesn't hand you a description for each one. so like, i'm not gonna invent lore for them, we stay factual π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/freescale/gianfar.hβ that's where this struct lives, main character energy file tbh struct gfar_priv_tx_q(9)struct gfar_priv_rx_q(9)
and that's the whole vibe check π this little love letter came from ./drivers/net/ethernet/freescale, dated October 2026, and it's your girl struct gfar_priv_grp(9) signing off β periodt πππ
π¦ 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