STRUCT NFP_FL_LAG_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct nfp_fl_lag_group(9) 🌸

okay so bestie, welcome to the Kernel API Manual entry for struct nfp_fl_lag_group β€” literally the list entry for each LAG group πŸ’… she's a little struct but she's doing main character work, no cap.


✨ NAME ✨

struct nfp_fl_lag_group β€” list entry for each LAG group πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct nfp_fl_lag_group {
    unsigned int group_id;
    u8 group_inst;
    struct list_head list;
    struct net_device *master_ndev;
    bool dirty;
    bool offloaded;
    bool to_remove;
    bool to_destroy;
    unsigned int slave_cnt;
};

ik she looks small but every single field is carrying the whole plot, so let's go through them one by one 🫢


πŸ‘‘ Members πŸ‘‘

  • group_id β€” the assigned group ID for host/kernel sync, iykyk πŸ”₯
  • group_inst β€” the group instance, and she's here for the ID reuse situation 😭
  • list β€” list entry. that's it, that's the vibe ⭐
  • master_ndev β€” the group master Netdev, the parent figure fr fr 🌈
  • dirty β€” marked if the group needs synced to HW πŸ™ˆ (yes bestie, she's dirty and needs a sync, dramatic but true)
  • offloaded β€” marked if the group is currently offloaded to the NIC ✨
  • to_remove β€” marked if the group should be removed from the NIC πŸ’€
  • to_destroy β€” marked if the group should be removed from the driver πŸ”₯
  • slave_cnt β€” number of slaves in the group πŸ‘‘

🌟 SEE ALSO 🌟

  • Kernel file ./drivers/net/ethernet/netronome/nfp/flower/lag_conf.c πŸ“
  • struct nfp_flower_cmsg_lag_config(9) 🧚

lowkey important: all those bool flags are just marks β€” they're saying what should happen, not doing the thing themselves. slay but note it πŸ’œ

and that's the whole page bestie, go forth and reference it with confidence πŸ’– this was brought to you by the Kernel API Manual, straight out of ./drivers/net/ethernet/netrono... and dated October 2026 β€” periodt, see you in the next manpage πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from