[dpdk-dev] [PATCH 3/5] cfgfile: add support for unamed global section

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Fri Mar 3 12:06:15 CET 2017



> -----Original Message-----
> From: Legacy, Allain [mailto:Allain.Legacy at windriver.com]
> Sent: Friday, March 3, 2017 11:04 AM
> To: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Richardson, Bruce
> <bruce.richardson at intel.com>
> Cc: dev at dpdk.org; Jolliffe, Ian (Wind River) <ian.jolliffe at windriver.com>
> Subject: RE: [PATCH 3/5] cfgfile: add support for unamed global section
> 
> > -----Original Message-----
> > From: Dumitrescu, Cristian [mailto:cristian.dumitrescu at intel.com]
> >
> > What is the motivation for the having key/value pair outside of any
> section?
> > What would be the drawback of having the user explicitly define a GLOBAL
> > section to host these key/value pairs?
> Global parameters that are outside of sections are part of the ini informal
> "standard".   Our app use this format.
> 
> https://en.wikipedia.org/wiki/INI_file#Global_properties
> 
> 

I am not totally against it, but IMO this option is a bit confusing. Again, what's wrong with user explicitly adding the GLOBAL section if needed?


More information about the dev mailing list