kvargs: add the key in handler pameters
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 28 Jan 2014 16:06:42 +0000 (17:06 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:14 +0000 (11:01 +0100)
commit95418a30be0d3f1495db702d44c50139742663fc
tree0a3ce235f1696feaecc1839cf63bc3ae51dc938b
parentd8e2337ac4e32132e5a26dc351604447b341366d
kvargs: add the key in handler pameters

This argument can be useful when rte_kvargs_process() is called with
key=NULL, in this case the handler is invoked for all entries of the
kvlist.

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
lib/librte_pmd_pcap/rte_eth_pcap.c