aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-12-19 15:48:54 +0200
committerMatias Elo <matias.elo@nokia.com>2023-02-07 15:07:27 +0200
commita9e0425f9a0a25e5a173f06612ed31188ca005bf (patch)
tree4b7e81d1db8e3a45007b920bb11f26c23f9825b8 /include
parent6fdef020b8f15d4b0a5b7ff94255a8702fdada7d (diff)
api: tm: remove deprecated peak_bps shaper parameter
Remove deprecated 'peak_bps' field from odp_tm_shaper_params_t. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/spec/traffic_mngr.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index 6f05d59f9..9bd735a7a 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -1068,11 +1068,7 @@ typedef struct {
* 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