From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id DEAFD5699 for ; Wed, 31 May 2017 16:22:24 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP; 31 May 2017 07:22:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,423,1491289200"; d="scan'208";a="1176547903" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.42]) by fmsmga002.fm.intel.com with SMTP; 31 May 2017 07:22:21 -0700 Received: by (sSMTP sendmail emulation); Wed, 31 May 2017 15:22:21 +0100 Date: Wed, 31 May 2017 15:22:20 +0100 From: Bruce Richardson To: Jacek Piasecki Cc: dev@dpdk.org, deepak.k.jain@intel.com, michalx.k.jastrzebski@intel.com Message-ID: <20170531142220.GB37544@bricha3-MOBL3.ger.corp.intel.com> References: <1496133037-3014-1-git-send-email-jacekx.piasecki@intel.com> <1496133037-3014-2-git-send-email-jacekx.piasecki@intel.com> <20170531141959.GA37544@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170531141959.GA37544@bricha3-MOBL3.ger.corp.intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.1 (2017-04-11) Subject: Re: [dpdk-dev] [PATCH 1/3] cfgfile: add new API functions 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, 31 May 2017 14:22:25 -0000 On Wed, May 31, 2017 at 03:20:00PM +0100, Bruce Richardson wrote: > On Tue, May 30, 2017 at 10:30:35AM +0200, Jacek Piasecki wrote: > > Extend existing cfgfile library with providing new API functions: > > rte_cfgfile_create() - create new cfgfile object > > rte_cfgfile_add_section() - add new section to existing cfgfile object > > rte_cfgfile_add_entry() - add new entry to existing cfgfile object > > in specified section > > This modification allows to create a cfgfile on runtime and > > opens up the possibility to have applications dynamically build up > > a proper DPDK configuration, rather than having to have a pre-existing one. > > > > Signed-off-by: Jacek Piasecki > > Hi, > > There seems to be some additional work in this patch apart from what is > described above, which may go into a separate patchset to improve > readability. s/a separate patchset/separate patches/ > For example, the dependency on librte_eal (apart from one > header) is removed, so those changes could go in a separate patch. > Also, you might consider moving the rework of the load API to a separate > patch, i.e. have one patch add the new APIs, and then a second patch > rework existing load code to be simpler using those APIs. >