diff --git a/CHANGELOG.md b/CHANGELOG.md index e6b9b57e6..b2e420adc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/include/spdk/accel_engine.h b/include/spdk/accel_engine.h index b7ab59112..82e76bd4e 100644 --- a/include/spdk/accel_engine.h +++ b/include/spdk/accel_engine.h @@ -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; /** diff --git a/lib/accel/accel_engine.c b/lib/accel/accel_engine.c index 15c4d7d31..753cef4cb 100644 --- a/lib/accel/accel_engine.c +++ b/lib/accel/accel_engine.c @@ -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) { diff --git a/lib/accel/spdk_accel.map b/lib/accel/spdk_accel.map index d89d3172f..8adb611a3 100644 --- a/lib/accel/spdk_accel.map +++ b/lib/accel/spdk_accel.map @@ -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