From: Shreyansh Jain Subject: Re: [PATCH] rawdev: add to meson build Date: Mon, 9 Apr 2018 20:07:41 +0530 Message-ID: <660a184b-d6ae-cdc5-d9b1-61c94a5ebf82@nxp.com> References: <20180404101213.142824-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: hemant.agrawal@nxp.com, dev@dpdk.org To: Bruce Richardson Return-path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0067.outbound.protection.outlook.com [104.47.2.67]) by dpdk.org (Postfix) with ESMTP id 417011B7EA for ; Mon, 9 Apr 2018 16:22:43 +0200 (CEST) In-Reply-To: <20180404101213.142824-1-bruce.richardson@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wednesday 04 April 2018 03:42 PM, Bruce Richardson wrote: > Add librte_rawdev to the meson build of DPDK. > > Signed-off-by: Bruce Richardson > --- > config/rte_config.h | 3 +++ > lib/librte_rawdev/meson.build | 6 ++++++ > lib/meson.build | 2 +- > 3 files changed, 10 insertions(+), 1 deletion(-) > create mode 100644 lib/librte_rawdev/meson.build > Tested-by: Shreyansh Jain > diff --git a/config/rte_config.h b/config/rte_config.h > index 72c0aa2d2..83109a65c 100644 > --- a/config/rte_config.h > +++ b/config/rte_config.h > @@ -56,6 +56,9 @@ > #define RTE_EVENT_MAX_DEVS 16 > #define RTE_EVENT_MAX_QUEUES_PER_DEV 64 > > +/* rawdev defines */ > +#define RTE_RAWDEV_MAX_DEVS 10 > + > /* ip_fragmentation defines */ > #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4 > #undef RTE_LIBRTE_IP_FRAG_TBL_STAT > diff --git a/lib/librte_rawdev/meson.build b/lib/librte_rawdev/meson.build > new file mode 100644 > index 000000000..dcd37ad49 > --- /dev/null > +++ b/lib/librte_rawdev/meson.build > @@ -0,0 +1,6 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2018 Intel Corporation > + > +allow_experimental_apis = true > +sources = files('rte_rawdev.c') > +headers = files('rte_rawdev.h', 'rte_rawdev_pmd.h') > diff --git a/lib/meson.build b/lib/meson.build > index ef6159170..17edc4da4 100644 > --- a/lib/meson.build > +++ b/lib/meson.build > @@ -18,7 +18,7 @@ libraries = [ 'compat', # just a header, used for versioning > 'distributor', 'efd', 'eventdev', > 'gro', 'gso', 'ip_frag', 'jobstats', > 'kni', 'latencystats', 'lpm', 'member', > - 'meter', 'power', 'pdump', > + 'meter', 'power', 'pdump', 'rawdev', > 'reorder', 'sched', 'security', 'timer', 'vhost', > # add pkt framework libs which use other libs from above > 'port', 'table', 'pipeline', >