kvargs: promote delimited parsing as stable
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 29 Sep 2021 21:39:39 +0000 (23:39 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 30 Sep 2021 13:30:31 +0000 (15:30 +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>
Reviewed-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
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