mpr driver allocating 1 irq?
John
jwd at FreeBSD.org
Tue Mar 21 14:01:45 UTC 2017
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 585 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20170321/f642e685/attachment.sig>
More information about the freebsd-scsi
mailing list