Skip to content

Commit d9174c1

Browse files
ChaitanayaKulkarniChristoph Hellwig
authored andcommitted
nvmet: introduce the passthru Kconfig option
This patch updates KConfig file for the NVMeOF target where we add new option so that user can selectively enable/disable passthru code. Signed-off-by: Chaitanya Kulkarni <[email protected]> [[email protected]: fixed some of the wording in the help message] Signed-off-by: Logan Gunthorpe <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent cae5b01 commit d9174c1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/nvme/target/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ config NVME_TARGET
1616
To configure the NVMe target you probably want to use the nvmetcli
1717
tool from http://git.infradead.org/users/hch/nvmetcli.git.
1818

19+
config NVME_TARGET_PASSTHRU
20+
bool "NVMe Target Passthrough support"
21+
depends on NVME_TARGET
22+
depends on NVME_CORE=y || NVME_CORE=NVME_TARGET
23+
help
24+
This enables target side NVMe passthru controller support for the
25+
NVMe Over Fabrics protocol. It allows for hosts to manage and
26+
directly access an actual NVMe controller residing on the target
27+
side, incuding executing Vendor Unique Commands.
28+
29+
If unsure, say N.
30+
1931
config NVME_TARGET_LOOP
2032
tristate "NVMe loopback device support"
2133
depends on NVME_TARGET

0 commit comments

Comments
 (0)