From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gaetan.rivet@6wind.com>
Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67])
 by dpdk.org (Postfix) with ESMTP id 424C01BDED
 for <dev@dpdk.org>; Thu,  5 Jul 2018 13:54:44 +0200 (CEST)
Received: by mail-wm0-f67.google.com with SMTP id s12-v6so10678623wmc.1
 for <dev@dpdk.org>; Thu, 05 Jul 2018 04:54:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=9g5gdECzmncoGOm3IZTr/euBNBXTfWMMA123tN4jbzg=;
 b=cXHwb7aUdBAzoEyiosageNg6vf596M+JI16WKCaBMQlS9d98h9+AtUrIQV/jzNF74o
 X6gjhZ9L/YUWhNmhLtXTMqB7+QTWjffOgG/QDl+56ETVoV0WCK7RodRuD2smu8KroqJC
 3rdKhVbSdVp1U288dDzdDYwTKS4cUmWL37X9HKLzKJXGQKlao2+8CeX1k65bTiDEYmLO
 b4blasWIclVszLL4fcgcedhtQd63Cv9XJdtlz+kKX4bASnJW4qVXnnqpyH2X8+sftzas
 tGvE/mGdczp3ro/lQbLhnz3fsAJOCyffiTcAQnOe/V7YUx5bB1Y7MHENwGDlKh7uPaiu
 0Q0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:content-transfer-encoding
 :in-reply-to:user-agent;
 bh=9g5gdECzmncoGOm3IZTr/euBNBXTfWMMA123tN4jbzg=;
 b=SoRqkeyWfWUd5sDXieANf+hXLVXqSXptCVdn4VXUtmHdlOpPMI0OYhgO8RdxaSsxiF
 ArR3ZdfvzZtRhOp5bGwlq29J2j44tAAEuRz+xOM5pKlezHObVX+YxvAQaN923JqnGBCB
 IxYrUsxG7vSgVrGoNO+r4GMgsPvaCXFivxAxyOoAVyWoRXcAMjM5RpTNsFpUEb946OXN
 M5jEKSfa3Breb0W4Rgn2Rlf1XjXBKht2hnvhjmyGHwXL7wDe7fpbO/PKgB2CuXaFdfIN
 KPp1KiNPbC7Sd5ZiRnvS4xh1Minx/HD5Eb7dnbW2TYP1BmFQD7wrZA/iPlbcxzY8NorO
 hGJA==
X-Gm-Message-State: APt69E0APhp6ZwrHgRWmfWB0HFddzlrs9okVCWSkDG86kzjrCpjClMcD
 w9YTkP7MOPh3977YvBicoeMeKg==
X-Google-Smtp-Source: AAOMgpdoHe5tIkN1MOGHRmO0W6BLLYxcdOC+3tu6oYTvyA0iQTcikj22Vk5QapkHM6v4EE64NaIQkg==
X-Received: by 2002:adf:adc9:: with SMTP id
 w67-v6mr4150824wrc.135.1530791683936; 
 Thu, 05 Jul 2018 04:54:43 -0700 (PDT)
Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com.
 [62.23.145.78])
 by smtp.gmail.com with ESMTPSA id z193-v6sm8728569wmc.14.2018.07.05.04.54.42
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 05 Jul 2018 04:54:43 -0700 (PDT)
Date: Thu, 5 Jul 2018 13:54:26 +0200
From: =?iso-8859-1?Q?Ga=EBtan?= Rivet <gaetan.rivet@6wind.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: Andrew Rybchenko <arybchenko@solarflare.com>, dev@dpdk.org
Message-ID: <20180705115426.gd6j7t6ox336pqpe@bidouze.vm.6wind.com>
References: <cover.1530655929.git.gaetan.rivet@6wind.com>
 <58a5a7ac27a6ac6206246e8534ebf67168813318.1530655929.git.gaetan.rivet@6wind.com>
 <5a604a07-0a77-3a13-5e55-87de42e73f02@solarflare.com>
 <20180705093638.vsijoifid3z4bdx4@bidouze.vm.6wind.com>
 <20180705111355.GA23212@bricha3-MOBL.ger.corp.intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20180705111355.GA23212@bricha3-MOBL.ger.corp.intel.com>
User-Agent: NeoMutt/20170113 (1.7.2)
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jul 2018 11:54:44 -0000

On Thu, Jul 05, 2018 at 12:13:56PM +0100, Bruce Richardson wrote:
> 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 <gaetan.rivet@6wind.com>
> > > > ---
> > > >   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

Thanks,

The v10 now supports meson.

-- 
Gaëtan Rivet
6WIND