pci_epc_set_msix(9)
π pci_epc_set_msix(9) β a Kernel API Manual moment β¨
okay so bestie, welcome to the pci_epc_set_msix(9) page π this is straight out of the Kernel API Manual and it's lowkey iconic, ngl.
πΈ NAME πΈ
pci_epc_set_msix β set the number of MSI-X interrupt numbers required π
π¦ SYNOPSIS π¦
int pci_epc_set_msix (struct pci_epc *epc , u8 func_no , u8 vfunc_no ,
u16 nr_irqs , enum pci_barno bir , u32 offset );
like, that's the whole signature, no cap. copy it exactly bestie, don't get creative with it π
β¨ ARGUMENTS β¨
epcβ the EPC device on which MSI-X has to be configured π«Ά this is the main character herefunc_noβ the physical endpoint function number in the EPC device π«vfunc_noβ the virtual endpoint function number in the physical function π (yes, virtual inside physical, it's giving nested lore)nr_irqsβ number of MSI-X interrupts required by the EPF π₯birβ BAR where the MSI-X table resides πoffsetβ Offset pointing to the start of MSI-X table β
π DESCRIPTION π
Invoke this one to set the required number of MSI-X interrupts π that's it, that's the whole vibe. you call it, you set the number, you slay.
π SEE ALSO π
Kernel file ./drivers/pci/endpoint/pci-epc-core.c β that's where the magic lives, go read it iykyk π
and the whole friend group of related calls, all present and accounted for (not me listing every single one⦠but also yes, all of them):
pci_epc_put(9)pci_epc_get(9)pci_epc_get_first_free_bar(9)pci_epc_get_next_free_bar(9)pci_epc_get_features(9)pci_epc_get_aux_resources_count(9)pci_epc_get_aux_resources(9)pci_epc_stop(9)pci_epc_start(9)pci_epc_raise_irq(9)pci_epc_map_msi_irq(9)pci_epc_get_msi(9)pci_epc_set_msi(9)pci_epc_get_msix(9)pci_epc_unmap_addr(9)pci_epc_map_addr(9)pci_epc_mem_map(9)pci_epc_mem_unmap(9)pci_epc_clear_bar(9)pci_epc_set_bar(9)pci_epc_bar_size_to_rebar_cap(9)pci_epc_write_header(9)pci_epc_add_epf(9)pci_epc_remove_epf(9)pci_epc_linkup(9)pci_epc_linkdown(9)pci_epc_init_notify(9)pci_epc_notify_pending_init(9)pci_epc_deinit_notify(9)pci_epc_bus_master_enable_notify(9)pci_epc_destroy(9)__pci_epc_create(9)__devm_pci_epc_create(9)
bestie reminder π«Ά every flag, every argument, every path above is exactly as written β I would never do you dirty and paraphrase the technical bits π
and that's the page!! π brought to you by the fine folks over in ./drivers/pci/endpoint, stamped October 2026, Kernel API Manual energy only β¨ go forth and configure your MSI-X, queen ππ
π¦ 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