Re: [dpdk-dev] [PATCH v2 6/6] cfgfile: add support for empty value string

2017-03-27 Thread Dumitrescu, Cristian
> -Original Message- > From: Legacy, Allain [mailto:allain.leg...@windriver.com] > Sent: Monday, March 27, 2017 12:13 PM > To: Dumitrescu, Cristian ; Richardson, Bruce > > Cc: yuanhan@linux.intel.com; dev@dpdk.org > Subject: RE: [PATCH v2 6/6] cfgfile: add support for empty value str

Re: [dpdk-dev] [PATCH v2 6/6] cfgfile: add support for empty value string

2017-03-27 Thread Legacy, Allain
> -Original Message- > From: Legacy, Allain > Sent: Monday, March 27, 2017 7:13 AM > To: DUMITRESCU, CRISTIAN FLORIN; RICHARDSON, BRUCE > Cc: yuanhan@linux.intel.com; dev@dpdk.org > Subject: RE: [PATCH v2 6/6] cfgfile: add support for empty value string > > We have a legacy file format

Re: [dpdk-dev] [PATCH v2 6/6] cfgfile: add support for empty value string

2017-03-27 Thread Legacy, Allain
We have a legacy file format that we need to support. Other parts of our system are able to handle a "key=" entry in the file so we are trying to gain parity with those parsers. Allain Allain Legacy, Software Developer direct 613.270.2279  fax 613.492.7870 skype allain.legacy   > -Or

Re: [dpdk-dev] [PATCH v2 6/6] cfgfile: add support for empty value string

2017-03-27 Thread Dumitrescu, Cristian
> -Original Message- > From: Allain Legacy [mailto:allain.leg...@windriver.com] > Sent: Thursday, March 9, 2017 1:11 PM > To: Richardson, Bruce ; Dumitrescu, Cristian > > Cc: yuanhan@linux.intel.com; dev@dpdk.org > Subject: [PATCH v2 6/6] cfgfile: add support for empty value string >

[dpdk-dev] [PATCH v2 6/6] cfgfile: add support for empty value string

2017-03-09 Thread Allain Legacy
This commit adds support to the cfgfile library for parsing a key=value line that has no value string specified (e.g., "key="). This can be used to override a configuration attribute that has a default value or default list of values to set it back to an undefined value to disable functionality.