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 AC6BC1B447 for ; Thu, 5 Jul 2018 13:14:01 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2018 04:13:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,311,1526367600"; d="scan'208";a="213616987" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by orsmga004.jf.intel.com with SMTP; 05 Jul 2018 04:13:57 -0700 Received: by (sSMTP sendmail emulation); Thu, 05 Jul 2018 12:13:57 +0100 Date: Thu, 5 Jul 2018 12:13:56 +0100 From: Bruce Richardson To: =?iso-8859-1?Q?Ga=EBtan?= Rivet Cc: Andrew Rybchenko , dev@dpdk.org Message-ID: <20180705111355.GA23212@bricha3-MOBL.ger.corp.intel.com> References: <58a5a7ac27a6ac6206246e8534ebf67168813318.1530655929.git.gaetan.rivet@6wind.com> <5a604a07-0a77-3a13-5e55-87de42e73f02@solarflare.com> <20180705093638.vsijoifid3z4bdx4@bidouze.vm.6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180705093638.vsijoifid3z4bdx4@bidouze.vm.6wind.com> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.0 (2018-05-17) Subject: Re: [dpdk-dev] [PATCH v9 20/27] ethdev: register ether layer as a class 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: Thu, 05 Jul 2018 11:14:02 -0000 On Thu, Jul 05, 2018 at 11:36:38AM +0200, Gaëtan Rivet wrote: > Hi Andrew, > > On Wed, Jul 04, 2018 at 03:20:17PM +0300, Andrew Rybchenko wrote: > > On 07/04/2018 01:15 AM, Gaetan Rivet wrote: > > > Signed-off-by: Gaetan Rivet > > > --- > > > lib/librte_ethdev/Makefile | 3 +- > > > lib/librte_ethdev/rte_class_eth.c | 79 +++++++++++++++++++++++++++++++++++++++ > > > 2 files changed, 81 insertions(+), 1 deletion(-) > > > create mode 100644 lib/librte_ethdev/rte_class_eth.c > > > > > > diff --git a/lib/librte_ethdev/Makefile b/lib/librte_ethdev/Makefile > > > index 2fa133fbc..d4c3a8d06 100644 > > > --- a/lib/librte_ethdev/Makefile > > > +++ b/lib/librte_ethdev/Makefile > > > @@ -12,7 +12,7 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API > > > CFLAGS += -O3 > > > CFLAGS += $(WERROR_FLAGS) > > > LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring > > > -LDLIBS += -lrte_mbuf > > > +LDLIBS += -lrte_mbuf -lrte_kvargs > > > EXPORT_MAP := rte_ethdev_version.map > > > @@ -20,6 +20,7 @@ LIBABIVER := 9 > > > SRCS-y += eth_private.c > > > SRCS-y += rte_ethdev.c > > > +SRCS-y += rte_class_eth.c > > > SRCS-y += rte_flow.c > > > SRCS-y += rte_tm.c > > > SRCS-y += rte_mtr.c > > > > meson.build files should be updated as well. > > The meson version required by DPDK is not available in my distribution. > "pip3 install meson" works in just about all distros. I'd recommend using meson from pip generally, since it tends to be very up to date. The latest versions configure DPDK a lot faster than the older ones! /Bruce