From 6fbf2d654e8169ca0b2559426bed0337e4a12d0b Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 24 Sep 2021 14:11:45 +0200 Subject: [PATCH] kvargs: promote get from key as stable The function rte_kvargs_get() is used by eal and pci bus driver since its introduction in commit 3ab385063cb9 ("kvargs: add get by key") and commit d2a66ad79480 ("bus: add device arguments name parsing"), in dpdk 21.05. Let's promote it as stable. Signed-off-by: Olivier Matz --- lib/kvargs/rte_kvargs.h | 1 - lib/kvargs/version.map | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/kvargs/rte_kvargs.h b/lib/kvargs/rte_kvargs.h index eba54576bc..ba34b1ae70 100644 --- a/lib/kvargs/rte_kvargs.h +++ b/lib/kvargs/rte_kvargs.h @@ -130,7 +130,6 @@ void rte_kvargs_free(struct rte_kvargs *kvlist); * NULL if no key matches the input, * a value associated with a matching key otherwise. */ -__rte_experimental const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key); /** diff --git a/lib/kvargs/version.map b/lib/kvargs/version.map index 75b13fcb78..236f35c02b 100644 --- a/lib/kvargs/version.map +++ b/lib/kvargs/version.map @@ -3,6 +3,7 @@ DPDK_22 { rte_kvargs_count; rte_kvargs_free; + rte_kvargs_get; rte_kvargs_parse; rte_kvargs_parse_delim; rte_kvargs_process; @@ -15,6 +16,4 @@ EXPERIMENTAL { rte_kvargs_strcmp; - # added in 21.05 - rte_kvargs_get; }; -- 2.20.1