From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F0B8AA0C54; Fri, 3 Sep 2021 15:08:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98BE640E78; Fri, 3 Sep 2021 15:08:17 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D30D240E64 for ; Fri, 3 Sep 2021 15:08:15 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 183A4k6C011735; Fri, 3 Sep 2021 06:08:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=OdDMr84eDiejeH8evaKq/O3KX8Q9A2r1UFTSO7GIvxY=; b=gCh3Sy7TYV2ZEEqFv0ljJ8qOyIm/QQzQZq2XeMQdTPd+f39ELlFFxMaM7QSBSC1CU0H0 h4mNNLCtgEHlJKZdaQrO9u3VUrelML0iQnsghZ4O2shQSo68LNUlMJe8j4pVOpUB2+to g+MIJdsQIv+gtgr54uTBQj+nbuJqNfI1QKmycWSP0inciFjg9+aAUUMK0qpHIg8u+8Px ShRF1OlXzK7bu6XWNJpgAOOJVqWvm8nTCccbyna09WBNfnlhnbC4vUOUYhUeqsERVcRw n4/723+JqxhNLxQGEYOagV6oxPSvR6BEAnh/z5+nrp49Hf8typ/l9sdHZKXi/ftJntqu Kg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3auhmw8n0e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 03 Sep 2021 06:08:12 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 3 Sep 2021 06:08:10 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Fri, 3 Sep 2021 06:08:10 -0700 Received: from localhost.localdomain (unknown [10.29.52.211]) by maili.marvell.com (Postfix) with ESMTP id B3B515B6946; Fri, 3 Sep 2021 06:08:09 -0700 (PDT) From: Harman Kalra To: , Ray Kinsella CC: Harman Kalra Date: Fri, 3 Sep 2021 18:38:03 +0530 Message-ID: <20210903130803.103371-1-hkalra@marvell.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: b9JkaEkkZ5doHz51nMtgemlKejnIJ1L2 X-Proofpoint-ORIG-GUID: b9JkaEkkZ5doHz51nMtgemlKejnIJ1L2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-03_05,2021-09-03_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH] metrics: promote metrics deinitialize API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove experimental flag from rte_metrics_deinit(). This API was introduced in 19.11 release. Signed-off-by: Harman Kalra --- 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..03bfdff569 100644 --- a/lib/metrics/version.map +++ b/lib/metrics/version.map @@ -8,6 +8,7 @@ DPDK_22 { rte_metrics_reg_names; rte_metrics_update_value; rte_metrics_update_values; + rte_metrics_deinit; local: *; }; @@ -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.18.0