1PCI_ENABLE_MSIX_RANG(9) Hardware Interfaces PCI_ENABLE_MSIX_RANG(9)
2
3
4
6 pci_enable_msix_range - configure deviceĀ“s MSI-X capability structure
7
9 int pci_enable_msix_range(struct pci_dev * dev,
10 struct msix_entry * entries, int minvec,
11 int maxvec);
12
14 dev
15 pointer to the pci_dev data structure of MSI-X device function
16
17 entries
18 pointer to an array of MSI-X entries
19
20 minvec
21 minimum number of MSI-X irqs requested
22
23 maxvec
24 maximum number of MSI-X irqs requested
25
27 Setup the MSI-X capability structure of device function with a maximum
28 possible number of interrupts in the range between minvec and maxvec
29 upon its software driver call to request for MSI-X mode enabled on its
30 hardware device function. It returns a negative errno if an error
31 occurs. If it succeeds, it returns the actual number of interrupts
32 allocated and indicates the successful configuration of MSI-X
33 capability structure with new allocated MSI-X interrupts.
34
36Kernel Hackers Manual 2.6. June 2019 PCI_ENABLE_MSIX_RANG(9)