numam-spdk/test
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
..
app lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
blobfs/rocksdb test: set all coremasks to use 8 or fewer cores. 2018-03-13 00:51:37 -04:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test/common: exit with error in waitforlisten() if app crashed 2018-03-07 11:02:35 -05:00
config test/vm_setup: don't change global git config 2018-03-08 11:22:19 -05:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
iscsi_tgt test/iscsi_tgt: Update comment for disable CHAP authentication 2018-03-13 12:10:03 -04:00
lib test/unit: move unittest.sh and dependencies here. 2018-03-13 18:44:34 -04:00
lvol test/lvol: functional tests for rename 2018-03-08 11:26:16 -05:00
nvmf test: set all coremasks to use 8 or fewer cores. 2018-03-13 00:51:37 -04:00
pmem autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
unit iscsi: Change the type of some negotiation params from uint32_t to bool 2018-03-14 13:41:22 -04:00
vhost test/vhost: Vhost blk hotremove test plan. 2018-03-09 13:17:14 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00