]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme-fabrics: add a generic NVMe over Fabrics library
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jun 2016 14:45:26 +0000 (16:45 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 5 Jul 2016 17:28:16 +0000 (11:28 -0600)
commit07bfcd09a288551b4377836a11c6250e1fd01e6d
tree88438e33a5d6c3fa12c4bce8747c04c5d63ff0e1
parenteb793e2c9286cca415423edff4942e4ba28e3cd4
nvme-fabrics: add a generic NVMe over Fabrics library

The NVMe over Fabrics library provides an interface for both transports
and the nvme core to handle fabrics specific commands and attributes
independent of the underlying transport.

In addition, the fabrics library adds a misc device interface that allow
actually creating a fabrics controller, as we can't just autodiscover
it like in the PCI case.  The nvme-cli utility has been enhanced to use
this interface to support fabric connect and discovery.

Signed-off-by: Armen Baloyan <armenx.baloyan@intel.com>,
Signed-off-by: Jay Freyensee <james.p.freyensee@intel.com>,
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/Kconfig
drivers/nvme/host/Makefile
drivers/nvme/host/core.c
drivers/nvme/host/fabrics.c [new file with mode: 0644]
drivers/nvme/host/fabrics.h [new file with mode: 0644]
drivers/nvme/host/nvme.h