+11
−5
+153
−39
Loading
iovs and bounce occupy 192 bytes, they are used by several _submit_ functions which don't support iovs. These functions do not support sequence which is the preferred way to use accel operations. Functions which support accel sequence use aux iovs and/or bounce buffers in rare cases when accel domain of staging buffer are used. Let's consider these cases as "slow" path and try to improve other use cases. These structures create a gap between hot data in the base spdk_accel_task and module-specific context located after the base structure. To make it more cache-friendly, move aux iovs and bounce buffers to a new aux structure, keep a pool of aux structure in io_cahnnel and use them where needed Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: Ifec404513b7bb53edbdf22faf03fb9929b5fdd46 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21121 Reviewed-by:
Ben Walker <ben@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot