STRUCT ICE_DYNAMIC_PORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ice_dynamic_port(9) β€” from the Kernel API Manual, bestie

okay so picture this: it's a whole 9 manpage, kernel API manual energy, and the star of the show is struct ice_dynamic_port β€” the little bookkeeping baddie that keeps track of a dynamically added devlink port instance. yes, that one. she's got a header, she's got a footer, she's got lore. let's get into it 🫢


✨ NAME ✨

struct ice_dynamic_port β€” literally the struct that tracks a dynamically added devlink port instance. that's her job. that's her whole personality. πŸŽ€


✨ SYNOPSIS ✨

struct ice_dynamic_port {
    u8 hw_addr[ETH_ALEN];
    u8 active: 1;
    u8 attached: 1;
    struct devlink_port devlink_port;
    struct ice_pf *pf;
    struct ice_vsi *vsi;
    unsigned long repr_id;
    u32 sfnum;
    union {
      struct ice_sf_dev *sf_dev;
    };
 };

look at her. every field accounted for, nothing invented, nothing skipped. icon behavior only πŸ‘‘


✨ Members ✨

  • hw_addr β€” the HW address for this port. it's giving "where do I actually live" 🏠
  • active β€” true if the port has been activated. she's awake, she's online, she's serving 🌸
  • attached β€” true if the prot is attached. (yes, the page literally says "prot" β€” typo era, we respect the original spelling βœ‹πŸ˜­ the meaning is: the port is attached.)
  • devlink_port β€” the associated devlink_port structure. her plus-one, her ride-or-die πŸ’–
  • pf β€” pointer to the PF private structure. hi bestie πŸ‘‹
  • vsi β€” the VSI associated with this port. the group chat she belongs to πŸ¦‹
  • repr_id β€” the representor ID. her government name, lowkey πŸ’…
  • sfnum β€” the subfunction ID. second name, just as valid πŸ”₯
  • {unnamed_union} β€” anonymous. a mystery. we love a private queen πŸ™ˆ
    • sf_dev β€” pointer to the subfunction device. the actual device in question ✨

✨ Description ✨

an instance of a dynamically added devlink port. Each port flavour β€” and that's exactly where the original page's sentence stops, bestie, so that's where ours stops too. no cap, no invented endings, we don't do fanfiction in the kernel docs. πŸ’€


✨ SEE ALSO ✨

  • Kernel file ./drivers/net/ethernet/intel/ice/devlink/port.h β€” go read the source, iykyk πŸ“–

real talk though: this is a kernel API manual page, so if you're poking at ice_dynamic_port fields, you're already deep in the intel ice driver devlink port code. slay, but carefully. 🌈

and that's the whole page, bestie β€” no details dropped, no flags invented, all vibes intact. this iconic little number came from source/version ./drivers/net/ethernet/intel/i... (yes, truncated in the original, we don't fix what we didn't break) and it's dated October 2026, which honestly? future icon behavior. β­πŸ’œ

πŸ“¦ where this page comes from