OSDN Git Service

lpfc: add nvmet discovery_event op support
authorJames Smart <jsmart2021@gmail.com>
Tue, 14 May 2019 21:58:06 +0000 (14:58 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 09:08:37 +0000 (11:08 +0200)
commitab723121a8eade04ecc6bd7116924c359336f4eb
treefdc4539b32e660f28a22c6b0bcbf81175df7bea7
parentf60cb93bbfecf1ad13713af285c3793e861fc9b2
lpfc: add nvmet discovery_event op support

This patch adds support for the nvmet discovery op. When the callback
routine is called, the driver will call the routine to generate an RSCN
to the port on the other end of the link.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/lpfc/lpfc_nvmet.c