devargs: make parsing variadic
authorGaetan Rivet <gaetan.rivet@6wind.com>
Mon, 23 Apr 2018 23:54:49 +0000 (01:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 25 Apr 2018 01:58:45 +0000 (03:58 +0200)
commit9e6b5ea9925a204965b859f1cc11641df03232af
tree9758703e76814fe56fe4c6d88ce68813bcfe653f
parentc7b424c03d8ed4b050fc3455ac0a0c03c22f773e
devargs: make parsing variadic

rte_eal_devargs_parse can be used by EAL subsystems, drivers,
applications alike.

Device parameters may be presented with different structure each time;
as a single declaration string or several strings each describing
different parts of the declaration.

To simplify the use of this parsing facility, its parameters are made
variadic.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
drivers/net/failsafe/failsafe_args.c
drivers/net/failsafe/failsafe_eal.c
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/eal_common_devargs.c
lib/librte_eal/common/include/rte_devargs.h