From 6b867cc11398c50845cb104caf84b43c29344da2 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 7 Aug 2018 23:34:43 +0200 Subject: [PATCH] eal: remove experimental tag for user mbuf pool ops Remove experimental tag from rte_eal_mbuf_user_pool_ops(). Signed-off-by: Olivier Matz Acked-by: Santosh Shukla Acked-by: Hemant Agrawal --- 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 | 2 +- lib/librte_mbuf/Makefile | 1 - lib/librte_mbuf/meson.build | 1 - 6 files changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 89e8110a21..d7ae9d6868 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 0c9c3f13bd..e114dcbdc6 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 511eb062f4..e59ac65772 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 de9abc8128..344a43d32a 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -243,6 +243,7 @@ DPDK_18.05 { DPDK_18.08 { global: + rte_eal_mbuf_user_pool_ops; rte_uuid_compare; rte_uuid_is_null; rte_uuid_parse; @@ -286,7 +287,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 8749a00fe8..e2b98a254c 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 869c17c1c4..45ffb0db5f 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'] -- 2.20.1