]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Driver fails to detect direct attach storage array
authorJames Smart <jsmart2021@gmail.com>
Tue, 21 Nov 2017 00:00:34 +0000 (16:00 -0800)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 8 Mar 2018 04:28:02 +0000 (20:28 -0800)
commit4cbe114a53a4e5560c59445b287bb3e2f78ba6bc
tree2acc5f04f90385d95f21dbe50cd965059e5ec6e3
parent05a785b692fd617ec7f80883de393295b1e75377
scsi: lpfc: Driver fails to detect direct attach storage array

Orabug: 27631736

The driver does not respond to PLOGI from the direct attach target.  The
driver uses incorrect S_ID in CONFIG_LINK, after FLOGI completion

Correct by issuing CONFIG_LINK with the correct S_ID after receiving the
PLOGI from the target

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit d33d0eb28b883b09a48a7d608640e9aeecd9edbf)
Signed-off-by: Dick dkennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/lpfc/lpfc_els.c