ice_search_prof_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_search_prof_id β€” a Kernel API Manual moment (section 9, bestie) πŸŽ€

okay so we're in the Kernel API Manual, section 9, and today's main character is ice_search_prof_id. it's a little lookup function with big "let me find that for you" energy. let's get into it ✨


🌸 NAME 🌸

ice_search_prof_id β€” Search for a profile tracking ID

like, that's literally the whole job. it searches. for a profile tracking ID. iconic behaviour, no notes πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ice_prof_map * ice_search_prof_id (struct ice_hw *hw , enum
ice_block blk , u64 id );

she takes three things and hands you back a struct ice_prof_map *. we love a return value that could also be NULL, that's just ✨character development✨


πŸ’– ARGUMENTS πŸ’–

  • hw β€” pointer to the HW struct. yes bestie, the hardware struct, the whole vibe, the source of truth. pass her in and don't be weird about it 🫢
  • blk β€” hardware block. it's an enum ice_block, so it's one of the pre-approved blks, not whatever you felt like typing at 3am πŸ™ˆ
  • id β€” profile tracking ID. a u64. the number you're hunting for. the one you added earlier (foreshadowing πŸ‘€)

✨ DESCRIPTION ✨

so here's the tea β˜• β€” this function searches for a profile tracking ID which was previously added. that's the whole bit. you added it, now you want it back, and this is the friend who remembers where you left your keys πŸ’–

⚠️ but listen β€” the profile map lock should be held before calling this function. not optional, not a suggestion, not a "eh it'll probably be fine". hold the lock, bestie. the lock is your bestie. πŸ”’πŸ˜€

🌈 SEE ALSO 🌈

okay this list is long long. like, she knows everybody at the party. the kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c is the home base, and then we got the whole extended friend group πŸŽ€

fr fr that's the whole roster, and yes you should probably read at least some of them πŸ’€πŸ“š


and that's the page!! mwah πŸ’‹ this little gem lives in ./drivers/net/ethernet/intel/ice, it's stamped October 2026, and it answers to the name ice_search_prof_id(9). go hold that lock and slay πŸ§šβ€β™€οΈπŸ”₯πŸ‘‘

πŸ“¦ where this page comes from