Messages in this thread | | | Date | Tue, 6 Oct 2015 22:36:32 +0100 | From | Stephen Hemminger <> | Subject | Re: [PATCH v5 3/4] uio_pci_generic: add MSI/MSI-X support |
| |
On Tue, 6 Oct 2015 20:17:38 +0300 Vlad Zolotarov <vladz@cloudius-systems.com> wrote:
> + int i, vectors = pci_msix_vec_count(pdev); > + > + if (vectors <= 0) > + return false; > +
Since devices like fm10k can thousands of MSI vectors, and often systems have limited number of slots, some resource control is needed. I limited the number in my version. That was one of the reasons for the late binding of MSI vectors. Intended to allow application to ask for how many it wanted.
| |