Skip to content

Commit

Permalink
nvmet-rdma: add a NVMe over Fabrics RDMA target driver
Browse files Browse the repository at this point in the history
This patch implements the RDMA transport for the NVMe over Fabrics target,
which allows exporting NVMe over Fabrics functionality over RDMA fabrics
(Infiniband, RoCE, iWARP).

All NVMe logic is in the generic target and this module just provides a
small glue between it and the generic code in the RDMA subsystem.

Signed-off-by: Armen Baloyan <[email protected]>,
Signed-off-by: Jay Freyensee <[email protected]>
Signed-off-by: Ming Lin <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Steve Wise <[email protected]>
Tested-by: Steve Wise <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Christoph Hellwig authored and axboe committed Jul 8, 2016
1 parent 931a6de commit 8f000ca
Show file tree
Hide file tree
Showing 3 changed files with 1,460 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/nvme/target/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ config NVME_TARGET_LOOP
to test NVMe host and target side features.

If unsure, say N.

config NVME_TARGET_RDMA
tristate "NVMe over Fabrics RDMA target support"
depends on INFINIBAND
select NVME_TARGET
help
This enables the NVMe RDMA target support, which allows exporting NVMe
devices over RDMA.

If unsure, say N.
2 changes: 2 additions & 0 deletions drivers/nvme/target/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

obj-$(CONFIG_NVME_TARGET) += nvmet.o
obj-$(CONFIG_NVME_TARGET_LOOP) += nvme-loop.o
obj-$(CONFIG_NVME_TARGET_RDMA) += nvmet-rdma.o

nvmet-y += core.o configfs.o admin-cmd.o io-cmd.o fabrics-cmd.o \
discovery.o
nvme-loop-y += loop.o
nvmet-rdma-y += rdma.o
Loading

0 comments on commit 8f000ca

Please sign in to comment.