ice_free_vsi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_free_vsi(9) β€” straight outta the Kernel API Manual πŸŽ€

okay so bestie, gather round, because this one is literally the cleanup icon of the ice driver β€” the function that frees a VSI context. yes, that VSI context. she's giving "delete the group chat and also remove yourself from the contact list" energy, and honestly? we stan a thorough queen πŸ‘‘


✨ NAME ✨

ice_free_vsi β€” free VSI context from hardware and VSI handle list 🧚

like, both places. hardware and the handle list. she does not do half-jobs πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_free_vsi (struct ice_hw *hw , u16 vsi_handle , struct
       ice_vsi_ctx *vsi_ctx , bool keep_vsi_alloc , struct ice_sq_cd *cd );

five arguments, one int, zero notes about return values β€” that's all the manual gives us, and we are not making stuff up, periodt πŸ’€


🌸 ARGUMENTS 🌸

  • hw β€” pointer to the HW struct πŸ–₯️ your whole hardware situation, handed over as a pointer.
  • vsi_handle β€” unique VSI handle 🎫 a u16, and bestie it is unique β€” that's the whole point of a handle.
  • vsi_ctx β€” pointer to a VSI context struct πŸ“Ž the context baddie in question.
  • keep_vsi_alloc β€” keep VSI allocation as part of this PF's resources πŸ‘‘ a bool, and lowkey the main character of this argument list: set it and the VSI allocation stays part of this PF's resources instead of getting yeeted.
  • cd β€” pointer to command details structure or NULL πŸ“¨ or NULL. yes, NULL is a valid vibe here, the manual literally says so.

πŸ’– DESCRIPTION πŸ’–

Free VSI context info from hardware as well as from VSI handle list 🫢

that's it, that's the description. two places, one function, no cap. hardware? freed. handle list? also freed. she ate and left no crumbs πŸ”₯

ngl this is the whole manpage's worth of behaviour, so don't go reading extra features into it β€” this manual is not out here dropping secret lore πŸ™ˆ

⭐ SEE ALSO ⭐

the kernel file herself lives at ./drivers/net/ethernet/intel/ice/ice_switch.c πŸ“‚ and here is the entire extended friend group, in the exact order the manual introduced them, bestie. do not lose any, they will notice 😭

like, ninety-something cross-references and every single one made it in. i counted with my whole heart 🫢✨


and that's the page!! xoxo, shipped straight from ./drivers/net/ethernet/intel/ice, October 2026 edition β€” the ice_free_vsi(9) era, we were all there, iconic πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from