]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
scsi: arcmsr: Increase host controller command queue depth
authorChing Huang <ching2048@areca.com.tw>
Tue, 5 Dec 2017 01:41:25 +0000 (09:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Dec 2017 00:32:40 +0000 (19:32 -0500)
Update ARCMSR_MAX_OUTSTANDING_CMD and ARCMSR_MAX_FREECCB_NUM to 1024.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr.h

index 5fc1e36521d3b5fee7ebc3aa59a8d91bf6c7fbe6..6ec60ff8781e894349a9eacb94da17ee5eb33448 100644 (file)
 #include <linux/interrupt.h>
 struct device_attribute;
 /*The limit of outstanding scsi command that firmware can handle*/
-#ifdef CONFIG_XEN
-       #define ARCMSR_MAX_FREECCB_NUM  160
-#define ARCMSR_MAX_OUTSTANDING_CMD     155
-#else
-       #define ARCMSR_MAX_FREECCB_NUM  320
-#define ARCMSR_MAX_OUTSTANDING_CMD     255
-#endif
+#define ARCMSR_MAX_FREECCB_NUM         1024
+#define ARCMSR_MAX_OUTSTANDING_CMD     1024
 #define ARCMSR_DRIVER_VERSION          "v1.30.00.22-20151126"
 #define ARCMSR_SCSI_INITIATOR_ID                                               255
 #define ARCMSR_MAX_XFER_SECTORS                                                        512