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
38 This enables the NVMe loopback device support, which can be useful
39 to test NVMe host and target side features.
43 config NVME_TARGET_RDMA
44 tristate "NVMe over Fabrics RDMA target support"
45 depends on INFINIBAND && INFINIBAND_ADDR_TRANS
46 depends on NVME_TARGET
49 This enables the NVMe RDMA target support, which allows exporting NVMe
55 tristate "NVMe over Fabrics FC target driver"
56 depends on NVME_TARGET
60 This enables the NVMe FC target support, which allows exporting NVMe
65 config NVME_TARGET_FCLOOP
66 tristate "NVMe over Fabrics FC Transport Loopback Test driver"
67 depends on NVME_TARGET
72 depends on NVME_TARGET_FC
74 This enables the NVMe FC loopback test support, which can be useful
75 to test NVMe-FC transport interfaces.
79 config NVME_TARGET_TCP
80 tristate "NVMe over Fabrics TCP target support"
82 depends on NVME_TARGET
84 This enables the NVMe TCP target support, which allows exporting NVMe