numam-dpdk/lib/librte_kvargs
Olivier Matz a8b97e3a1d devargs: use a comma instead of semicolon to separate key/values
This commit changes the API of --use-device command line argument.
It changes the separators from ';' to ','. Indeed, ';' is not the best
choice as this character is also used to separate shell commands,
forcing the user to surround arguments with quotes.

This commit impacts both devargs and kvargs as each of them define
a separator in --use-device argument:

- devargs defines the separator between the device name or pci_id and
   its arguments
- kvargs defines the separator between each key/value pairs in
   arguments for drivers using the kvargs API to parse their arguments

The modification of devargs and kvargs is done in one commit to keep
the coherency of --use-device.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-04-10 15:50:11 +02:00
..
Makefile kvargs: rework API to fix memory leak 2014-02-26 11:01:14 +01:00
rte_kvargs.c kvargs: make the NULL key to match all entries 2014-02-26 11:01:14 +01:00
rte_kvargs.h devargs: use a comma instead of semicolon to separate key/values 2014-04-10 15:50:11 +02:00