[dpdk-dev] [PATCH v6] cfgfile: support looking up sections by index

2016-02-29 Thread Thomas Monjalon
> > This is useful when sections have duplicate names. > > > > Signed-off-by: Rich Lane > > --- > > v5->v6: > > - Reordered sectionname argument in comment. > > Acked-by: Cristian Dumitrescu > > Thanks, Rich! Applied, thanks

[dpdk-dev] [PATCH v6] cfgfile: support looking up sections by index

2016-02-25 Thread Dumitrescu, Cristian
> -Original Message- > From: Rich Lane [mailto:rich.lane at bigswitch.com] > Sent: Thursday, February 25, 2016 8:43 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian ; Panu Matilainen > > Subject: [PATCH v6] cfgfile: support looking up sections by index > > This is useful when section

[dpdk-dev] [PATCH v6] cfgfile: support looking up sections by index

2016-02-25 Thread Rich Lane
This is useful when sections have duplicate names. Signed-off-by: Rich Lane --- v5->v6: - Reordered sectionname argument in comment. v4->v5: - Reordered sectionname argument. v3->v4: - Added section name return value. - Updated API docs for other functions. v2->v3 - Added check for index < 0. v1-