1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "NVMe Target support"
7 select NVME_KEYRING if NVME_TARGET_TCP_TLS
8 select KEYS if NVME_TARGET_TCP_TLS
11 This enabled target side support for the NVMe protocol, that is
12 it allows the Linux kernel to implement NVMe subsystems and
13 controllers and export Linux block devices as NVMe namespaces.
14 You need to select at least one of the transports below to make this
17 To configure the NVMe target you probably want to use the nvmetcli
18 tool from http://git.infradead.org/users/hch/nvmetcli.git.
20 config NVME_TARGET_DEBUGFS
21 bool "NVMe Target debugfs support"
22 depends on NVME_TARGET
24 This enables debugfs support to display the connected controllers
29 config NVME_TARGET_PASSTHRU
30 bool "NVMe Target Passthrough support"
31 depends on NVME_TARGET
32 depends on NVME_CORE=y || NVME_CORE=NVME_TARGET
34 This enables target side NVMe passthru controller support for the
35 NVMe Over Fabrics protocol. It allows for hosts to manage and
36 directly access an actual NVMe controller residing on the target
37 side, including executing Vendor Unique Commands.
41 config NVME_TARGET_LOOP
42 tristate "NVMe loopback device support"
43 depends on NVME_TARGET
47 This enables the NVMe loopback device support, which can be useful
48 to test NVMe host and target side features.
52 config NVME_TARGET_RDMA
53 tristate "NVMe over Fabrics RDMA target support"
54 depends on INFINIBAND && INFINIBAND_ADDR_TRANS
55 depends on NVME_TARGET
58 This enables the NVMe RDMA target support, which allows exporting NVMe
64 tristate "NVMe over Fabrics FC target driver"
65 depends on NVME_TARGET
69 This enables the NVMe FC target support, which allows exporting NVMe
74 config NVME_TARGET_FCLOOP
75 tristate "NVMe over Fabrics FC Transport Loopback Test driver"
76 depends on NVME_TARGET
80 depends on NVME_TARGET_FC
82 This enables the NVMe FC loopback test support, which can be useful
83 to test NVMe-FC transport interfaces.
87 config NVME_TARGET_TCP
88 tristate "NVMe over Fabrics TCP target support"
90 depends on NVME_TARGET
92 This enables the NVMe TCP target support, which allows exporting NVMe
97 config NVME_TARGET_TCP_TLS
98 bool "NVMe over Fabrics TCP target TLS encryption support"
99 depends on NVME_TARGET_TCP
102 Enables TLS encryption for the NVMe TCP target using the netlink handshake API.
104 The TLS handshake daemon is available at
105 https://github.com/oracle/ktls-utils.
109 config NVME_TARGET_AUTH
110 bool "NVMe over Fabrics In-band Authentication in target side"
111 depends on NVME_TARGET
114 This enables support for NVMe over Fabrics In-band Authentication in