Loading...
1
2menuconfig TARGET_CORE
3 tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
4 depends on SCSI && BLOCK
5 select CONFIGFS_FS
6 default n
7 help
8 Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled
9 control path for target_core_mod. This includes built-in TCM RAMDISK
10 subsystem logic for virtual LUN 0 access
11
12if TARGET_CORE
13
14config TCM_IBLOCK
15 tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
16 help
17 Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
18 access to Linux/Block devices using BIO
19
20config TCM_FILEIO
21 tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
22 help
23 Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
24 access to Linux/VFS struct file or struct block_device
25
26config TCM_PSCSI
27 tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
28 help
29 Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
30 passthrough access to Linux/SCSI device
31
32source "drivers/target/loopback/Kconfig"
33source "drivers/target/tcm_fc/Kconfig"
34source "drivers/target/iscsi/Kconfig"
35
36endif
1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig TARGET_CORE
4 tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
5 depends on BLOCK
6 select CONFIGFS_FS
7 select CRC_T10DIF
8 select BLK_SCSI_REQUEST
9 select SGL_ALLOC
10 default n
11 help
12 Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled
13 control path for target_core_mod. This includes built-in TCM RAMDISK
14 subsystem logic for virtual LUN 0 access
15
16if TARGET_CORE
17
18config TCM_IBLOCK
19 tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
20 select BLK_DEV_INTEGRITY
21 help
22 Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
23 access to Linux/Block devices using BIO
24
25config TCM_FILEIO
26 tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
27 help
28 Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
29 access to Linux/VFS struct file or struct block_device
30
31config TCM_PSCSI
32 tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
33 depends on SCSI
34 help
35 Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
36 passthrough access to Linux/SCSI device
37
38config TCM_USER2
39 tristate "TCM/USER Subsystem Plugin for Linux"
40 depends on UIO && NET
41 help
42 Say Y here to enable the TCM/USER subsystem plugin for a userspace
43 process to handle requests. This is version 2 of the ABI; version 1
44 is obsolete.
45
46source "drivers/target/loopback/Kconfig"
47source "drivers/target/tcm_fc/Kconfig"
48source "drivers/target/iscsi/Kconfig"
49source "drivers/target/sbp/Kconfig"
50
51endif