ice_virt_get_irqs(9)
π 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 π:
ice_init_irq_tracker(9)ice_deinit_irq_tracker(9)ice_free_irq_res(9)ice_get_irq_res(9)ice_clear_interrupt_scheme(9)ice_init_interrupt_scheme(9)ice_alloc_irq(9)ice_free_irq(9)ice_virt_free_irqs(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms