mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
3f2304f8c6
This patch implements the NVMe over TCP host driver. It can be used to connect to remote NVMe over Fabrics subsystems over good old TCP/IP. The driver implements the TP 8000 of how nvme over fabrics capsules and data are encapsulated in nvme-tcp pdus and exchaged on top of a TCP byte stream. nvme-tcp header and data digest are supported as well. To connect to all NVMe over Fabrics controllers reachable on a given taget port over TCP use the following command: nvme connect-all -t tcp -a $IPADDR This requires the latest version of nvme-cli with TCP support. Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com> Signed-off-by: Roy Shterman <roys@lightbitslabs.com> Signed-off-by: Solganik Alexander <sashas@lightbitslabs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
27 lines
648 B
Makefile
27 lines
648 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ccflags-y += -I$(src)
|
|
|
|
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
|
|
obj-$(CONFIG_NVME_FC) += nvme-fc.o
|
|
obj-$(CONFIG_NVME_TCP) += nvme-tcp.o
|
|
|
|
nvme-core-y := core.o
|
|
nvme-core-$(CONFIG_TRACING) += trace.o
|
|
nvme-core-$(CONFIG_NVME_MULTIPATH) += multipath.o
|
|
nvme-core-$(CONFIG_NVM) += lightnvm.o
|
|
nvme-core-$(CONFIG_FAULT_INJECTION_DEBUG_FS) += fault_inject.o
|
|
|
|
nvme-y += pci.o
|
|
|
|
nvme-fabrics-y += fabrics.o
|
|
|
|
nvme-rdma-y += rdma.o
|
|
|
|
nvme-fc-y += fc.o
|
|
|
|
nvme-tcp-y += tcp.o
|