From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 3/3] librte_cfgfile: rework Date: Mon, 15 Jun 2015 11:29:35 +0200 Message-ID: <1563877.UnFfLhtCtX@xps13> References: <1432913219-11589-1-git-send-email-maciejx.t.gajdzica@intel.com> <1432913219-11589-4-git-send-email-maciejx.t.gajdzica@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Maciej Gajdzica , Pawel Wodkowski Return-path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id EC4485A65 for ; Mon, 15 Jun 2015 11:30:32 +0200 (CEST) Received: by wgez8 with SMTP id z8so63840279wge.0 for ; Mon, 15 Jun 2015 02:30:32 -0700 (PDT) In-Reply-To: <1432913219-11589-4-git-send-email-maciejx.t.gajdzica@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-05-29 17:26, Maciej Gajdzica: > From: Pawel Wodkowski > > This patch add following features: > 1. Make entry variable length - remove 64 byte limit. > 2. Add line continue character '\' to make multiline values possible. > > This patch also fixes following issues: > 1. BUG: section were allocated as a block of memory. In rte_cfgfile_close() > free() was wrongly called on each section. This bug is fixed implicitly > by implementing new section allocation scheme. > 2. Protect against multiple sections/entries in sections with the same > name. Would it be possible to have separate patches for these 4 changes? > > Implications: > 1. Change in struct rte_cfgfile_entry deffinition. > 2. Change in rte_cfgfile_section_entries() declaration. > > Signed-off-by: Pawel Wodkowski [...] > --- a/lib/librte_cfgfile/rte_cfgfile_version.map > +++ b/lib/librte_cfgfile/rte_cfgfile_version.map > @@ -13,3 +13,11 @@ DPDK_2.0 { > > local: *; > }; > + > +DPDK_2.1 { > + global: > + > + rte_cfgfile_section_entries; > + > + local: *; > +} Syntax error. I should be +} DPDK_2.0; The example qos_sched must be updated, as it is now based on librte_cfgfile. Thanks