User`s guide

Chapter VII. iSCSI PDU Offload Target
Chelsio T5/T4 Unified Wire For Linux Page 118
TargetSessionMaxCmd
1 to 2048
64
No
The maximum number of outstanding
iSCSI commands per session.
TargetDevice*
<path/name>
[,FILE|MEM|BL
K]
[,NULLRW]
[,SYNC]
[,RO]
[,size=xMB]
[,ScsiID=xxxx
xx]
[,WWN=xxxxxxx
xx]
No
A device served up by the associated
target.
The device mode can be a:
Block Device (e.g. /dev/sda)
Virtual Block Device (e.g.
/dev/md0)
RamDisk
Regular File
<path/name> is the path to the device
- with the exception of when a RAM
Disk is specified, where it is a unique
name given to the device. If multiple
RAM Disks are used for a target then
each name must be unique within the
target.
NULLRW specifies that random data is
returned for reads, and for writes data
is dropped. Useful for testing network
performance.
SYNC specifies that the device will
function in the write-through mode (i.e.,
the data will be flushed to the device
before the response is returned to the
initiator).
NOTE: SYNC is only applicable with
FILE mode.
RO specifies the device as a read-only
device.
FILE specifies this device should be
accessed via the kernel‟s VFS layer.
This mode is the most versatile, and it
is the default mode in the cases where
there is no mode specified.
BLK specifies this device should be
accessed via the kernel‟s block layer.
This mode is suitable for high-speed
storage device such as RAID
Controllers.
MEM specifies this device should be
created as a RAM Disk.
size=xMB is used with “MEM”, to
specify the RamDisk size. If not
specified, the default RamDisk size is
16MB (16 Megabytes). The minimum
value of x is 1 (1MB) and the maximum
value is limited by system memory.
ScsiID=xxxxxx is a 16 character
unique value set for multipath aware
iSCSI initiator host.