STRUCT GFAR_PRIV_GRP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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, __iomem and all πŸ’…
  • priv β€” back pointer to the priv structure 🫢 it's literally giving "take me home" energy, one hop back to the big one
  • irqinfo β€” 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