Spdk/test
Shuhei Matsumoto 3f836b036f dif: Fix opposite definition of DIF location parameter from SPDK NVMe API
SPDK NVMe driver and NVMe CLI define the parameter about DIF location as
follows:

If set to 1 and DIF is enabled, then DIF is transferred as the first 8
bytes of metadata. If set to 0 and DIF is enabled, then DIF is transferred
as the last 8 bytes of metadata. Defaults to 0.

This patch fixes the apparent inconsistency.

Change-Id: I481332bb9a6caa488664dbd1fe6039270b9f9663
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/440672
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2019-01-17 17:12:01 +00:00
..
app lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
bdev test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
blobfs test/rocksdb: only use 2GB cache for per-patch testing 2018-12-13 21:52:12 +00:00
blobstore vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
common thread: Rename spdk_free_thread to spdk_thread_exit 2019-01-17 11:24:38 +00:00
config_converter nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
event build: move app rules to spdk.app.mk 2018-12-12 22:35:21 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
json_config test/json_config: check if config is cleared properly 2019-01-16 14:17:10 +00:00
lvol test: modprobe nbd at the start of autotest 2018-11-26 18:17:28 +00:00
nvme memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
nvmf test/nvmf: start the perf tests w/ dynamic memory 2019-01-16 19:06:20 +00:00
pmem test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
unit dif: Fix opposite definition of DIF location parameter from SPDK NVMe API 2019-01-17 17:12:01 +00:00
vhost test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00