blob: d7f48c0fb311f519dc4f89b826f7d4da4582a729 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Christoph Hellwiga07b4972016-06-21 18:04:20 +02002
3config NVME_TARGET
4 tristate "NVMe Target support"
5 depends on BLOCK
6 depends on CONFIGFS_FS
Enrico Weigelt, metux IT consulta5dffbb2019-04-24 12:34:39 +02007 select SGL_ALLOC
Christoph Hellwiga07b4972016-06-21 18:04:20 +02008 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
Christoph Hellwig3a85a5d2016-06-21 18:04:21 +020018config NVME_TARGET_LOOP
19 tristate "NVMe loopback device support"
Arnd Bergmann6eae8c42016-07-12 08:36:40 -070020 depends on NVME_TARGET
Christoph Hellwigaa719872016-08-18 11:16:36 -070021 select NVME_CORE
Christoph Hellwig3a85a5d2016-06-21 18:04:21 +020022 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
Christoph Hellwiga07b4972016-06-21 18:04:20 +020028 If unsure, say N.
Christoph Hellwig8f000ca2016-07-06 21:55:51 +090029
30config NVME_TARGET_RDMA
31 tristate "NVMe over Fabrics RDMA target support"
Arnd Bergmann533d1da2018-05-25 23:29:59 +020032 depends on INFINIBAND && INFINIBAND_ADDR_TRANS
Arnd Bergmann6eae8c42016-07-12 08:36:40 -070033 depends on NVME_TARGET
Bart Van Assche68c6e9c2018-01-05 08:26:49 -080034 select SGL_ALLOC
Christoph Hellwig8f000ca2016-07-06 21:55:51 +090035 help
36 This enables the NVMe RDMA target support, which allows exporting NVMe
37 devices over RDMA.
38
39 If unsure, say N.
James Smartc5343202016-12-02 00:28:43 -080040
41config NVME_TARGET_FC
42 tristate "NVMe over Fabrics FC target driver"
43 depends on NVME_TARGET
44 depends on HAS_DMA
Bart Van Assche4442b562018-01-05 08:26:48 -080045 select SGL_ALLOC
James Smartc5343202016-12-02 00:28:43 -080046 help
47 This enables the NVMe FC target support, which allows exporting NVMe
48 devices over FC.
49
50 If unsure, say N.
51
James Smart475d0fe2016-12-02 00:28:44 -080052config 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.
Sagi Grimberg872d26a2018-12-03 17:52:15 -080065
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.