From: Olivier Matz Date: Fri, 24 Sep 2021 12:11:45 +0000 (+0200) Subject: kvargs: promote get from key as stable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6fbf2d654e8169ca0b2559426bed0337e4a12d0b;hp=ded0d2c0aaca537e282f3ab9b0691148b87c1c26;p=dpdk.git 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 --- 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; };