STRUCT ICE_DYNAMIC_PORT(9)
π 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βtrueif the port has been activated. she's awake, she's online, she's serving πΈattachedβtrueif 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 associateddevlink_portstructure. 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms