linux_dsm_epyc7002/drivers/scsi/lpfc
James Smart 3a8070c567 lpfc: Refactor NVME LS receive handling
In preparation for supporting both intiator mode and target mode
receiving NVME LS's, commonize the existing NVME LS request receive
handling found in the base driver and in the nvmet side.

Using the original lpfc_nvmet_unsol_ls_event() and
lpfc_nvme_unsol_ls_buffer() routines as a templates, commonize the
reception of an NVME LS request. The common routine will validate the LS
request, that it was received from a logged-in node, and allocate a
lpfc_async_xchg_ctx that is used to manage the LS request. The role of
the port is then inspected to determine which handler is to receive the
LS - nvme or nvmet. As such, the nvmet handler is tied back in. A handler
is created in nvme and is stubbed out.

Signed-off-by: Paul Ely <paul.ely@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-05-09 16:18:34 -06:00
..
lpfc_attr.c lpfc: Refactor lpfc nvme headers 2020-05-09 16:18:34 -06:00
lpfc_attr.h
lpfc_bsg.c
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h lpfc: Refactor NVME LS receive handling 2020-05-09 16:18:34 -06:00
lpfc_ct.c lpfc: Refactor lpfc nvme headers 2020-05-09 16:18:34 -06:00
lpfc_debugfs.c lpfc: Refactor nvmet_rcv_ctx to create lpfc_async_xchg_ctx 2020-05-09 16:18:34 -06:00
lpfc_debugfs.h scsi: lpfc: Make debugfs ktime stats generic for NVME and SCSI 2020-03-29 18:10:58 -04:00
lpfc_disc.h
lpfc_els.c
lpfc_hbadisc.c lpfc: Refactor lpfc nvme headers 2020-05-09 16:18:34 -06:00
lpfc_hw4.h
lpfc_hw.h scsi: lpfc: Remove prototype FIPS/DSS options from SLI-3 2020-03-29 18:10:58 -04:00
lpfc_ids.h
lpfc_init.c lpfc: Commonize lpfc_async_xchg_ctx state and flag definitions 2020-05-09 16:18:34 -06:00
lpfc_logmsg.h
lpfc_mbox.c scsi: lpfc: Remove prototype FIPS/DSS options from SLI-3 2020-03-29 18:10:58 -04:00
lpfc_mem.c lpfc: Refactor lpfc nvme headers 2020-05-09 16:18:34 -06:00
lpfc_nl.h
lpfc_nportdisc.c lpfc: Refactor lpfc nvme headers 2020-05-09 16:18:34 -06:00
lpfc_nvme.c lpfc: Refactor NVME LS receive handling 2020-05-09 16:18:34 -06:00
lpfc_nvme.h lpfc: Refactor NVME LS receive handling 2020-05-09 16:18:34 -06:00
lpfc_nvmet.c lpfc: Refactor NVME LS receive handling 2020-05-09 16:18:34 -06:00
lpfc_scsi.c scsi: lpfc: Make debugfs ktime stats generic for NVME and SCSI 2020-03-29 18:10:58 -04:00
lpfc_scsi.h
lpfc_sli4.h scsi: lpfc: Fix erroneous cpu limit of 128 on I/O statistics 2020-03-29 18:10:48 -04:00
lpfc_sli.c lpfc: Refactor NVME LS receive handling 2020-05-09 16:18:34 -06:00
lpfc_sli.h scsi: lpfc: Make debugfs ktime stats generic for NVME and SCSI 2020-03-29 18:10:58 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 12.8.0.0 2020-03-29 18:10:58 -04:00
lpfc_vport.c
lpfc_vport.h
lpfc.h lpfc: Refactor nvmet_rcv_ctx to create lpfc_async_xchg_ctx 2020-05-09 16:18:34 -06:00
Makefile