ice_locate_vsi_using_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_locate_vsi_using_queue(9) β€” Kernel API Manual πŸ’…

okay bestie, so this is a Kernel API Manual page and it's literally about finding your VSI by its queue, no big deal. it's giving "where's my stuff" energy but make it ✨operating system✨ πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

struct ice_vsi * ice_locate_vsi_using_queue(struct ice_vsi *vsi, int queue);

like, that's the whole vibe. it takes your vsi and your queue and hands you back a struct ice_vsi *, periodt. 🫢


🌸 ARGUMENTS 🌸

  • vsi β€” a pointer to your VSI. literally just a pointer. that's it. that's the whole thing. πŸ¦‹
  • queue β€” the queue index. which queue? that queue. the one you're looking for. iykyk. πŸ’…

✨ DESCRIPTION ✨

so here's the tea, bestie. this function locates the VSI using the specified queue. that's it. that's the function. πŸŽ€

but wait, there's a twist (there's always a twist πŸ™ˆ):

  • when ADQ is not enabled, it always just returns the input VSI. like, no cap, it doesn't even try. it's just like "here u go, same one, bye πŸ’–"
  • otherwise (when ADQ is enabled, slay), it locates the corresponding VSI based on the per-channel offset and qcount. like a little scavenger hunt but for network queues. iconic detective behavior fr fr πŸ”₯

so like... vibe check: it either gives you back what you gave it, or it goes digging through the per-channel offset and qcount to find the right one. both valid. both slay. πŸ‘‘


🧚 SEE ALSO 🧚

okay so the whole friend group is here, everybody came to the function page party πŸ’œ:

it all lives in the kernel file ./drivers/net/ethernet/intel/ice/ice_tc_lib.c (main character file energy), and these are all the besties you should also check out:

like a whole squad of (9) pages, we love to see it 🌈⭐


ngl bestie, this one's short and sweet β€” no danger flags, no deprecated warnings, no undefined behavior lurking in the shadows. just a polite little "which VSI?" function. we stan a low-stakes king πŸ‘‘πŸ’–

kisses and good vibes, this page came from ./drivers/net/ethernet/intel/ice, dated October 2026, and the whole thing is titled ice_locate_vsi_using_queue(9) β€” that's a wrap, bestie! πŸ“πŸ’œ

πŸ“¦ where this page comes from