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> |
||
---|---|---|
.. | ||
dpdk_cryptodev | ||
dsa | ||
iaa | ||
ioat | ||
Makefile |