From: Olivier Matz Date: Wed, 29 Sep 2021 21:39:40 +0000 (+0200) Subject: kvargs: promote get from key as stable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b36d02ab394c4ab230af2c61ace424f6ec2ca74b;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 Reviewed-by: Xueming Li Reviewed-by: David Marchand Acked-by: Ray Kinsella --- diff --git a/lib/kvargs/rte_kvargs.h b/lib/kvargs/rte_kvargs.h index c30891c668..328f0d3cc6 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; };