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

Tziporet Koren tziporet at dev.mellanox.co.il
Wed May 5 12:34:07 PDT 2010


On 5/5/2010 7:32 PM, Jason Gunthorpe wrote:
> 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?
>    
This is not related to OFED
We found it in performance work of our EN (10G) driver

Tziporet



More information about the ewg mailing list