[dpdk-dev] [PATCH v4 3/5] cfgfile: add new functions to API

Bruce Richardson bruce.richardson at intel.com
Wed Aug 30 22:18:50 CEST 2017


Title needs a reword to indicate the types of new API functions e.g.:
cfgfile: add APIs for cfgfile modification

On Mon, Jul 10, 2017 at 02:44:15PM +0200, Jacek Piasecki wrote:
> Extend existing cfgfile library with providing new API functions:
> 
> rte_cfgfile_create() - create new cfgfile object
> rte_cfgfile_add_section() - add new section to existing cfgfile
> object
> rte_cfgfile_add_entry() - add new entry to existing cfgfile
> object in specified section
> rte_cfgfile_set_entry() - update existing entry in cfgfile object
> rte_cfgfile_save() - save existing cfgfile object to INI file
> 
> This modification allows to create a cfgfile on
> runtime and opens up the possibility to have applications
> dynamically build up a proper DPDK configuration, rather than having
> to have a pre-existing one.
> 
> Signed-off-by: Jacek Piasecki <jacekx.piasecki at intel.com>
> ---

Good additions

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list