kvargs: remove driver name in arguments
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 28 Jan 2014 16:06:36 +0000 (17:06 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:14 +0000 (11:01 +0100)
commit991543e81569e3ed0983bd7f5ae290f34ed091f4
treed150cbccf35350028d0386c0089bcd67adde5c61
parent07f7d55dd235c2ad590f86a34eb699fe12b2ec7d
kvargs: remove driver name in arguments

Now that rte_kvargs is a generic library, there is no need to have an argument
for the driver name in rte_kvargs_tokenize() and rte_kvargs_parse()
prototypes. This argument was only used to log the driver name in case of
error. Instead, we can add a log in init function of pmd_pcap and pmd_ring.

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
lib/librte_pmd_ring/rte_eth_ring.c