]> git.karo-electronics.de Git - linux-beck.git/commitdiff
qla2xxx: Increase the request queue size to 8K for ISP2031
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Thu, 25 Sep 2014 10:14:54 +0000 (06:14 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2014 12:25:07 +0000 (14:25 +0200)
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c

index e3643df3ae635496b13ed27809d9770cd7d50f72..b048841a5360516e2177d63e79a39331dbbdc22c 100644 (file)
 #define REQUEST_ENTRY_CNT_2100         128     /* Number of request entries. */
 #define REQUEST_ENTRY_CNT_2200         2048    /* Number of request entries. */
 #define REQUEST_ENTRY_CNT_24XX         2048    /* Number of request entries. */
+#define REQUEST_ENTRY_CNT_83XX         8192    /* Number of request entries. */
 #define RESPONSE_ENTRY_CNT_2100                64      /* Number of response entries.*/
 #define RESPONSE_ENTRY_CNT_2300                512     /* Number of response entries.*/
 #define RESPONSE_ENTRY_CNT_MQ          128     /* Number of response entries.*/
index 08e5bbb12f0b85be73d7eb6b80a51304043e3335..34e56e2faa0ec3c75183e3291dd7b096143e62fd 100644 (file)
@@ -2541,7 +2541,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
                ha->portnum = PCI_FUNC(ha->pdev->devfn);
                ha->max_fibre_devices = MAX_FIBRE_DEVICES_2400;
                ha->mbx_count = MAILBOX_REGISTER_COUNT;
-               req_length = REQUEST_ENTRY_CNT_24XX;
+               req_length = REQUEST_ENTRY_CNT_83XX;
                rsp_length = RESPONSE_ENTRY_CNT_2300;
                ha->tgt.atio_q_length = ATIO_ENTRY_CNT_24XX;
                ha->max_loop_id = SNS_LAST_LOOP_ID_2300;