mpr driver allocating 1 irq?

Stephen Mcconnell stephen.mcconnell at broadcom.com
Tue Mar 21 16:06:14 UTC 2017


I think the problem is that there is no improvement when using MSIx.
scottl@ was working on a finer grained locking mechanism that would help.
Maybe he can comment.

Steve

> -----Original Message-----
> From: owner-freebsd-scsi at freebsd.org [mailto:owner-freebsd-
> scsi at freebsd.org] On Behalf Of John
> Sent: Tuesday, March 21, 2017 8:02 AM
> To: FreeBSD-SCSI
> Subject: mpr driver allocating 1 irq?
>
> Hi Folks,
>
>    The following define is in sys/dev/mpr/mprvar.h:
>
> #define MPR_MSI_COUNT           1
>
>    Is there a particular reason it's hard-coded to 1 and not a tunable?
>
>    if ((sc->disable_msix == 0) &&
>             ((msgs = pci_msix_count(dev)) >= MPR_MSI_COUNT))
>                 error = mpr_alloc_msix(sc, MPR_MSI_COUNT);
>
>    Or am I completely misreading the code?
>
>    The code appears to support a value other than 1.
>
> Thanks,
> John
>
> with verbose=1:
>
> mpr0: attempting to allocate 1 MSI-X vectors (96 supported)
> mpr1: attempting to allocate 1 MSI-X vectors (96 supported)
> mpr2: attempting to allocate 1 MSI-X vectors (96 supported)
> mpr3: attempting to allocate 1 MSI-X vectors (96 supported)


More information about the freebsd-scsi mailing list