Spdk/test/unit/lib
Shuhei Matsumoto 372c5e1ec7 iscsi: Change the type of some negotiation params from uint32_t to bool
ImmediateData in negotation parameters can be controlled by the config
file and currently "Yes" or "No" are valid values of it in the config
file. "Yes" or "No" means almost bool. Additionally, ImmediateData is
defined as boolean value in the iSCSI specification as follows.

However ImmediateData is an uint32_t variable and 0 or 1 are used in
SPDK now.

In the upcoming JSON config file, boolean value should be set to
ImmediateData.

Hence change all variables and constants related with ImmediateData
to boolean in this patch.

InitialR2T, DataPDUInOrder, and DataSequenceInOrder are not controllable
by the config file but these are defined as boolean value in the
iSCSI specification.

Hence change them to bool too.

Besides, AllowDuplicateIsid is used almost as boolean value. Hence
change it to bool too.

InitialR2T=<boolean-value>
ImmediateData=<boolean-value>
DataPDUInOrder=<boolean-value>
DataSequenceInOrder=<boolean-value>

Change-Id: I9f98b219687b3600194563b1d6b85551f4586144
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/403237
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-03-14 13:41:22 -04:00
..
bdev bdev: make QoS channel management thread safe 2018-03-13 14:06:23 -04:00
blob Revert "blob: queue sync requests if one already in progress" 2018-03-12 20:37:49 -04:00
blobfs test/unit: move unittest.sh and dependencies here. 2018-03-13 18:44:34 -04:00
event subsystem: make subsystem declaration macro just register subsystem 2018-03-09 12:07:35 -05:00
ioat test: use spdk.unittest.mk for ioat unit tests 2018-02-14 10:40:40 -05:00
iscsi iscsi: Change the type of some negotiation params from uint32_t to bool 2018-03-14 13:41:22 -04:00
json ut/json: add missing UT for int64/uint64 write 2018-02-20 13:05:36 -05:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log test: use spdk.unittest.mk for event and log unit tests 2018-02-14 11:07:05 -05:00
lvol bdev: Added functions allowing logical volume store rename. 2018-03-08 11:26:16 -05:00
net net/sock: separate sock.c from posix related functions 2018-03-14 13:08:09 -04:00
nvme util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
nvmf nvmf: centralize duplicate subsystem NQN check 2018-03-14 12:54:15 -04:00
scsi scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
util lib/util: return const pointer from spdk_cpuset_fmt 2018-02-20 13:05:36 -05:00
vhost vhost: always inline spdk_vhost_dev_has_feature 2018-02-20 12:35:21 -05:00
Makefile test: add spdk_sock unit tests 2018-02-12 12:30:39 -05:00