ice_get_prof_index_max(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_get_prof_index_max(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes, the ice_get_prof_index_max(9) page, we're literally in the kernel docs together rn and it's giving study date energy 🫢


✨ NAME ✨

ice_get_prof_index_max β€” get the max profile index for the used profile πŸŽ€


🌸 SYNOPSIS 🌸

int ice_get_prof_index_max(struct ice_hw *hw);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW struct. yeah, that's the whole plot πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

So when you call this function, it goes and grabs the max profile index for the profile that's actually in use πŸ”₯ β€” and then it stashes that index number inside the struct ice_switch_info *switch_info in HW, so it's there for later. Set it up now, use it later, main character planning energy fr fr ✨


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is right here, no cap:

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

and here's the whole friend group, every single one πŸŽ€:


that's a wrap bestie πŸ’… this page lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under the name ice_get_prof_index_max(9) β€” go read the source, it ate πŸ”₯πŸ‘‘πŸ’–

πŸ“¦ where this page comes from