numam-dpdk/lib/kvargs
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
..
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_kvargs.c kvargs: add function to get from key and value 2021-09-30 17:38:02 +02:00
rte_kvargs.h kvargs: add function to get from key and value 2021-09-30 17:38:02 +02:00
version.map kvargs: add function to get from key and value 2021-09-30 17:38:02 +02:00