+7
−0
+3
−3
Loading
In enum spdk_dif_pi_format, 16b guard PI = 1, 32b guard PI = 2, and 64b guard PI = 3. However, in the NVMe specification, 16b guard PI = 0, 32b guard PI = 1, and 64b guard PI = 2. These do not match. Furthermore, if there is no metadata or PI is disabled, enum spdk_dif_pi_format will not be initialized. In the current enum spdk_dif_pi_format, 0 is undefined. This is not desirable. Hence, subtract -1 from each of enum spdk_dif_pi_format. The last patch bumped SO_VER of lib/util forcefully. Hence, users will be able to detect this change and recompile their applications. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I103330e50363afa9a154fe72f1c0bd4c82d74e24 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23624 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot