65e491a8de
Introduce a struct to collect DIF error information and pass the reference to the struct to bit-flip error injection and verification. This change will make logging of DIF error and comparison between injection and verification possible. Change-Id: I43941f1a7f4b0ad1e8ff324f2ac8fad9e195a100 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/438023 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>