From 3f156ec284125ba9a343ddda8ede0aed20be7a48 Mon Sep 17 00:00:00 2001 From: Harman Kalra Date: Fri, 3 Sep 2021 18:38:03 +0530 Subject: [PATCH] metrics: promote deinitialize API Remove experimental flag from rte_metrics_deinit(). This API was introduced in 19.11 release. Signed-off-by: Harman Kalra Acked-by: Ray Kinsella --- lib/metrics/rte_metrics.h | 4 ---- lib/metrics/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/metrics/rte_metrics.h b/lib/metrics/rte_metrics.h index fbe64ddf2b..c2815a252c 100644 --- a/lib/metrics/rte_metrics.h +++ b/lib/metrics/rte_metrics.h @@ -83,9 +83,6 @@ struct rte_metric_value { void rte_metrics_init(int socket_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Deinitialize metric module. This function must be called from * a primary process after all the metrics usage is over, to * release the shared memory. @@ -96,7 +93,6 @@ void rte_metrics_init(int socket_id); * (rte_metrics_init() not called) * 0 - success */ -__rte_experimental int rte_metrics_deinit(void); /** diff --git a/lib/metrics/version.map b/lib/metrics/version.map index c86e405971..b11a9647cd 100644 --- a/lib/metrics/version.map +++ b/lib/metrics/version.map @@ -1,6 +1,7 @@ DPDK_22 { global: + rte_metrics_deinit; rte_metrics_get_names; rte_metrics_get_values; rte_metrics_init; @@ -15,7 +16,6 @@ DPDK_22 { EXPERIMENTAL { global: - rte_metrics_deinit; rte_metrics_tel_encode_json_format; rte_metrics_tel_reg_all_ethdev; rte_metrics_tel_get_global_stats; -- 2.20.1