scsi: arcmsr: Increase host controller command queue depth

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>
This commit is contained in:
Ching Huang 2017-12-05 09:41:25 +08:00 committed by Martin K. Petersen
parent 235090241c
commit aa4d1d5676
1 changed files with 2 additions and 7 deletions

View File

@ -45,13 +45,8 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
struct device_attribute; struct device_attribute;
/*The limit of outstanding scsi command that firmware can handle*/ /*The limit of outstanding scsi command that firmware can handle*/
#ifdef CONFIG_XEN #define ARCMSR_MAX_FREECCB_NUM 1024
#define ARCMSR_MAX_FREECCB_NUM 160 #define ARCMSR_MAX_OUTSTANDING_CMD 1024
#define ARCMSR_MAX_OUTSTANDING_CMD 155
#else
#define ARCMSR_MAX_FREECCB_NUM 320
#define ARCMSR_MAX_OUTSTANDING_CMD 255
#endif
#define ARCMSR_DRIVER_VERSION "v1.30.00.22-20151126" #define ARCMSR_DRIVER_VERSION "v1.30.00.22-20151126"
#define ARCMSR_SCSI_INITIATOR_ID 255 #define ARCMSR_SCSI_INITIATOR_ID 255
#define ARCMSR_MAX_XFER_SECTORS 512 #define ARCMSR_MAX_XFER_SECTORS 512