Loading
bdev/crypto: add crypto_io_fail()
There are lots of places when we need to abort accel sequence and complete bdev_io with a failed status, so move that code to a dedicated function. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I5f6f4146c736d9c8e04b5667117d6e7ed824a654 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17088 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Artur Paszkiewicz <artur.paszkiewicz@intel.com>