octep_vf_setup_irqs(9)
π octep_vf_setup_irqs(9) β the Kernel API Manual glow-up β¨
okay so bestie, welcome to the octep_vf_setup_irqs(9) page from the Kernel API Manual π this is a section-9 kernel function and she is lowkey the setup queen for the Octeon device's interrupts. buckle up π
β¨ NAME β¨
octep_vf_setup_irqs β setup interrupts for the Octeon device. that's it, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
int octep_vf_setup_irqs (struct octep_vf_device *oct );
like, she takes one pointer and returns an int. iconic behaviour tbh π
π¦ ARGUMENTS π¦
octβ the Octeon device private data structure. this is the main character struct you're handing over, no cap π
π DESCRIPTION π
so here's the tea, fr fr β this function does the whole interrupt glow-up in three steps:
- allocate data structures to hold per interrupt information,
- allocate/enable MSI-x interrupt,
- and register interrupt handlers.
that's the triple threat right there β¨ allocate the per-interrupt info holders, get those MSI-x interrupts allocated and enabled, then hook up the handlers. she's doing the most and honestly? slay π
β RETURN β
0β on successful allocation and registration of all interrupts π like, everything worked, we ate.-1β on any error π any error at all, doesn't matter which one, you're getting-1. no in-between, periodt.
π SEE ALSO π
the whole friend group, in kernel-file form:
- kernel file
./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9)octep_vf_free_ioq_vectors(9)octep_vf_enable_msix_range(9)octep_vf_disable_msix(9)octep_vf_ioq_intr_handler(9)octep_vf_request_irqs(9)octep_vf_free_irqs(9)octep_vf_clean_irqs(9)octep_vf_update_pkt(9)octep_vf_enable_ioq_irq(9)octep_vf_napi_poll(9)octep_vf_napi_add(9)octep_vf_napi_delete(9)octep_vf_napi_enable(9)octep_vf_napi_disable(9)octep_vf_open(9)octep_vf_stop(9)octep_vf_iq_full_check(9)octep_vf_start_xmit(9)octep_vf_get_stats64(9)octep_vf_tx_timeout_task(9)octep_vf_tx_timeout(9)octep_vf_device_setup(9)octep_vf_device_cleanup(9)octep_vf_probe(9)octep_vf_remove(9)octep_vf_init_module(9)octep_vf_exit_module(9)
like, read them all, iykyk π§ββοΈ
ngl bestie,-1is the only failure code here β no fancy errno, just vibes and a-1. keep that in mind π
and that's a wrap, babe πΈ this page is coming at you from ./drivers/net/ethernet/marvell... and she's stamped October 2026, filed under octep_vf_setup_irqs(9) β mwah, go set up those interrupts, you've got this π
ππ
π¦ 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