treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / nvme / target / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
a07b4970
CH
2
3config NVME_TARGET
4 tristate "NVMe Target support"
5 depends on BLOCK
6 depends on CONFIGFS_FS
a5dffbb6 7 select SGL_ALLOC
a07b4970
CH
8 help
9 This enabled target side support for the NVMe protocol, that is
10 it allows the Linux kernel to implement NVMe subsystems and
11 controllers and export Linux block devices as NVMe namespaces.
12 You need to select at least one of the transports below to make this
13 functionality useful.
14
15 To configure the NVMe target you probably want to use the nvmetcli
16 tool from http://git.infradead.org/users/hch/nvmetcli.git.
17
3a85a5de
CH
18config NVME_TARGET_LOOP
19 tristate "NVMe loopback device support"
6eae8c45 20 depends on NVME_TARGET
aa719874 21 select NVME_CORE
3a85a5de
CH
22 select NVME_FABRICS
23 select SG_POOL
24 help
25 This enables the NVMe loopback device support, which can be useful
26 to test NVMe host and target side features.
27
a07b4970 28 If unsure, say N.
8f000cac
CH
29
30config NVME_TARGET_RDMA
31 tristate "NVMe over Fabrics RDMA target support"
533d1dae 32 depends on INFINIBAND && INFINIBAND_ADDR_TRANS
6eae8c45 33 depends on NVME_TARGET
68c6e9cd 34 select SGL_ALLOC
8f000cac
CH
35 help
36 This enables the NVMe RDMA target support, which allows exporting NVMe
37 devices over RDMA.
38
39 If unsure, say N.
c5343203
JS
40
41config NVME_TARGET_FC
42 tristate "NVMe over Fabrics FC target driver"
43 depends on NVME_TARGET
44 depends on HAS_DMA
4442b56f 45 select SGL_ALLOC
c5343203
JS
46 help
47 This enables the NVMe FC target support, which allows exporting NVMe
48 devices over FC.
49
50 If unsure, say N.
51
475d0fe7
JS
52config NVME_TARGET_FCLOOP
53 tristate "NVMe over Fabrics FC Transport Loopback Test driver"
54 depends on NVME_TARGET
55 select NVME_CORE
56 select NVME_FABRICS
57 select SG_POOL
58 depends on NVME_FC
59 depends on NVME_TARGET_FC
60 help
61 This enables the NVMe FC loopback test support, which can be useful
62 to test NVMe-FC transport interfaces.
63
64 If unsure, say N.
872d26a3
SG
65
66config NVME_TARGET_TCP
67 tristate "NVMe over Fabrics TCP target support"
68 depends on INET
69 depends on NVME_TARGET
70 help
71 This enables the NVMe TCP target support, which allows exporting NVMe
72 devices over TCP.
73
74 If unsure, say N.