summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnil Gurumurthy <agurumurthy@marvell.com>2018-12-10 12:36:22 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-12 20:38:13 -0500
commit850f6acd343663ff988888184df6af5cb0bc61c4 (patch)
treed640b0dd8249305a6fd9f954f990b798e7594b38 /drivers
parentbc127d93e4eca0f45caf2e68e9aeb06284b15b86 (diff)
scsi: qla2xxx: Enable FC-NVME on NPIV ports
Signed-off-by: Anil Gurumurthy <agurumurthy@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_mid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c
index d620f4bebcd0..099d8e9851cb 100644
--- a/drivers/scsi/qla2xxx/qla_mid.c
+++ b/drivers/scsi/qla2xxx/qla_mid.c
@@ -507,6 +507,7 @@ qla24xx_create_vhost(struct fc_vport *fc_vport)
qla2x00_start_timer(vha, WATCH_INTERVAL);
vha->req = base_vha->req;
+ vha->flags.nvme_enabled = base_vha->flags.nvme_enabled;
host->can_queue = base_vha->req->length + 128;
host->cmd_per_lun = 3;
if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)