mlx5_irq_request(9)
π mlx5_irq_request(9) β from the Kernel API Manual, bestie
okay so picture this: it's a kernel API manual page, it's called mlx5_irq_request, and it's here to teach you how to request an IRQ for an mlx5 PF/VF device β¨ that's the whole vibe. no cap, that's it. let's get into it π
β¨ SYNOPSIS β¨
like, literally this exact thing, don't @ me:
struct mlx5_irq * mlx5_irq_request (struct mlx5_core_dev *dev , u16
vecidx , struct irq_affinity_desc *af_desc , struct cpu_rmap **rmap );
she takes four args and she serves π
πΈ ARGUMENTS πΈ
devβ the mlx5 device that's requesting the IRQ π«Ά like, the one doing the asking.vecidxβ the vector index of the IRQ. heads up bestie: this argument is ignored if affinity is provided π (yes, ignored, as in it doesn't get used, as in don't come for me).af_descβ the affinity descriptor for this IRQ β¨rmapβ a pointer to the reverse map pointer for completion interrupts π¦
π DESCRIPTION π
so what does she actually do? this function returns a pointer to the IRQ π or, if something goes sideways, an ERR_PTR instead π no in-between, no maybe. that's the whole description. iconic behaviour tbh π
π SEE ALSO π
go look at these, fr fr, iykyk:
- the kernel file
./drivers/net/ethernet/mellanox/mlx5/core/pci_irq.cπ like actually go read it mlx5_get_default_msix_vec_count(9)mlx5_set_msix_vec_count(9)mlx5_ctrl_irq_release(9)mlx5_ctrl_irq_request(9)mlx5_irq_release_vector(9)mlx5_irq_request_vector(9)
the whole friend group, honestly π
okay that's the page!! no gatekeeping, every single detail is right here where you left it π«Ά
and a lil sign-off because we're classy: this one came from that source path that got cut off as ./drivers/net/ethernet/mellano..., dated October 2026, and yes she's still titled mlx5_irq_request(9) at the bottom too π slay, go request your IRQ bestie, bye β¨π§ββοΈ
π¦ 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