aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/traffic_mngr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/odp/api/spec/traffic_mngr.h')
-rw-r--r--include/odp/api/spec/traffic_mngr.h45
1 files changed, 2 insertions, 43 deletions
diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index f634cfb44..9bd735a7a 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -745,39 +745,6 @@ void odp_tm_requirements_init(odp_tm_requirements_t *requirements);
*/
void odp_tm_egress_init(odp_tm_egress_t *egress);
-/** Query All TM Capabilities
- *
- * @deprecated Use odp_tm_egress_capabilities() instead that also additionally
- * takes egress as input to provide capabilities specific to a given egress.
- *
- * This function returns the set of TM capabilities that are common for all
- * egresses. The reason that this returns a SET of capabilities and not just
- * one, is because it is expected that many HW based implementations may have
- * one set of limits for the HW and also support a SW TM implementation with a
- * (presumably larger) different set of limits. There are also cases where
- * there could be more than one SW implementation (one supporting say tens of
- * thousands of tm_queues and a variant supporting tens of millions of
- * tm_queues). It returns capabilities that are valid for all egresses.
- * The caller passes in an array of odp_tm_capabilities_t records and the
- * maximum number of such records to output. If number of such records
- * implementation supports is larger than caller requested number, then
- * only caller requested number of records are written and return value is
- * max number of records implementation supports.
- * Caller then may again call with larger number of records to be returned.
- *
- * @param[out] capabilities An array of odp_tm_capabilities_t records to
- * be filled in.
- * @param capabilities_size The number of odp_tm_capabilities_t records
- * in the capabilities array.
- * @return Returns < 0 upon failure. Returns N > 0,
- * where N is the maximum number of different
- * odp_tm_capabilities_t records that the
- * implementations supports. *NOTE* that this
- * number can be > capabilities_size!
- */
-int ODP_DEPRECATE(odp_tm_capabilities)(odp_tm_capabilities_t capabilities[],
- uint32_t capabilities_size);
-
/** Query TM Capabilities specific to an egress
*
* The function returns the set of TM limits supported by this implementation
@@ -1094,22 +1061,14 @@ typedef struct {
* for this integer is in bits per second when packet_mode is
* not TRUE while packets per second when packet mode is TRUE.
*/
- union {
- /** @deprecated Use commit_rate instead */
- uint64_t ODP_DEPRECATE(commit_bps);
- uint64_t commit_rate; /**< Commit information rate */
- };
+ uint64_t commit_rate;
/** The peak information rate for this shaper profile. The units for
* this integer is in bits per second when packet_mode is
* not TRUE while in packets per second when packet mode is TRUE.
* This field is ignored when dual_rate is FALSE.
*/
- union {
- /** @deprecated Use peak_rate instead */
- uint64_t ODP_DEPRECATE(peak_bps);
- uint64_t peak_rate; /**< Peak information rate */
- };
+ uint64_t peak_rate;
/** The commit burst tolerance for this shaper profile. The units for
* this field is bits when packet_mode is not TRUE and packets when