[dpdk-dev] [PATCH v2 0/6] cfgfile: config file parsing extension

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jun 18 14:44:13 CEST 2015


2015-06-17 16:48, Maciej Gajdzica:
> Added new implementation of section parsing in config file. Refactored
> existing code by spliting it to smaller functions. Changed section
> allocation scheme and added new features  - variable length entry value
> and line continue character '\'.
> 
> Pawel Wodkowski (6):
>   librte_cfgfile: fix code formating in header file
>   librte_compat: fix macro definition
>   cfgfile: split rte_cfgfile_load to smaller functions
>   cfgfile: added line continue character '\' to make multiline values  
>       possible
>   cfgfile: fixed calling free for each section in rte_cfgfile_close
>   cfgfile: added new implementation of section parsing

The shared library cannot link:
	syntax error in VERSION script

>  lib/librte_cfgfile/Makefile                |    2 +-
>  lib/librte_cfgfile/rte_cfgfile.c           |  793 +++++++++++++++++++++-------
>  lib/librte_cfgfile/rte_cfgfile.h           |   52 +-
>  lib/librte_cfgfile/rte_cfgfile_version.map |    8 +
>  lib/librte_compat/rte_compat.h             |    8 +-
>  5 files changed, 653 insertions(+), 210 deletions(-)

You forgot to update the example qos_sched (as previously noted):
	examples/qos_sched/cfg_file.c:485:47: error:
	passing argument 3 of ‘rte_cfgfile_section_entries’ from incompatible pointer type


More information about the dev mailing list