From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/4] kvargs: support list value Date: Tue, 09 Oct 2018 16:31:24 +0200 Message-ID: <6562576.89BUxVsNiX@xps> References: <20181009021858.19216-1-thomas@monjalon.net> <20181009021858.19216-2-thomas@monjalon.net> <20181009141406.rle54bpq6ictu3zd@bidouze.vm.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, ophirmu@mellanox.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, olivier.matz@6wind.com, remy.horton@intel.com To: =?ISO-8859-1?Q?Ga=EBtan?= Rivet Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 861641B561 for ; Tue, 9 Oct 2018 16:31:27 +0200 (CEST) In-Reply-To: <20181009141406.rle54bpq6ictu3zd@bidouze.vm.6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 09/10/2018 16:14, Ga=EBtan Rivet: > Hi Thomas, >=20 > 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. > >=20 >=20 > Nice, I was actually planning to do this. >=20 > 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.