STRUCT NFP_FLOWER_CMSG_LAG_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct nfp_flower_cmsg_lag_config β€” bestie, it's the control message payload for LAG config ✨

So like, this struct is literally the little envelope that carries your LAG (link aggregation, iykyk) configuration around. Main character energy fr.


🌸 SYNOPSIS 🌸

struct nfp_flower_cmsg_lag_config {
    u8 ctrl_flags;
    u8 reserved[2];
    u8 ttl;
    __be32 pkt_number;
    __be32 batch_ver;
    __be32 group_id;
    __be32 group_inst;
    __be32 members[];
};

Periodt. That's the whole layout, no notes πŸ’…


πŸŽ€ Members πŸŽ€

Ok so here's the vibe check on every single field, one by one, no skipping (I would never πŸ™ˆ):

  • ctrl_flags β€” the configuration flags. The ✨flags✨ the flags flags.
  • reserved β€” reserved for future use, so like... hands off, bestie. It's saving that space for later. 🫢
  • ttl β€” time to live of the packet. And ngl, the host always sets this to 0xff. Always. Not a vibe option, it's just what happens. πŸ’€
  • pkt_number β€” the config message packet number. You increment it for each message, okurrr? One message, one bump. πŸ”₯
  • batch_ver β€” batch version of the messages. Increment it for each batch of messages. Batching is iconic, the versioning is mandatory. πŸ‘‘
  • group_id β€” the group ID applicable. That's the one you want, bestie. πŸ¦‹
  • group_inst β€” the group instance number. You increment it when the group is reused. Recycled group? New instance. Slay. β™»οΈβœ¨
  • members β€” an array of 32-bit words listing all the active group members. Everyone's invited to the party πŸŽ‰ (32-bit words only though, no cap).

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/ethernet/netronome/nfp/flower/lag_conf.c β€” go read the source, it's giving lore
  • struct nfp_fl_lag_group(9) β€” the group's own manual page, sibling energy 🌈

Quick reminder bestie: that file path is exactly what it is β€” ./drivers/net/ethernet/netronome/nfp/flower/lag_conf.c β€” don't go typo-ing it, I'm begging πŸ™

✨ That's the whole page, mwah πŸ’‹ β€” brought to you by the Kernel API Manual, section 9, sourced from ./drivers/net/ethernet/netrono..., dated October 2026. Go forth and configure your LAGs, bestie, you're gonna ate πŸ’…πŸŽ€

πŸ“¦ where this page comes from