Commit ec4bd050 authored by Ben Walker's avatar Ben Walker Committed by Tomasz Zawadzki
Browse files

idxd: Remove spdk_idxd_chan_get_max_operations



This is no longer needed.

Signed-off-by: default avatarBen 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent 5914f02b
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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
+0 −9
Original line number Diff line number Diff line
@@ -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)
{
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
	global:

	# public functions
	spdk_idxd_chan_get_max_operations;
	spdk_idxd_probe;
	spdk_idxd_detach;
	spdk_idxd_batch_prep_copy;