nvme-fabrics: Add target support for FC transport
authorJames Smart <jsmart2021@gmail.com>
Fri, 2 Dec 2016 08:28:43 +0000 (00:28 -0800)
committerSagi Grimberg <sagi@grimberg.me>
Tue, 6 Dec 2016 08:17:56 +0000 (10:17 +0200)
commitc53432030d86429dc9fe5adc3d68cb9d1343b0b2
treee5e91ac4fe925de8bf19567c481fd3e4424d12d3
parente399441de9115cd472b8ace6c517708273ca7997
nvme-fabrics: Add target support for FC transport

Implements the FC-NVME T11 definition of how nvme fabric capsules are
performed on an FC fabric. Utilizes a lower-layer API to FC host adapters
to send/receive FC-4 LS operations and perform the FCP transactions
necessary to perform and FCP IO request for NVME.

The T11 definitions for FC-4 Link Services are implemented which create
NVMeOF connections.  Implements the hooks with nvmet layer to pass NVME
commands to it for processing and posting of data/response base to the
host via the different connections.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
MAINTAINERS
drivers/nvme/target/Kconfig
drivers/nvme/target/Makefile
drivers/nvme/target/fc.c [new file with mode: 0644]