kvargs: promote delimited parsing as stable
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 24 Sep 2021 11:34:19 +0000 (13:34 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 24 Sep 2021 12:31:20 +0000 (14:31 +0200)
This function is used by EAL to parse key/value strings separated with
specified delimiters.

It was introduced in 2018 by commit 5d6af85ab00c ("kvargs: introduce a
more flexible parsing function"), and can be promoted as stable.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/kvargs/rte_kvargs.h
lib/kvargs/version.map

index 12a8f90..c30891c 100644 (file)
@@ -98,7 +98,6 @@ struct rte_kvargs *rte_kvargs_parse(const char *args,
  *   - A pointer to an allocated rte_kvargs structure on success
  *   - NULL on error
  */
-__rte_experimental
 struct rte_kvargs *rte_kvargs_parse_delim(const char *args,
                const char *const valid_keys[],
                const char *valid_ends);
index a07166b..75b13fc 100644 (file)
@@ -4,6 +4,7 @@ DPDK_22 {
        rte_kvargs_count;
        rte_kvargs_free;
        rte_kvargs_parse;
+       rte_kvargs_parse_delim;
        rte_kvargs_process;
 
        local: *;
@@ -12,7 +13,6 @@ DPDK_22 {
 EXPERIMENTAL {
        global:
 
-       rte_kvargs_parse_delim;
        rte_kvargs_strcmp;
 
        # added in 21.05