From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH v7 6/9] ethdev: add common devargs parser Date: Wed, 25 Apr 2018 10:40:18 +0100 Message-ID: <76bc7493-f8cf-0d74-961c-800665744ebe@intel.com> References: <20180328135433.20203-1-declan.doherty@intel.com> <20180416130605.6509-1-declan.doherty@intel.com> <20180416130605.6509-7-declan.doherty@intel.com> <1794949.DGStqB9iLD@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Adrien Mazarguil , Ferruh Yigit , Shahaf Shuler To: Thomas Monjalon , Declan Doherty Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id D623F2B95 for ; Wed, 25 Apr 2018 11:40:24 +0200 (CEST) In-Reply-To: <1794949.DGStqB9iLD@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 24/04/2018 20:53, Thomas Monjalon wrote: [..] > But I would like to review the devargs you are standardizing. > Unfortunately, I cannot find a documentation about it. > How users are supposed to use it? > Can you, at least, describe the syntax in the commit log, please? The patch follows this pseudo-BNF: cfg := pair (',' pair)* pair := (key '=' value) key := 'port' | 'representor' value := range | list range := int ('-' int)? int := [0-9]+ list := '[' range (',' range)* ']'