mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 21:35:07 +00:00
[SCSI] qla2xxx: Set Maximum Read Request Size to 4K.
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>
This commit is contained in:
parent
1459c0e16d
commit
5ffd3a52bf
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user