lib/accel: remove dead code
Not needed with new scheme around accel_task in prior patches. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Ic6f16654db62fe1dc51b0822f0ff92261da4494c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3212 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
e8463f873f
commit
f7d25cf7c7
@ -8,6 +8,9 @@ The accel_fw was updated to no longer require the app to allocate an
|
||||
accel_task on its behalf. All public APIs now take a callback arg as
|
||||
the parameter that used to be the accel_task.
|
||||
|
||||
The accel_fw API `spdk_accel_task_size` was removed as it is no longer
|
||||
required.
|
||||
|
||||
The accel_fw was updated to support compare, dualcast, crc32c.
|
||||
|
||||
The accel_fw introduced batching support for all commands in all plug-ins.
|
||||
|
@ -71,8 +71,6 @@ typedef void (*spdk_accel_fini_cb)(void *cb_arg);
|
||||
|
||||
struct spdk_io_channel;
|
||||
|
||||
struct spdk_accel_task;
|
||||
|
||||
struct spdk_accel_batch;
|
||||
|
||||
/**
|
||||
@ -336,13 +334,6 @@ int spdk_accel_batch_prep_crc32c(struct spdk_io_channel *ch, struct spdk_accel_b
|
||||
int spdk_accel_submit_crc32c(struct spdk_io_channel *ch, uint32_t *dst, void *src, uint32_t seed,
|
||||
uint64_t nbytes, spdk_accel_completion_cb cb_fn, void *cb_arg);
|
||||
|
||||
/**
|
||||
* Get the size of an acceleration task.
|
||||
*
|
||||
* \return the size of acceleration task.
|
||||
*/
|
||||
size_t spdk_accel_task_size(void);
|
||||
|
||||
struct spdk_json_write_ctx;
|
||||
|
||||
/**
|
||||
|
@ -427,13 +427,6 @@ spdk_accel_submit_crc32c(struct spdk_io_channel *ch, uint32_t *dst, void *src, u
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns the largest context size of the accel modules. */
|
||||
size_t
|
||||
spdk_accel_task_size(void)
|
||||
{
|
||||
return g_max_accel_module_size;
|
||||
}
|
||||
|
||||
/* Helper function when when accel modules register with the framework. */
|
||||
void spdk_accel_module_list_add(struct spdk_accel_module_if *accel_module)
|
||||
{
|
||||
|
@ -21,7 +21,6 @@
|
||||
spdk_accel_submit_compare;
|
||||
spdk_accel_submit_fill;
|
||||
spdk_accel_submit_crc32c;
|
||||
spdk_accel_task_size;
|
||||
spdk_accel_write_config_json;
|
||||
|
||||
# functions needed by modules
|
||||
|
Loading…
Reference in New Issue
Block a user