+55
−34
Loading
Code was not easy to read and understand for buffer split cases. Refactor spdk_dif_generate() to improve readability and to make us easier to change. This patch changes only generate function. The existing verify function can check if this change is correct. The next patch will change the corresponding verify function. Similar refactoring will follow in the patch series. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Iefc6a54b81bff1282c1149bcc8efb81eaf129a1d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23842 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot