+21
−12
Loading
This patch makes spdk_dif_set_md_interleave_iovs() and spdk_dif_generate_stream() process unaligned start of data segment properly by using ctx->data_offset. Separating this patch into two may be required but this patch is small and aggregating into a patch is good to test. UT code demonstrates how it is realized. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Idb5250aba4e12a34102e5ce067d725c685681177 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458142 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com>