diff options
author | Quinn Tran <qutran@marvell.com> | 2021-08-16 22:13:10 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-08-23 22:36:53 -0400 |
commit | f6e327fc09e48271c103efb3b69fc4ccda3f408b (patch) | |
tree | a75ecfe37d45b5bea6b789736c6179e74dbfbd92 /drivers/scsi/qla2xxx/qla_gs.c | |
parent | 1dc64a360bda55d632202e3fef266cef7d4f6f00 (diff) | |
download | linux-stable-f6e327fc09e48271c103efb3b69fc4ccda3f408b.tar.gz linux-stable-f6e327fc09e48271c103efb3b69fc4ccda3f408b.tar.bz2 linux-stable-f6e327fc09e48271c103efb3b69fc4ccda3f408b.zip |
scsi: qla2xxx: Fix NVMe | FCP personality change
Currently driver saves the personality type (FCP|NVMe) at the start of
first discovery of the remote device. If the remote device personality do
change over time, then qla driver needs to present that to user to decide.
Link: https://lore.kernel.org/r/20210817051315.2477-8-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_gs.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 11401cfc35a1..df6e3ef52e2c 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -3502,6 +3502,7 @@ void qla24xx_async_gnnft_done(scsi_qla_host_t *vha, srb_t *sp) continue; fcport->scan_state = QLA_FCPORT_FOUND; fcport->last_rscn_gen = fcport->rscn_gen; + fcport->fc4_type = rp->fc4type; found = true; /* * If device was not a fabric device before. |