[dpdk-dev] [PATCH 1/4] kvargs: support list value

Thomas Monjalon thomas at monjalon.net
Tue Oct 9 16:31:24 CEST 2018


09/10/2018 16:14, Gaëtan Rivet:
> Hi Thomas,
> 
> On Tue, Oct 09, 2018 at 04:18:55AM +0200, Thomas Monjalon wrote:
> > If a value contains a comma, rte_kvargs_tokenize() will split here.
> > In order to support list syntax [a,b] as value, an extra parsing of
> > the square brackets is added.
> > 
> 
> Nice, I was actually planning to do this.
> 
> I think it could be useful to also support () and {}, as well as
> recursive lists, but it is best to have a first version to support
> representor and go from this.

Yes, we have no usage of () and {} so far.





More information about the dev mailing list