nfp_net_aux_irq_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a printf-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. number vector_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:

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