nfp_net_irqs_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Welcome to the nfp_net_irqs_alloc(9) page in the Kernel API Manual, bestie πŸ’–. This function is literally the one that allocates MSI-X irqs. No cap, that's the whole name vibe.

🌸 SYNOPSIS 🌸

Okay so the signature is right here, character for character, fr fr:

unsigned int nfp_net_irqs_alloc (struct pci_dev *pdev , struct
       msix_entry *irq_entries , unsigned int min_irqs , unsigned int
       wanted_irqs );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” PCI device structure. Like, the actual PCI device struct, not just a vibe check πŸ’….
  • irq_entries β€” Array to be initialized and used to hold the irq entries. It's giving "fill me up with irq entries" energy, and yes, it gets initialized ✨.
  • min_irqs β€” Minimal acceptable number of interrupts. The absolute floor. The "I will accept no less" number, periodt.
  • wanted_irqs β€” Target number of interrupts to allocate. The dreamy goal number πŸ”₯.

πŸ’œ RETURN πŸ’œ

Number of irqs obtained or 0 on error. That's the return contract, bestie: success hands you the count, error hands you 0 😭. Periodt.

🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c

Then the whole friend group, all still with their (9) energy:


πŸ’– That's the whole entire page, bestie. Source/version: ./drivers/net/ethernet/netrono... Β· date: October 2026 Β· manual: nfp_net_irqs_alloc(9). Slay, you made it to the end 🫢.
πŸ“¦ where this page comes from