[SCSI] qla2xxx: Set Maximum Read Request Size to 4K.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 22 Aug 2012 18:21:26 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:53 +0000 (12:10 +0400)
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_init.c

index 075059de60f3ee9c37542b97b972476144a4992d..327e0fc686ad1b57adf217111a841c0bacf47c0b 100644 (file)
@@ -767,7 +767,7 @@ qla24xx_pci_config(scsi_qla_host_t *vha)
 
        /* PCIe -- adjust Maximum Read Request Size (2048). */
        if (pci_is_pcie(ha->pdev))
-               pcie_set_readrq(ha->pdev, 2048);
+               pcie_set_readrq(ha->pdev, 4096);
 
        pci_disable_rom(ha->pdev);
 
@@ -803,7 +803,7 @@ qla25xx_pci_config(scsi_qla_host_t *vha)
 
        /* PCIe -- adjust Maximum Read Request Size (2048). */
        if (pci_is_pcie(ha->pdev))
-               pcie_set_readrq(ha->pdev, 2048);
+               pcie_set_readrq(ha->pdev, 4096);
 
        pci_disable_rom(ha->pdev);