Skip to content

Commit

Permalink
[SCSI] qla2xxx: Set Maximum Read Request Size to 4K.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chad Dupuis authored and James Bottomley committed Sep 24, 2012
1 parent 1459c0e commit 5ffd3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 5ffd3a5

Please sign in to comment.