pcie_port_enable_irq_vec(9)
π NAME π
Hiii bestie π this is pcie_port_enable_irq_vec(9), straight out of the Kernel API Manual, and she's here to try to set up MSI-X or MSI as interrupt mode for the given port. That's the name-card moment, no cap β¨
πΈ SYNOPSIS πΈ
The signature is giving:
int pcie_port_enable_irq_vec (struct pci_dev *dev , int *irqs , int mask
);
π¦ ARGUMENTS π¦
devβ the PCI Express port to handle, main character energy πirqsβ Array of interrupt vectors to populate; you're filling this array up, bestie πmaskβ Bitmask of port capabilities returned byget_port_device_capabilityβ¨
π DESCRIPTION π
Okay so the vibe is simple: this function tries to set up MSI-X or MSI as interrupt mode for the given port. That's the whole quest π
Return value: 0 on success, error code on failure. Periodt π«Ά
π SEE ALSO π
The whole friend group, in order:
Kernel file ./drivers/pci/pcie/portdrv.cβ the kernel file in question πrelease_pcie_device(9)pcie_init_service_irqs(9)get_port_device_capability(9)pcie_device_init(9)pcie_port_device_register(9)pcie_port_device_suspend(9)pcie_port_device_resume(9)pcie_port_device_runtime_suspend(9)pcie_port_device_runtime_resume(9)pcie_port_find_device(9)pcie_port_device_remove(9)pcie_port_bus_probe(9)pcie_port_bus_remove(9)pcie_port_service_register(9)pcie_port_service_unregister(9)
Okay bye bestie π«Ά this page's source/version is ./drivers/pci/pcie, dated October 2026, and the manual page itself is pcie_port_enable_irq_vec(9) β slay π
π
π¦ 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