Spdk/include/spdk_internal
Shuhei Matsumoto ced3e20709 nvme/tcp: Support extended LBA payload in nvme_tcp_build_iovs
When pdu->dif_ctx is not NULL, call spdk_dif_set_md_interleave_iovs
in nvme_tcp_build_iovs and nvme_tcp_build_payload_iovs to create
special SGL for the data segment to leave a space of metadata for
each block.

Add UT to verify if the update works correctly.

This update is very similar with the use case of
spdk_dif_set_md_interleave_iovs in iSCSI target.

Change-Id: Ie802cb4b7c541089579ecc2a630fc1e34004da55
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458923
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-07-08 03:33:07 +00:00
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
copy_engine.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event.h event: spdk_subsystem_config_json is no longer asynchronous 2019-03-19 15:54:34 +00:00
log.h iscsi: Dump PDU contents to know what PDU was sent in illegal state 2019-06-07 05:11:00 +00:00
lvolstore.h lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
memory.h env: move VALUE_2MB defines into a new internal header 2019-01-13 00:47:26 +00:00
mock.h mock: remove trailing semicolon from MOCK_ definitions 2019-03-22 05:03:42 +00:00
nvme_tcp.h nvme/tcp: Support extended LBA payload in nvme_tcp_build_iovs 2019-07-08 03:33:07 +00:00
sock.h sock: update spdk_sock_group_add_sock 2019-07-04 08:21:05 +00:00
thread.h thread: Use TLS to accelerate thread look up 2018-12-14 18:54:03 +00:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
vhost_user.h virtio: export spec-defined structures into a separate header 2019-03-13 14:26:20 +00:00
virtio.h virtio: allow config read/write to fail 2018-07-05 20:47:38 +00:00