scsi: qla2xxx: Remove FC_NO_LOOP_ID for FCP and FC-NVMe Discovery
authorHimanshu Madhani <himanshu.madhani@cavium.com>
Wed, 7 Mar 2018 18:49:26 +0000 (10:49 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Mar 2018 01:15:21 +0000 (21:15 -0400)
commit14bc1dff74277408f08661d03e785710a46e0699
treebb95324b5e8aa09361abc955ef9fdb57f8c4eb9d
parent318aaf34f1179b39fa9c30fa0f3288b645beee39
scsi: qla2xxx: Remove FC_NO_LOOP_ID for FCP and FC-NVMe Discovery

Commit 7d64c39e64310 fixed regression of FCP discovery when Nport Handle
is in-use and relogin is triggered. However, during FCP and FC-NVMe
discovery this resulted into only discovering NVMe LUNs.

This patch fixes issue where FCP and FC-NVMe protocol is used on same
port where assigning FC_NO_LOOP_ID will result into discovery failure
for FCP LUNs.

Fixes: a084fd68e1d26 ("scsi: qla2xxx: Fix re-login for Nport Handle in use")
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c