]> Git Repo - linux.git/commitdiff
Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
authorQuinn Tran <[email protected]>
Thu, 6 Aug 2020 11:10:14 +0000 (04:10 -0700)
committerMartin K. Petersen <[email protected]>
Tue, 18 Aug 2020 02:43:55 +0000 (22:43 -0400)
FCP T10-PI and NVMe features are independent of each other. This patch
allows both features to co-exist.

This reverts commit 5da05a26b8305a625bc9d537671b981795b46dab.

Link: https://lore.kernel.org/r/[email protected]
Fixes: 5da05a26b830 ("scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe")
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/qla2xxx/qla_os.c

index fda812b9b564cd560ee1981f57fd263b58c79e97..8da00ba54aec6c7b070814f1d6dd10d5de7cbf68 100644 (file)
@@ -2834,10 +2834,6 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
        /* This may fail but that's ok */
        pci_enable_pcie_error_reporting(pdev);
 
-       /* Turn off T10-DIF when FC-NVMe is enabled */
-       if (ql2xnvmeenable)
-               ql2xenabledif = 0;
-
        ha = kzalloc(sizeof(struct qla_hw_data), GFP_KERNEL);
        if (!ha) {
                ql_log_pci(ql_log_fatal, pdev, 0x0009,
This page took 0.068282 seconds and 4 git commands to generate.