numam-spdk/test/nvme
Klaus Jensen 465dbb040c test/nvme: fix e2edp tests when md_size > 8 bytes
The e2edp test `dp_with_pract_test` includes code to modify the data
length if the size of metadata is 8 bytes, but fails to set
req->use_extended_lba if we actually need to pass an extended LBA
(md_size > 8).

Similarly, the `dp_guard_check_extended_lba_test` miscalculates the CRC
when md_size is > 8. The CRC must be calculated over both data AND the
first md_size - 8 bytes of metadata.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Change-Id: I5252c1fe02908745d6aa68799859ed85f32e87ec
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6891
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-03-18 13:20:41 +00:00
..
aer test/aer: modify help case to return 0 2021-02-08 16:13:29 +00:00
cuse scripts: replace PCI_WHITELIST with PCI_ALLOWED 2020-12-03 09:41:07 +00:00
deallocated_value test/deallocated : Fix memory leak about context. 2020-09-28 08:30:38 +00:00
e2edp test/nvme: fix e2edp tests when md_size > 8 bytes 2021-03-18 13:20:41 +00:00
err_injection test/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
overhead test/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
perf test/nvme_perf: add option for alternative fio job layout 2021-01-18 13:02:49 +00:00
reserve test/nvme_reserve: allocate IO queue pair for supported controllers 2021-01-18 13:00:33 +00:00
reset test: Use PRId64 for portability 2020-11-19 09:53:05 +00:00
sgl test/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
startup test/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
hotplug.sh nvme/hotplug.sh: Copy external DPDK libs into test VM 2020-10-30 16:13:59 +00:00
hw_hotplug.sh hw_hotplug: Fix HW hotplug test 2020-07-21 09:23:09 +00:00
Makefile test/nvme: dynamic nvme cuse devices update test 2020-06-05 09:01:44 +00:00
nvme_opal.sh test/opal: add a trap for opal_revert_and_init() 2020-08-19 07:30:04 +00:00
nvme_rpc.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
nvme.sh example/nvme/plugin: set bs 4160 for Extended Data LBA 2021-02-04 08:45:01 +00:00