ice_add_prof_attrib(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🧊 NAME 🧊

ice_add_prof_attrib β€” add any PTG with attributes to profile πŸ’…

okay so you're reading the Kernel API Manual entry for ice_add_prof_attrib(9), and honestly? iconic of you. this one's a little helper that adds literally any PTG, with its attributes, to a profile. that's the whole vibe. 🫢


✨ SYNOPSIS ✨

int ice_add_prof_attrib (struct ice_prof_map *prof , u8 ptg , u16 ptype , const struct ice_ptype_attributes *attr , u16 attr_cnt );

yes the spacing is exactly like that, do not come for me, it's copy-pasted energy and we respect it πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • prof β€” pointer to the profile to which PTG entries will be added. like, this is the profile you're blessing with new entries. it's the main character here πŸ‘‘
  • ptg β€” the PTG to be added. just the one. she's simple, she's slay ✨
  • ptype β€” the PTYPE that needs to be looked up. gotta go find her first πŸ”
  • attr β€” array of attributes that will be considered. bring the whole squad 🌈
  • attr_cnt β€” number of elements in the attribute array. bestie, count them, because the kernel will not do it for you 😭

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the actual source file, because context is everything:

./drivers/net/ethernet/intel/ice/ice_flex_pipe.c

and then. okay. deep breath. the whole extended friend group πŸ’– β€” every single one of these is worth a look:


ngl bestie, that's the whole group chat. read them in whatever order, they all live in the same header and they're all obsessed with each other πŸ’œ

and that's the page! 🌸 this little entry hangs out in ./drivers/net/ethernet/intel/ice and it's dated October 2026, so like… future icon behaviour tbh. go add some PTGs with attributes, you've got this πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from