From 7110230719602852481c2793d054f866b2bf4a2b Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 6 Jul 2016 21:55:52 +0900 Subject: nvme-rdma: add a NVMe over Fabrics RDMA host driver This patch implements the RDMA host (initiator in SCSI speak) driver. It can be used to connect to remote NVMe over Fabrics controllers over Infiniband, RoCE or iWarp, and uses the existing NVMe core driver as well a the new fabrics library. To connect to all NVMe over Fabrics controller reachable on a given taget port using RDMA/CM use the following command: nvme connect-all -t rdma -a $IPADDR This requires the latest version of nvme-cli with Fabrics support. Signed-off-by: Jay Freyensee Signed-off-by: Ming Lin Signed-off-by: Sagi Grimberg Signed-off-by: Christoph Hellwig Reviewed-by: Steve Wise Tested-by: Steve Wise Signed-off-by: Jens Axboe --- drivers/nvme/host/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/nvme/host/Makefile') diff --git a/drivers/nvme/host/Makefile b/drivers/nvme/host/Makefile index 5f8648faf4e0..47abcec23514 100644 --- a/drivers/nvme/host/Makefile +++ b/drivers/nvme/host/Makefile @@ -1,6 +1,7 @@ obj-$(CONFIG_NVME_CORE) += nvme-core.o obj-$(CONFIG_BLK_DEV_NVME) += nvme.o obj-$(CONFIG_NVME_FABRICS) += nvme-fabrics.o +obj-$(CONFIG_NVME_RDMA) += nvme-rdma.o nvme-core-y := core.o nvme-core-$(CONFIG_BLK_DEV_NVME_SCSI) += scsi.o @@ -9,3 +10,5 @@ nvme-core-$(CONFIG_NVM) += lightnvm.o nvme-y += pci.o nvme-fabrics-y += fabrics.o + +nvme-rdma-y += rdma.o -- cgit v1.2.3