+4
−0
+28
−32
+58
−60
+218
−123
File changed.
Preview size limit exceeded, changes collapsed.
Loading
This was sort of a clunky interface requiring a couple of inline functions in every app that wants to use the accel_fw moving forward. By having the accel_fw public API accept a callback arg instead of an accel_task combined with adding a pool of accel_tasks in the accel_fw engine we can eliminate this. After changing the parm to a cb_arg, changes were made to all accel_fw interfaces to put cb_fn and cb_arg as the last parms in public and private function calls. Related bdev_malloc changes need to be in this patch in order to pass CI. Signed-off-by:paul luse <paul.e.luse@intel.com> Change-Id: I2b75764e534562d91484a094c3352266156d8425 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3209 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>
File changed.
Preview size limit exceeded, changes collapsed.