aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-05-02 23:34:45 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-05-02 23:38:30 +0000
commita15f7c96a27644de3ed3bfcf5feee285ebc1cc91 (patch)
tree1c103f5e1fe1adef4191e3451049fc42ad1606fb /sys/modules
parent51346bd594585614bc99f29a124a2473df3155bd (diff)
downloadsrc-a15f7c96a27644de3ed3bfcf5feee285ebc1cc91.tar.gz
src-a15f7c96a27644de3ed3bfcf5feee285ebc1cc91.zip
nvmft: The in-kernel NVMe over Fabrics controller
This is the server (target in SCSI terms) for NVMe over Fabrics. Userland is responsible for accepting a new queue pair and receiving the initial Connect command before handing the queue pair off via an ioctl to this CTL frontend. This frontend exposes CTL LUNs as NVMe namespaces to remote hosts. Users can ask LUNS to CTL that can be shared via either iSCSI or NVMeoF. Reviewed by: imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44726
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/nvmf/Makefile3
-rw-r--r--sys/modules/nvmf/nvmft/Makefile10
2 files changed, 12 insertions, 1 deletions
diff --git a/sys/modules/nvmf/Makefile b/sys/modules/nvmf/Makefile
index a380c8c63651..88ea40be1257 100644
--- a/sys/modules/nvmf/Makefile
+++ b/sys/modules/nvmf/Makefile
@@ -1,5 +1,6 @@
SUBDIR= nvmf \
nvmf_tcp \
- nvmf_transport
+ nvmf_transport \
+ nvmft
.include <bsd.subdir.mk>
diff --git a/sys/modules/nvmf/nvmft/Makefile b/sys/modules/nvmf/nvmft/Makefile
new file mode 100644
index 000000000000..b47ffa53c310
--- /dev/null
+++ b/sys/modules/nvmf/nvmft/Makefile
@@ -0,0 +1,10 @@
+.PATH: ${SRCTOP}/sys/dev/nvmf/controller
+
+KMOD= nvmft
+
+SRCS= ctl_frontend_nvmf.c \
+ nvmft_controller.c \
+ nvmft_subr.c \
+ nvmft_qpair.c
+
+.include <bsd.kmod.mk>