scsi: ibmvfc: Enable MQ and set reasonable defaults
authorTyrel Datwyler <tyreld@linux.ibm.com>
Thu, 14 Jan 2021 20:31:47 +0000 (14:31 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Jan 2021 03:31:04 +0000 (22:31 -0500)
Turn on MQ by default and set sane values for the upper limit on hw queues
for the SCSI host, and number of hw SCSI channels to request from the
partner VIOS.

Link: https://lore.kernel.org/r/20210114203148.246656-21-tyreld@linux.ibm.com
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvfc.h

index c3bb83c..0391cb7 100644 (file)
@@ -41,9 +41,9 @@
 #define IBMVFC_DEFAULT_LOG_LEVEL       2
 #define IBMVFC_MAX_CDB_LEN             16
 #define IBMVFC_CLS3_ERROR              0
-#define IBMVFC_MQ                      0
-#define IBMVFC_SCSI_CHANNELS           0
-#define IBMVFC_SCSI_HW_QUEUES          1
+#define IBMVFC_MQ                      1
+#define IBMVFC_SCSI_CHANNELS           8
+#define IBMVFC_SCSI_HW_QUEUES          8
 #define IBMVFC_MIG_NO_SUB_TO_CRQ       0
 #define IBMVFC_MIG_NO_N_TO_M           0