From patchwork Tue Jun 26 09:56:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Matz X-Patchwork-Id: 41550 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 441691B551; Tue, 26 Jun 2018 11:57:03 +0200 (CEST) Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 4E4741B550 for ; Tue, 26 Jun 2018 11:57:01 +0200 (CEST) Received: from glumotte.dev.6wind.com. (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id 3AB91195870; Tue, 26 Jun 2018 11:51:55 +0200 (CEST) From: Olivier Matz To: dev@dpdk.org, Hemant Agrawal Cc: santosh.shukla@caviumnetworks.com, John McNamara Date: Tue, 26 Jun 2018 11:56:37 +0200 Message-Id: <20180626095637.5637-2-olivier.matz@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180626095637.5637-1-olivier.matz@6wind.com> References: <20180626091236.30429-1-olivier.matz@6wind.com> <20180626095637.5637-1-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH v2 2/2] eal: remove experimental tag from user mbuf pool ops func X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 tag from rte_eal_mbuf_user_pool_ops(). Signed-off-by: Olivier Matz Acked-by: Santosh Shukla --- v2: * remove rte_eal_mbuf_user_pool_ops from .map in this patch instead of previous one lib/librte_eal/bsdapp/eal/eal.c | 2 +- lib/librte_eal/common/include/rte_eal.h | 5 +---- lib/librte_eal/linuxapp/eal/eal.c | 2 +- lib/librte_eal/rte_eal_version.map | 7 ++++++- lib/librte_mbuf/Makefile | 1 - lib/librte_mbuf/meson.build | 1 - 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index f7cced725..98c689b16 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -147,7 +147,7 @@ eal_get_runtime_dir(void) } /* Return user provided mbuf pool ops name */ -const char * __rte_experimental +const char * rte_eal_mbuf_user_pool_ops(void) { return internal_config.user_mbuf_pool_ops_name; diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index 0c9c3f13b..e114dcbdc 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -490,15 +490,12 @@ static inline int rte_gettid(void) enum rte_iova_mode rte_eal_iova_mode(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get user provided pool ops name for mbuf * * @return * returns user provided pool ops name. */ -const char * __rte_experimental +const char * rte_eal_mbuf_user_pool_ops(void); #ifdef __cplusplus diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index cf2a8082b..71ec2be9f 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -155,7 +155,7 @@ eal_get_runtime_dir(void) } /* Return user provided mbuf pool ops name */ -const char * __rte_experimental +const char * rte_eal_mbuf_user_pool_ops(void) { return internal_config.user_mbuf_pool_ops_name; diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map index d0564d11f..c151c8454 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -240,6 +240,12 @@ DPDK_18.05 { } DPDK_18.02; +DPDK_18.08 { + global: + + rte_eal_mbuf_user_pool_ops; +} DPDK_18.05; + EXPERIMENTAL { global: @@ -258,7 +264,6 @@ EXPERIMENTAL { rte_eal_cleanup; rte_eal_hotplug_add; rte_eal_hotplug_remove; - rte_eal_mbuf_user_pool_ops; rte_fbarray_attach; rte_fbarray_destroy; rte_fbarray_detach; diff --git a/lib/librte_mbuf/Makefile b/lib/librte_mbuf/Makefile index 8749a00fe..e2b98a254 100644 --- a/lib/librte_mbuf/Makefile +++ b/lib/librte_mbuf/Makefile @@ -6,7 +6,6 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name LIB = librte_mbuf.a -CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 LDLIBS += -lrte_eal -lrte_mempool diff --git a/lib/librte_mbuf/meson.build b/lib/librte_mbuf/meson.build index 869c17c1c..45ffb0db5 100644 --- a/lib/librte_mbuf/meson.build +++ b/lib/librte_mbuf/meson.build @@ -2,7 +2,6 @@ # Copyright(c) 2017 Intel Corporation version = 3 -allow_experimental_apis = true sources = files('rte_mbuf.c', 'rte_mbuf_ptype.c', 'rte_mbuf_pool_ops.c') headers = files('rte_mbuf.h', 'rte_mbuf_ptype.h', 'rte_mbuf_pool_ops.h') deps += ['mempool']