nfp_net_aux_irq_request(9)
π nfp_net_aux_irq_request β from the Kernel API Manual β¨
okay bestie, so this page is literally titled nfp_net_aux_irq_request and it lives in the Kernel API Manual, and it is exactly what it says on the tin. π
β¨ NAME β¨
nfp_net_aux_irq_request β request an auxiliary interrupt (LSC or EXN). that's it, that's the whole vibe. auxiliary. side-quest interrupts. main character interrupts get their own function, these ones are the besties. π¦
πΈ SYNOPSIS πΈ
int nfp_net_aux_irq_request (struct nfp_net *nn , u32 ctrl_offset ,
const char *format , char *name , size_t name_sz , unsigned int
vector_idx , irq_handler_t handler );
like, look at that signature. seven whole arguments. she's thorough. π
π ARGUMENTS π
nnβ the NFP Network structure. your whole netdev situation, the main character of this function ngl. πctrl_offsetβ the Control BAR offset where the IRQ configuration should be written. yes, that BAR. the control one. write the config there, don't ask questions. β¨formatβ aprintf-style format to construct the interrupt name. so the name gets built with printf energy, iconic behaviour fr. πnameβ a pointer to allocated space for the interrupt name. you bring the buffer, the function brings the string. π«Άname_szβ the size of the space for the interrupt name. bestie please make it big enough, that's the whole point of passing it. πvector_idxβ the index of the MSI-X vector used for this interrupt. which vector? this vector. numbervector_idx. slay. π₯handlerβ the IRQ handler to register for this interrupt. the callback. the one who actually does stuff when the interrupt shows up. π
π SEE ALSO π
okay so first up, the kernel file itself:
Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c
and then the whole friend group, no cap, every single one of them:
nfp_net_get_fw_version(9)nfp_net_reconfig_post(9)__nfp_net_reconfig(9)nfp_net_mbox_reconfig(9)nfp_net_irqs_alloc(9)nfp_net_irqs_assign(9)nfp_net_irqs_disable(9)nfp_net_irq_rxtx(9)nfp_net_read_link_status(9)nfp_net_irq_lsc(9)nfp_net_irq_exn(9)nfp_net_aux_irq_free(9)nfp_net_vecs_init(9)nfp_net_rss_write_itbl(9)nfp_net_rss_write_key(9)nfp_net_coalesce_write_cfg(9)nfp_net_write_mac_addr(9)nfp_net_clear_config_and_disable(9)nfp_net_set_config_and_enable(9)nfp_net_close_stack(9)nfp_net_close_free_all(9)nfp_net_netdev_close(9)nfp_net_open_stack(9)nfp_net_info(9)nfp_net_alloc(9)nfp_net_free(9)nfp_net_rss_key_sz(9)nfp_net_rss_init(9)nfp_net_irqmod_init(9)nfp_net_init(9)nfp_net_clean(9)
lowkey the read-the-whole-list challenge, but it's mandatory, not optional. iykyk π
π and that's the page!! source/version line said ./drivers/net/ethernet/netrono... and the date was October 2026, so likeβ¦ future manpage, obsessed. stay hydrated, go request your auxiliary interrupts responsibly, mwah πβ¨π¦πΈπ
π¦ 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