From: Harman Kalra Date: Fri, 3 Sep 2021 13:08:03 +0000 (+0530) Subject: metrics: promote deinitialize API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3f156ec284125ba9a343ddda8ede0aed20be7a48;p=dpdk.git 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 --- 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;