nfp_net_irqs_alloc(9)
β¨ 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:
nfp_net_get_fw_version(9)nfp_net_reconfig_post(9)__nfp_net_reconfig(9)nfp_net_mbox_reconfig(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_request(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)
π 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
- 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