linux_dsm_epyc7002/drivers/scsi/lpfc
James Smart 1c5b12f763 Fix implicit logo and RSCN handling for NVMET
NVMET didn't have any RSCN handling at all and
would not execute implicit LOGO when receiving a PLOGI
from an rport that NVMET had in state UNMAPPED.

Clean up the logic in lpfc_nlp_state_cleanup for
initiators (FCP and NVME). NVMET should not respond to
RSCN including allocating new ndlps so this code was
conditionalized when nvmet_support is true.  The check
for NLP_RCV_PLOGI in lpfc_setup_disc_node was moved
below the check for nvmet_support to allow the NVMET
to recover initiator nodes correctly.  The implicit
logo was introduced with lpfc_rcv_plogi when NVMET gets
a PLOGI on an ndlp in UNMAPPED state.  The RSCN handling
was modified to not respond to an RSCN in NVMET.  Instead
NVMET sends a GID_FT and determines if an NVMEP_INITIATOR
it has is UNMAPPED but no longer in the zone membership.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
2017-04-24 09:25:49 +02:00
..
lpfc_attr.c Add Fabric assigned WWN support. 2017-04-24 09:25:49 +02:00
lpfc_attr.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_bsg.c Fix crash after issuing lip reset 2017-04-24 09:25:49 +02:00
lpfc_bsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_compat.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_crtn.h Fix crash after issuing lip reset 2017-04-24 09:25:49 +02:00
lpfc_ct.c Fix implicit logo and RSCN handling for NVMET 2017-04-24 09:25:49 +02:00
lpfc_debugfs.c Fix extra line print in rqpair debug print. 2017-04-24 09:25:48 +02:00
lpfc_debugfs.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_disc.h Fix implicit logo and RSCN handling for NVMET 2017-04-24 09:25:49 +02:00
lpfc_els.c Fix implicit logo and RSCN handling for NVMET 2017-04-24 09:25:49 +02:00
lpfc_hbadisc.c Fix implicit logo and RSCN handling for NVMET 2017-04-24 09:25:49 +02:00
lpfc_hw4.h Add Fabric assigned WWN support. 2017-04-24 09:25:49 +02:00
lpfc_hw.h Add Fabric assigned WWN support. 2017-04-24 09:25:49 +02:00
lpfc_ids.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_init.c Add Fabric assigned WWN support. 2017-04-24 09:25:49 +02:00
lpfc_logmsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mbox.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mem.c scsi: lpfc: don't dereference dma_buf->iocbq before null check 2017-03-06 23:04:22 -05:00
lpfc_nl.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nportdisc.c Fix implicit logo and RSCN handling for NVMET 2017-04-24 09:25:49 +02:00
lpfc_nvme.c Fix max_sgl_segments settings for NVME / NVMET 2017-04-24 09:25:49 +02:00
lpfc_nvme.h Remove unused defines for NVME PostBuf. 2017-04-24 09:25:48 +02:00
lpfc_nvmet.c Fix max_sgl_segments settings for NVME / NVMET 2017-04-24 09:25:49 +02:00
lpfc_nvmet.h Standardize nvme SGL segment count 2017-04-24 09:25:48 +02:00
lpfc_scsi.c scsi: lpfc: add transport eh_timed_out reference 2017-03-06 23:04:22 -05:00
lpfc_scsi.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_sli4.h scsi: lpfc: add NVME exchange aborts 2017-03-06 23:04:22 -05:00
lpfc_sli.c Fix crash after issuing lip reset 2017-04-24 09:25:49 +02:00
lpfc_sli.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_version.h scsi: lpfc: revise version number to 11.2.0.10 2017-03-06 23:04:23 -05:00
lpfc_vport.c Fix crash after issuing lip reset 2017-04-24 09:25:49 +02:00
lpfc_vport.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc.h Add Fabric assigned WWN support. 2017-04-24 09:25:49 +02:00
Makefile scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00