kvargs: make the NULL key to match all entries
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 28 Jan 2014 16:06:43 +0000 (17:06 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:14 +0000 (11:01 +0100)
commit38a901702fdfde778d50b2f123c562a66c394f87
tree475713ec569762ba5ce1266136861153c89b8476
parent95418a30be0d3f1495db702d44c50139742663fc
kvargs: make the NULL key to match all entries

In rte_kvargs_process() and rte_kvargs_count(), if the key_match
argument is NULL, process all entries.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_kvargs/rte_kvargs.c
lib/librte_kvargs/rte_kvargs.h