From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 02:40:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,325,1520924400"; d="scan'208";a="45900449" Received: from rhorton-mobl1.ger.corp.intel.com (HELO [163.33.230.83]) ([163.33.230.83]) by orsmga003.jf.intel.com with ESMTP; 25 Apr 2018 02:40:21 -0700 To: Thomas Monjalon , Declan Doherty 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> Cc: dev@dpdk.org, Adrien Mazarguil , Ferruh Yigit , Shahaf Shuler From: Remy Horton Organization: Intel Shannon Limited Message-ID: <76bc7493-f8cf-0d74-961c-800665744ebe@intel.com> Date: Wed, 25 Apr 2018 10:40:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <1794949.DGStqB9iLD@xps> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v7 6/9] ethdev: add common devargs parser X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 09:40:25 -0000 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)* ']'