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