ice_virt_get_irqs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_virt_get_irqs(9) β€” the kernel API manual, bestie edition πŸŽ€

okay so this is ice_virt_get_irqs, and it lives in section 9 of the kernel API manual. yes, section 9. we love a numbered-goddess moment. let's get into it ✨


🌸 NAME 🌸

ice_virt_get_irqs β€” get irqs for SR-IOV usacase

(that spelling up there is literally the page's own, not mine, i promise 🫢)


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_virt_get_irqs (struct ice_pf *pf , u32 needed );

like, that's the whole signature. it returns an int, it takes two things, and we're gonna meet both of them right now πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” pointer to PF structure. that's it, that's the whole description. a mystery, an icon, a pointer πŸ‘‘
  • needed β€” number of irqs to get. how many do you need? say it with your chest, bestie.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this returns the first MSI-X vector index in PF space that is used by this VF. and when i say "used by this VF", that index is exactly what you reach for when you're accessing PF relative registers such as GLINT_VECT2FUNC and GLINT_DYN_CTL.

and here's the part that lowkey matters: in the AVF driver, this will always be the OICR index. always always. so any functionality using vf->first_vector_idx for queue configuration β€” yeah, that's the vibe, that's what it's pointing at.

oh and ngl the page also just drops this fragment here verbatim, so here it is, untouched, no notes πŸ™ˆ:

_id: id of VF which will use this irqs
🌈 real talk: this page has no RETURN VALUE section and no ERROR section, so i'm not gonna invent one. no cap, no extra lore. we report what's on the page and nothing more πŸ’€

🧚 SEE ALSO 🧚

the kernel file itself, right here:

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

and the whole friend group, all in (9) flavour πŸ’œ:


and that's the whole page, bestie 🫢✨ thank you for coming to my ted talk β€” this one came out of ./drivers/net/ethernet/intel/ice, dated October 2026, and honestly? iconic. periodt. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from