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:
parent
5914f02b2a
commit
ec4bd05006
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -2,7 +2,6 @@
|
||||
global:
|
||||
|
||||
# public functions
|
||||
spdk_idxd_chan_get_max_operations;
|
||||
spdk_idxd_probe;
|
||||
spdk_idxd_detach;
|
||||
spdk_idxd_batch_prep_copy;
|
||||
|
Loading…
Reference in New Issue
Block a user