ice_aq_free_vsi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_aq_free_vsi(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's about ice_aq_free_vsi, and it's giving "short but mighty" energy. One little call, one big cleanup vibe. Let's get into it 🫢


🌸 NAME 🌸

ice_aq_free_vsi β€” and that's literally it, the description slot is empty, bestie 😭 the kernel docs said "no thoughts, head empty" and left it blank. No cap, that's the whole entry. The function name is the whole personality here. Periodt.


✨ SYNOPSIS ✨

int ice_aq_free_vsi (struct ice_hw *hw , struct ice_vsi_ctx *vsi_ctx ,
bool keep_vsi_alloc , struct ice_sq_cd *cd );

it returns an int, takes four things, and yes the spacing in the original is a little chaotic β€” we don't gatekeep, we respect it πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW struct. this is the hardware bestie, the main character of the whole operation πŸ‘‘
  • vsi_ctx β€” pointer to a VSI context struct. the VSI in question, in context form, slaying as always.
  • keep_vsi_alloc β€” a bool, and its whole job is: keep VSI allocation as part of this PF's resources. so true = you're keeping the allocation around, false = it's gone gone.
  • cd β€” pointer to command details structure or NULL. your fave optional bestie, so lowkey it can just be NULL and nobody's mad about it πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

Free VSI context info from hardware (0x0213). that opcode is right there, memorize it for the vibe check, iykyk. you're handing that VSI context info back to the hardware and saying "we're done here, thank you for your service" πŸ’… not me being emotional about a hardware free call.


🌈 SEE ALSO 🌈

the kernel file lives here, exactly here, no moving it:

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

and here's the whole squad β€” every single one of them, don't skip a single bestie, there are so many and they're all iconic in their own way 😀

like, that's a whole friend group right there 🧚 go read them all, they ate πŸ’–


ok that's the whole page! it's short, it's sweet, it frees your VSI context info from hardware, and honestly? iconic behavior. don't forget the 0x0213 πŸ’€

and that's a wrap, bestie!! this page comes to you from ./drivers/net/ethernet/intel/ice, dated October 2026 πŸŽ€ mwah, see you in the next manpage πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from