summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorQuinn Tran <qutran@marvell.com>2021-08-17 07:13:08 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-24 04:36:53 +0200
commit4de067e5df12c4db4d3d930ba58354d23674f67c (patch)
tree4c2874b45b233bf4bb887dbfd9e655f66ec91daf /drivers/scsi/qla2xxx/qla_mbx.c
parentscsi: qla2xxx: Fix hang during NVMe session tear down (diff)
downloadlinux-4de067e5df12c4db4d3d930ba58354d23674f67c.tar.xz
linux-4de067e5df12c4db4d3d930ba58354d23674f67c.zip
scsi: qla2xxx: edif: Add N2N support for EDIF
For EDIF + N2N to work, firmware 9.8 or later is required. The driver will pause after PLOGI to allow app to authenticate. Once authentication completes, app will tell driver to do PRLI. Link: https://lore.kernel.org/r/20210817051315.2477-6-njavali@marvell.com Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index 154e211bd4bf..2964f5280bed 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1141,7 +1141,7 @@ qla2x00_get_fw_version(scsi_qla_host_t *vha)
if (IS_QLA28XX(ha) && ha->flags.edif_hw && ql2xsecenable &&
(ha->fw_attributes_ext[0] & FW_ATTR_EXT0_EDIF)) {
ha->flags.edif_enabled = 1;
- ql_log(ql_log_info + ql_dbg_edif, vha, 0xffff,
+ ql_log(ql_log_info, vha, 0xffff,
"%s: edif is enabled\n", __func__);
}
}
@@ -4049,6 +4049,7 @@ qla24xx_report_id_acquisition(scsi_qla_host_t *vha,
fcport->scan_state = QLA_FCPORT_FOUND;
fcport->n2n_flag = 1;
fcport->keep_nport_handle = 1;
+ fcport->login_retry = vha->hw->login_retry_count;
if (wwn_to_u64(vha->port_name) >
wwn_to_u64(fcport->port_name)) {