Date: Tue, 21 Mar 2017 14:01:44 +0000 From: John <jwd@FreeBSD.org> To: FreeBSD-SCSI <freebsd-scsi@FreeBSD.org> Subject: mpr driver allocating 1 irq? Message-ID: <20170321140144.GA25836@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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) --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQF8BAEBCgBmBQJY0TJGXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNDBGOTgxNzM0NzQ3OEFBNDYyODNGQzVC NjI0OTlBMTQyNEY3RjgxAAoJELYkmaFCT3+BGt4H/Rfe4a3DxWXy4lK/4qqqk6I2 C9twuItNysmUrMeQxM2JY5+NKEU2BjUglx9yii9s/4qO6T9uPheJ8XTa+5w8gCFD F8WfX+EJWpo2t5+fG7ftaRRfs67Yw6SnHEhQLQxVgYRXutIbSuq+hLl63QLidsTo TZI5TZSR/r8MV86ZTbWOa2VY6bTLVjpoBm6EVeXLV7t+jECde1+OiPvmcEre58J7 +ssMn33UASN4p8t3OnKWzgDHGPpcp9xjnlTlaG3ZZmCjJT1NhcSR+f32h8I3zCA6 LmZSHPehiDZZ2kbo6BXRKGxL32cqyJNx1GAoqT9/7MBYT3eti7O3jdb7sw3YEjg= =xLtQ -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170321140144.GA25836>