idxd: Remove spdk_idxd_chan_get_max_operations

This is no longer needed.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Change-Id: I11b7e9acbcf1239a0ad2f49169d7e3d5844a1b93
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11029
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Ben Walker 2022-01-11 09:05:15 -07:00 committed by Tomasz Zawadzki
parent 5914f02b2a
commit ec4bd05006
3 changed files with 0 additions and 18 deletions

View File

@ -271,14 +271,6 @@ struct spdk_idxd_io_channel *spdk_idxd_get_channel(struct spdk_idxd_device *idxd
*/
void spdk_idxd_put_channel(struct spdk_idxd_io_channel *chan);
/**
* Get the max number of outstanding operations supported by this channel.
*
* \param chan IDXD channel to communicate on.
* \return max number of operations supported.
*/
int spdk_idxd_chan_get_max_operations(struct spdk_idxd_io_channel *chan);
#ifdef __cplusplus
}
#endif

View File

@ -272,15 +272,6 @@ spdk_idxd_put_channel(struct spdk_idxd_io_channel *chan)
free(chan);
}
/* returns the total max operations for channel. */
int
spdk_idxd_chan_get_max_operations(struct spdk_idxd_io_channel *chan)
{
assert(chan != NULL);
return chan->idxd->total_wq_size / chan->idxd->chan_per_device;
}
static inline struct spdk_idxd_impl *
idxd_get_impl_by_name(const char *impl_name)
{

View File

@ -2,7 +2,6 @@
global:
# public functions
spdk_idxd_chan_get_max_operations;
spdk_idxd_probe;
spdk_idxd_detach;
spdk_idxd_batch_prep_copy;