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