d69dc28b00
For NVMe/TCP target, data segments which correspond to H2C or C2H PDU will have any alignment, and _dif_verify_split will have to process partial data block, particularly the following types: - start and end are both within a data block. - start is within a data block, and end is at the end of a block On the other hand, _dif_verify_split had assumed that passed block is always a complete block. To process the above types, separating guard computation, DIF copy and skipping metadata field, and DIF verification into three parts will be helpful and is done in this patch. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ic4f1765e01507efa812dfaf7a8018666c6346f8e Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458328 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
base64.c | ||
bit_array.c | ||
cpuset.c | ||
crc16.c | ||
crc32_ieee.c | ||
crc32.c | ||
crc32c.c | ||
dif.c | ||
fd.c | ||
file.c | ||
Makefile | ||
strerror_tls.c | ||
string.c | ||
uuid.c |