]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: As per MPI-spec, use combined reply queue for SAS3.5 controllers when...
authorChaitra P B <chaitra.basappa@broadcom.com>
Thu, 31 May 2018 10:34:51 +0000 (06:34 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jun 2018 01:05:32 +0000 (21:05 -0400)
commitd248eaec62aab37a66b4386f0b83c7d6b1cfc37a
treea2843d1c320e2b0ca6882fafe642160cbf96d2eb
parent448aeb49167f1bcaf2cdd761ebafdf0178ac03ae
scsi: mpt3sas: As per MPI-spec, use combined reply queue for SAS3.5 controllers when HBA supports more than 16 MSI-x vectors.

Presently driver is using combined reply queue feature when MSI-x vectors >
8 for both SAS3 and SAS3.5 controllers.  But as per MPI-spec,

1. For SAS3 controllers, driver should use combined reply queue when HBA
supports more than 8 MSI-x vectors.

2. For SAS3.5 controllers, driver should use combined reply queue when HBA
supports more than 16 MSI-x vectors.

Modified driver code to use combined reply queue for SAS3 controllers when
HBA supports > 8 MSI-x vectors and for SAS3.5 controllers when HBA supports
> 16 MSI-x vectors.

Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h