Skip to content

Commit 66b2466

Browse files
shemmingerdavid-marchand
authored andcommitted
kvargs: promote some function as stable
The function rte_kvargs_get_with_value was added in 21.11 so experimental flag can be removed. Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]>
1 parent 8c3d3eb commit 66b2466

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

lib/kvargs/rte_kvargs.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
extern "C" {
2626
#endif
2727

28-
#include <rte_compat.h>
29-
3028
/** Maximum number of key/value associations */
3129
#define RTE_KVARGS_MAX 32
3230

@@ -145,9 +143,6 @@ void rte_kvargs_free(struct rte_kvargs *kvlist);
145143
const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key);
146144

147145
/**
148-
* @warning
149-
* @b EXPERIMENTAL: this API may change without prior notice
150-
*
151146
* Get the value associated with a given key and value.
152147
*
153148
* Find the first entry in the kvlist whose key and value match the
@@ -167,7 +162,6 @@ const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key);
167162
* NULL if no key matches the input,
168163
* a value associated with a matching key otherwise.
169164
*/
170-
__rte_experimental
171165
const char *rte_kvargs_get_with_value(const struct rte_kvargs *kvlist,
172166
const char *key, const char *value);
173167

lib/kvargs/version.map

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,10 @@ DPDK_24 {
44
rte_kvargs_count;
55
rte_kvargs_free;
66
rte_kvargs_get;
7+
rte_kvargs_get_with_value;
78
rte_kvargs_parse;
89
rte_kvargs_parse_delim;
910
rte_kvargs_process;
1011

1112
local: *;
1213
};
13-
14-
EXPERIMENTAL {
15-
global:
16-
17-
# added in 21.11
18-
rte_kvargs_get_with_value;
19-
};

0 commit comments

Comments
 (0)