numam-dpdk/lib/kvargs/version.map
Olivier Matz 6aebb94290 kvargs: add function to get from key and value
A quite common scenario with kvargs is to lookup for a <key>=<value> in
a kvlist. For instance, check if name=foo is present in
name=toto,name=foo,name=bar. This is currently done in drivers/bus with
rte_kvargs_process() + the rte_kvargs_strcmp() handler.

This approach is not straightforward, and can be replaced by this new
function.

rte_kvargs_strcmp() is then removed.

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>
2021-09-30 17:38:02 +02:00

20 lines
229 B
Plaintext

DPDK_22 {
global:
rte_kvargs_count;
rte_kvargs_free;
rte_kvargs_get;
rte_kvargs_parse;
rte_kvargs_parse_delim;
rte_kvargs_process;
local: *;
};
EXPERIMENTAL {
global:
# added in 21.11
rte_kvargs_get_with_value;
};