Spdk/module/accel/dpdk_cryptodev
Konrad Sztyber 957076108f accel: remove nbytes from spdk_accel_task
All operations are using iovecs to describe their buffers and only
encrypt/decrypt additionally used nbytes to store the total size of a
src buffer.  We don't really need this value in the generic accel code,
so we can let modules calculate it, if necessary.  That way, we won't
waste cycles calculating it if a module doesn't use it and it makes the
code a bit easier, as we won't have to deal with the fact that nbytes is
only valid for certain operations.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I29252be34a9af9fd40f4c7fec9d0a0c1139c562d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16306
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-01-17 23:34:43 +00:00
..
accel_dpdk_cryptodev_rpc.c module/accel: Add accel_dpdk_cryptodev 2023-01-11 09:16:59 +00:00
accel_dpdk_cryptodev.c accel: remove nbytes from spdk_accel_task 2023-01-17 23:34:43 +00:00
accel_dpdk_cryptodev.h module/accel: Add accel_dpdk_cryptodev 2023-01-11 09:16:59 +00:00
Makefile module/accel: Add accel_dpdk_cryptodev 2023-01-11 09:16:59 +00:00