[ofa-general][PATCH 1/3]mlx4: Multiple completion vectors support

Ron Livne ronli.voltaire at gmail.com
Sun Dec 21 08:21:55 PST 2008


Roland,

We encountered a problem that when a machine didn't support the
required number of vectors (nvec),
instead of trying to get 2 vectors like in the previous version, it
didn't use MSI-X at all - causing a major performance degradation.
Maybe in a case of failure we should try lowering the number of
vectors to 2 (like in the previous version) or the return value of
pci_enable_msix and goto no_msi only in case of a second failure.

Ron

On Sun, Dec 21, 2008 at 5:09 PM, Roland Dreier <rdreier at cisco.com> wrote:
>  > Wouldn't going to retry with the same nreq num instead of the err
>  > value might produce an infinite loop?
>
> yep, I never exercised that code.  Will fix, thanks.
>
>  - R.
>



More information about the general mailing list