9072c4ad0d
Currently either HW Engine Channel or SW Engine Channel will be used. In the case that HW Engine Channel is used while does not support related operations like IOAT for CRC, it will shift back to the SW Engine's handle. So that this is an issue that it still refers to the HW Engine Channel while needs SW Eninge Channel to handle. This patch introduces the SW Eninge Channel and always initializes there in case that HW Engine does not support some operations. Related UT also added to simulate the case the IOAT does not support CRC and then SW Eninge needs to properly handle it. Change-Id: I4ecdcd09ab669a616b37c567b45b1e6499800ec9 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9874 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> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
accel_engine.h | ||
assert.h | ||
event.h | ||
idxd.h | ||
init.h | ||
lvolstore.h | ||
mock.h | ||
nvme_tcp.h | ||
rdma.h | ||
sgl.h | ||
sock.h | ||
thread.h | ||
trace_defs.h | ||
uring.h | ||
usdt.h | ||
utf.h | ||
vhost_user.h | ||
virtio.h |