ice_get_irq_res(9)
π ice_get_irq_res(9) β Kernel API Manual, bestie edition π
okay so welcome to ice_get_irq_res(9), a genuine little kernel API manual page for the ice driver fam, and yes I'm gonna walk you through it like we're texting at 2am π«Ά
β¨ NAME β¨
ice_get_irq_res β get an interrupt resource. that's it, that's the whole name, and honestly? iconic. π
πΈ SYNOPSIS πΈ
struct ice_irq_entry * ice_get_irq_res (struct ice_pf *pf , bool
dyn_allowed );
look at her. two args, one return, zero drama. copy it exactly, no cap π
π ARGUMENTS π
pfβ the board private structure. like, the driver's own little private stash of board info, yk? π¦dyn_allowedβ aboolthat says whether this entry is allowed to be dynamically allocated. so like, yes-alloc or no-alloc energy π
β DESCRIPTION β
so what does she do. she allocates a new irq entry in the free slot of the tracker. simple as that, main character behaviour β¨
and because xarray is used here, she always allocates the new entry at the lowest possible index. always. lowest. possible. index. the way that xarray just does that? obsessed π
she also sets the proper allocation limit for the maximum tracker entries β so the cap on the tracker gets set correctly, no vibes-based limits happening here fr fr π§
Returns the allocated irq entry, or NULL on failure. if it flops, you get NULL, and that's the whole story π
lowkey important: NULL on failure is the only failure signal she gives you. check it. periodt.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_irq.cβ the actual source, go read her π ice_init_irq_tracker(9)ice_deinit_irq_tracker(9)ice_free_irq_res(9)ice_clear_interrupt_scheme(9)ice_init_interrupt_scheme(9)ice_alloc_irq(9)ice_free_irq(9)ice_virt_get_irqs(9)ice_virt_free_irqs(9)
the whole friend group, all linked up, we love a connected cast π«Άβ¨
and that's the page!! sign-off time: this one lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and it's ice_get_irq_res(9) β slay, bye bestie π
ππ₯
π¦ 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