+3
−6
+7
−1
Loading
When a data digest error is detected, only the status.sc field of the CQE was filled, leaving sct and cid unassigned. The former isn't a big deal, because the CQE is always zeroed when a new request arrives and, incidentally, sct=GENERIC is defined as 0. However, not filling cid means that the target would always report data digest errors for cid=0, regardless of the actual id of the command. Change-Id: Ia6d7be365cc9416472cd4c4cc479bb695552fdb4 Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20446 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>