accel: correct spdk_accel_completion_cb's description
The callback is executed with the opaque argument specified by the user, not accel_task. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I6f4388d8c4ceb37d4df174a6f4c0529012fe1f28 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15020 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
28bfb8763b
commit
f3f3365688
@ -34,10 +34,10 @@ enum accel_opcode {
|
|||||||
/**
|
/**
|
||||||
* Acceleration operation callback.
|
* Acceleration operation callback.
|
||||||
*
|
*
|
||||||
* \param ref 'accel_task' passed to the corresponding spdk_accel_submit* call.
|
* \param cb_arg Callback argument specified in the spdk_accel_submit* call.
|
||||||
* \param status 0 if it completed successfully, or negative errno if it failed.
|
* \param status 0 if it completed successfully, or negative errno if it failed.
|
||||||
*/
|
*/
|
||||||
typedef void (*spdk_accel_completion_cb)(void *ref, int status);
|
typedef void (*spdk_accel_completion_cb)(void *cb_arg, int status);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Acceleration framework finish callback.
|
* Acceleration framework finish callback.
|
||||||
|
Loading…
Reference in New Issue
Block a user