]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[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>
Fri, 14 Sep 2012 17:28:53 +0000 (18:28 +0100)
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 766e4d15e129b430f4dca6d87d0872a6181a4385..11e1e0dc445fa87029d608f58c9000dbd879102f 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);