[dpdk-dev] [RFC] Yet another option for DPDK options
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jun 2 15:19:37 CEST 2016
2016-06-02 06:41, Neil Horman:
> I'm not sure why you're focusing no selecting a config file format at all. Why
> not just focus on removing the argument parsing from the core rte_eal_init code,
> instead passing in a configuration struct that is stored and queried per
> application. Leave the parsing of a config file and population of that config
> struct as an exercize to the application developer. That way a given
> application can use command line options, config files, or whatever method they
> choose, which would be in keeping with traditional application design.
>
> For the purposes of the example apps, it would seem that either JSON, YAML, or
> the above Lua format would work just fine.
+1
More information about the dev
mailing list