[PATCH 0/4] cfgfile: enhance error detecting
Bruce Richardson
bruce.richardson at intel.com
Fri Jul 5 10:39:33 CEST 2024
On Thu, Jul 04, 2024 at 02:40:55PM -0700, Stephen Hemminger wrote:
> On Tue, 20 Feb 2024 03:58:36 +0000
> Chengwen Feng <fengchengwen at huawei.com> wrote:
>
> > When I was trying to debug a problem introduced by config.ini in
> > test-dma-perf, I found the cfgfile library should enhance error
> > detecting, so got this patchset.
> >
> > Chengwen Feng (4):
> > cfgfile: remove dead code
> > cfgfile: support verify name and value
> > cfgfile: verify add section and entry result
> > cfgfile: add unique name flag
> >
> > lib/cfgfile/rte_cfgfile.c | 70 +++++++++++++++++++++++++++++----------
> > lib/cfgfile/rte_cfgfile.h | 7 ++++
> > 2 files changed, 59 insertions(+), 18 deletions(-)
> >
>
>
> The existing cfgfile in DPDK is quite limited, and there are better
> libraries available; not sure why a reinvention was necessary.
>
At the time, it was done to avoid having additional external dependencies.
Since then, it's generally been relatively trouble free, so it's never been
felt worth the effort to replace, I suspect.
/Bruce
More information about the dev
mailing list