On Tue,  6 Oct 2015 20:17:38 +0300
Vlad Zolotarov <vl...@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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to