From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 8938FD07E for ; Tue, 28 Mar 2017 11:18:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490692714; x=1522228714; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vuir2yfFyXqHoJRpwc/VJjOhI7XNejBGmNVNzftMRyg=; b=nCXturYgeNrqOzkxt8a40dVuQFmyQ+83Hgns4khQkI197ZS5VG3lr5YV JG5VTBBivtMHs9S3y9KQchhLSVkBbQ==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 02:18:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="948943199" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.140]) by orsmga003.jf.intel.com with SMTP; 28 Mar 2017 02:18:30 -0700 Received: by (sSMTP sendmail emulation); Tue, 28 Mar 2017 10:18:28 +0100 Date: Tue, 28 Mar 2017 10:18:28 +0100 From: Bruce Richardson To: Thomas Monjalon Cc: Allain Legacy , cristian.dumitrescu@intel.com, dev@dpdk.org, yuanhan.liu@linux.intel.com Message-ID: <20170328091828.GA16008@bricha3-MOBL3.ger.corp.intel.com> References: <1488482971-170522-1-git-send-email-allain.legacy@windriver.com> <1489065060-98370-1-git-send-email-allain.legacy@windriver.com> <5672709.vjmmP8HFrE@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5672709.vjmmP8HFrE@xps13> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.0 (2017-02-23) Subject: Re: [dpdk-dev] [PATCH v2 0/6] librte_cfgfile enhancements 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: Tue, 28 Mar 2017 09:18:34 -0000 On Tue, Mar 28, 2017 at 10:29:44AM +0200, Thomas Monjalon wrote: > 2017-03-09 08:10, Allain Legacy: > > This patchset includes some minor enhancements that we have developped for > > our DPDK application. We would like to contribute them upstream to help > > ease adoption of the DPDK by anyone looking for this type of > > functionality. The commit logs on each patch should be self-sufficient in > > explaining the intent and purpose. > > This series is small enough to be merged. > However, in the long term, we should not have this kind of library in DPDK. > > librte_cfgfile is used by the examples ip_pipeline and qos_sched. > I think the purpose of an example is to show some simple code demonstrating > a feature. > Examples using a configuration file are closer to a complete application. > > Anyway, why not use an external library like this one? > https://github.com/vstakhov/libucl Because as a general rule, anything adding in external dependencies needs to be disabled by default. This leads to the catch-22 situation I flagged before, and had no follow-up on. There is no way right now for someone to put in extra functionality like this into DPDK and have it default enabled. If you try putting it into DPDK directly, it will be rejected as duplicating other libs, but if you re-use the libs, it will be disabled by default as adding in an extra dependency. /Bruce