[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151006223632.107b2c51@samsung9>
Date: Tue, 6 Oct 2015 22:36:32 +0100
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vlad Zolotarov <vladz@...udius-systems.com>
Cc: linux-kernel@...r.kernel.org, mst@...hat.com, hjk@...sjkoch.de,
corbet@....net, gregkh@...uxfoundation.org,
bruce.richardson@...el.com, avi@...udius-systems.com,
gleb@...udius-systems.com, alexander.duyck@...il.com
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@...udius-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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists