Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only

config CONFIG_NVME_TARGET
	tristate "NVMe Target support"
	depends on CONFIG_BLOCK
	depends on CONFIG_CONFIGFS_FS
	select CONFIG_SGL_ALLOC
	help
	  This enabled target side support for the NVMe protocol, that is
	  it allows the Linux kernel to implement NVMe subsystems and
	  controllers and export Linux block devices as NVMe namespaces.
	  You need to select at least one of the transports below to make this
	  functionality useful.

	  To configure the NVMe target you probably want to use the nvmetcli
	  tool from http://git.infradead.org/users/hch/nvmetcli.git.

config CONFIG_NVME_TARGET_LOOP
	tristate "NVMe loopback device support"
	depends on CONFIG_NVME_TARGET
	select CONFIG_NVME_CORE
	select CONFIG_NVME_FABRICS
	select CONFIG_SG_POOL
	help
	  This enables the NVMe loopback device support, which can be useful
	  to test NVMe host and target side features.

	  If unsure, say N.

config CONFIG_NVME_TARGET_RDMA
	tristate "NVMe over Fabrics RDMA target support"
	depends on CONFIG_INFINIBAND && CONFIG_INFINIBAND_ADDR_TRANS
	depends on CONFIG_NVME_TARGET
	select CONFIG_SGL_ALLOC
	help
	  This enables the NVMe RDMA target support, which allows exporting NVMe
	  devices over RDMA.

	  If unsure, say N.

config CONFIG_NVME_TARGET_FC
	tristate "NVMe over Fabrics FC target driver"
	depends on CONFIG_NVME_TARGET
	depends on CONFIG_HAS_DMA
	select CONFIG_SGL_ALLOC
	help
	  This enables the NVMe FC target support, which allows exporting NVMe
	  devices over FC.

	  If unsure, say N.

config CONFIG_NVME_TARGET_FCLOOP
	tristate "NVMe over Fabrics FC Transport Loopback Test driver"
	depends on CONFIG_NVME_TARGET
	select CONFIG_NVME_CORE
	select CONFIG_NVME_FABRICS
	select CONFIG_SG_POOL
	depends on CONFIG_NVME_FC
	depends on CONFIG_NVME_TARGET_FC
	help
	  This enables the NVMe FC loopback test support, which can be useful
	  to test NVMe-FC transport interfaces.

	  If unsure, say N.

config CONFIG_NVME_TARGET_TCP
	tristate "NVMe over Fabrics TCP target support"
	depends on CONFIG_INET
	depends on CONFIG_NVME_TARGET
	help
	  This enables the NVMe TCP target support, which allows exporting NVMe
	  devices over TCP.

	  If unsure, say N.