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>
This commit is contained in:
parent
bc127d93e4
commit
850f6acd34
|
@ -507,6 +507,7 @@ qla24xx_create_vhost(struct fc_vport *fc_vport)
|
||||||
qla2x00_start_timer(vha, WATCH_INTERVAL);
|
qla2x00_start_timer(vha, WATCH_INTERVAL);
|
||||||
|
|
||||||
vha->req = base_vha->req;
|
vha->req = base_vha->req;
|
||||||
|
vha->flags.nvme_enabled = base_vha->flags.nvme_enabled;
|
||||||
host->can_queue = base_vha->req->length + 128;
|
host->can_queue = base_vha->req->length + 128;
|
||||||
host->cmd_per_lun = 3;
|
host->cmd_per_lun = 3;
|
||||||
if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)
|
if (IS_T10_PI_CAPABLE(ha) && ql2xenabledif)
|
||||||
|
|
Loading…
Reference in New Issue