1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "NVMe Target support"
7 select BLK_DEV_INTEGRITY_T10 if BLK_DEV_INTEGRITY
10 This enabled target side support for the NVMe protocol, that is
11 it allows the Linux kernel to implement NVMe subsystems and
12 controllers and export Linux block devices as NVMe namespaces.
13 You need to select at least one of the transports below to make this
16 To configure the NVMe target you probably want to use the nvmetcli
17 tool from http://git.infradead.org/users/hch/nvmetcli.git.
19 config NVME_TARGET_PASSTHRU
20 bool "NVMe Target Passthrough support"
21 depends on NVME_TARGET
22 depends on NVME_CORE=y || NVME_CORE=NVME_TARGET
24 This enables target side NVMe passthru controller support for the
25 NVMe Over Fabrics protocol. It allows for hosts to manage and
26 directly access an actual NVMe controller residing on the target
27 side, including executing Vendor Unique Commands.
31 config NVME_TARGET_LOOP
32 tristate "NVMe loopback device support"
33 depends on NVME_TARGET
37 This enables the NVMe loopback device support, which can be useful
38 to test NVMe host and target side features.
42 config NVME_TARGET_RDMA
43 tristate "NVMe over Fabrics RDMA target support"
44 depends on INFINIBAND && INFINIBAND_ADDR_TRANS
45 depends on NVME_TARGET
48 This enables the NVMe RDMA target support, which allows exporting NVMe
54 tristate "NVMe over Fabrics FC target driver"
55 depends on NVME_TARGET
59 This enables the NVMe FC target support, which allows exporting NVMe
64 config NVME_TARGET_FCLOOP
65 tristate "NVMe over Fabrics FC Transport Loopback Test driver"
66 depends on NVME_TARGET
70 depends on NVME_TARGET_FC
72 This enables the NVMe FC loopback test support, which can be useful
73 to test NVMe-FC transport interfaces.
77 config NVME_TARGET_TCP
78 tristate "NVMe over Fabrics TCP target support"
80 depends on NVME_TARGET
82 This enables the NVMe TCP target support, which allows exporting NVMe