[ewg] [PATCH] mlx4_core: request MSIX vectors as much as there CPU cores

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Wed May 5 09:32:52 PDT 2010


On Wed, May 05, 2010 at 07:54:54AM -0700, Roland Dreier wrote:
>  > The current code requires num_possible_cpus() + 1 MSIX vectors. However,
>  > num_possible_cpus() stands for the max number of supported CPUs by the kernel.
> 
> I believe this is wrong -- num_possible_cpus() is the maximum number of
> CPUs for the running system, including hotplug.

FWIW, I've seen some systems running RH kernels that blow up here
because they run out of interrupt numbers if you have two IB cards in
them.

Mainline kernels have a reworked IRQ number allocator and don't have a
problem, so maybe this is an ofed only patch?

Jason



More information about the ewg mailing list