STRUCT NFP_FLOWER_NON_REPR_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nfp_flower_non_repr_priv(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes we're reading kernel docs for fun now, that's the era we're in πŸ’…. This one's about struct nfp_flower_non_repr_priv, which is the whole vibe of "private data for non-repr offloaded ports" πŸ¦‹. (also the header lowkey truncates it to struct nfp_...on_repr_priv(9), no cap, but she's the same girl πŸ’€)


🌸 NAME 🌸

struct nfp_flower_non_repr_priv β€” priv data for non-repr offloaded ports, periodt πŸŽ€


✨ SYNOPSIS ✨

struct nfp_flower_non_repr_priv {
    struct list_head list;
    struct net_device *netdev;
    int ref_count;
    bool mac_offloaded;
    u8 offloaded_mac_addr[ETH_ALEN];
};

like, that's the whole struct. she's small but she's doing her job 🫢


πŸŽ€ Members πŸŽ€

  • list β€” the list entry of the offloaded reprs πŸ“‹ β€” she's linked up, she's in the group chat, she's got connections πŸ’…
  • netdev β€” a pointer to the non-repr net_device 🌐 β€” literally the device she's holding down
  • ref_count β€” the number of references held for this priv data πŸ”’ β€” everybody wants a piece of her, and this tracks the headcount fr fr
  • mac_offloaded β€” a flag indicating that a MAC address is offloaded for the device 🚩 β€” basically a "yes bestie, the MAC is offloaded" boolean
  • offloaded_mac_addr β€” the MAC address that has been offloaded for dev πŸ“ β€” the actual address, chillin' in a u8 array of ETH_ALEN
ngl the two MAC-related members are a matching set: one says whether it's offloaded, the other says which one πŸ‘‘ iconic duo behaviour.

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/net/ethernet/netronome/nfp/flower/main.h β€” that's where she lives 🏑 β€” plus this whole little friend group of structs, all (9) and all here:

  • struct nfp_fl_tunnel_offloads(9)
  • struct nfp_tun_neigh_lag(9)
  • struct nfp_tun_neigh(9)
  • struct nfp_tun_neigh_ext(9)
  • struct nfp_tun_neigh_v4(9)
  • struct nfp_tun_neigh_v6(9)
  • struct nfp_neigh_entry(9)
  • struct nfp_predt_entry(9)
  • struct nfp_mtu_conf(9)
  • struct nfp_fl_lag(9)
  • struct nfp_fl_internal_ports(9)
  • struct nfp_flower_priv(9)
  • struct nfp_fl_qos(9)
  • struct nfp_flower_repr_priv(9)
  • struct nfp_ipv6_addr_entry(9)

and that's the page bestie πŸ’œ β€” sourced from ./drivers/net/ethernet/netrono... (yes it's truncated in the footer, we don't gatekeep, we just vibe 🌈), October 2026 edition, and the footer also barfs back the header struct nfp_...on_repr_priv(9) because the manpage gods love a little symmetry 🧚 mwah, go read the next struct πŸ’–βœ¨

πŸ“¦ where this page comes from