ice_aq_get_recipe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_aq_get_recipe β€” get switch recipe 🍳✨

okay bestie, welcome to ice_aq_get_recipe(9), straight out of the Kernel API Manual. this one's a little networking-flavored treasure and honestly? it's giving "fetch me the recipe list" energy. let's get into it 🫢


✨ SYNOPSIS ✨

int ice_aq_get_recipe (struct ice_hw *hw , struct
ice_aqc_recipe_data_elem *s_recipe_list , u16 *num_recipes , u16
recipe_root , struct ice_sq_cd *cd );

she takes five args and returns an int, no cap πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. the hardware main character, literally πŸ‘‘
  • s_recipe_list β€” pointer to switch rule population list. this is where the recipes come home to roost 🏠
  • num_recipes β€” pointer to the number of recipes (input and output). yes bestie she's both β€” in AND out πŸ”
  • recipe_root β€” root recipe number of recipe(s) to retrieve. the starting point of the whole vibe 🌱
  • cd β€” pointer to command details structure or NULL. optional queen behavior πŸ’…

🌸 DESCRIPTION 🌸

Get(0x0292) ⭐ β€” that's the opcode, write it down, iykyk.

On input, *num_recipes should equal the number of entries in s_recipe_list. On output, *num_recipes will equal the number of entries returned in s_recipe_list. so she reads your number, does her thing, and rewrites your number. multi-tasking icon πŸ”₯

⚠️ okay this part matters, bestie, do NOT skip: the caller must supply enough space in s_recipe_list to hold all possible recipes, and *num_recipes must equal ICE_MAX_NUM_RECIPES. like, ALL of them. not some of them. all. no shortcuts πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file that lives here: ./drivers/net/ethernet/intel/ice/ice_switch.c πŸ“

and now, the friend group. it's a big friend group. brace yourself 🫢

like i said. BIG friend group. every single one of them is invited to the group chat πŸ’€πŸ’–


and that's the whole page, bestie, you ate that πŸ“βœ¨ this cutie lives under ./drivers/net/ethernet/intel/ice and the version date is October 2026 β€” go forth and get those recipes, periodt πŸ’…πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from