From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 852151BE4D for ; Wed, 4 Jul 2018 14:20:26 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 49F8AB40057; Wed, 4 Jul 2018 12:20:25 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 4 Jul 2018 13:20:20 +0100 To: Gaetan Rivet , References: <58a5a7ac27a6ac6206246e8534ebf67168813318.1530655929.git.gaetan.rivet@6wind.com> From: Andrew Rybchenko Message-ID: <5a604a07-0a77-3a13-5e55-87de42e73f02@solarflare.com> Date: Wed, 4 Jul 2018 15:20:17 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <58a5a7ac27a6ac6206246e8534ebf67168813318.1530655929.git.gaetan.rivet@6wind.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.100.1062-23946.003 X-TM-AS-Result: No--8.459500-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-MDID: 1530706826-Md7d8Z3ZsbRb 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: Wed, 04 Jul 2018 12:20:26 -0000 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.