From: Chad Dupuis Date: Wed, 22 Aug 2012 18:21:26 +0000 (-0400) Subject: [SCSI] qla2xxx: Set Maximum Read Request Size to 4K. X-Git-Tag: next-20120917~76^2^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2941b1f60af56976daf971dccb62dc9649707343;p=karo-tx-linux.git [SCSI] qla2xxx: Set Maximum Read Request Size to 4K. Signed-off-by: Giridhar Malavali Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 766e4d15e129..11e1e0dc445f 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -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);