diff options
author | Varun Prakash <varun@chelsio.com> | 2017-08-29 17:48:46 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-09-25 21:33:26 +0200 |
commit | ff6e88f193c654449bf222450553a7fa16a75ca7 (patch) | |
tree | fb64d7bfa14dc775555ecd3b658df84d28551d69 /drivers/scsi/csiostor/csio_init.c | |
parent | scsi: libcxgbi: remove redundant check and close on csk (diff) | |
download | linux-ff6e88f193c654449bf222450553a7fa16a75ca7.tar.xz linux-ff6e88f193c654449bf222450553a7fa16a75ca7.zip |
scsi: csiostor: enable PCIe relaxed ordering if supported
Set PCIe relaxed ordering bits in FW_IQ_CMD if relaxed ordering is
enabled in the PCIe device.
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/csiostor/csio_init.c')
-rw-r--r-- | drivers/scsi/csiostor/csio_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c index 28a9c7d706cb..cb1711a5d7a3 100644 --- a/drivers/scsi/csiostor/csio_init.c +++ b/drivers/scsi/csiostor/csio_init.c @@ -968,6 +968,9 @@ static int csio_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) goto err_pci_exit; } + if (!pcie_relaxed_ordering_enabled(pdev)) + hw->flags |= CSIO_HWF_ROOT_NO_RELAXED_ORDERING; + pci_set_drvdata(pdev, hw); rv = csio_hw_start(hw); |