From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id DEA6B1BD9D for ; Wed, 4 Apr 2018 12:12:19 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Apr 2018 03:12:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,405,1517904000"; d="scan'208";a="40587651" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by orsmga003.jf.intel.com with ESMTP; 04 Apr 2018 03:12:16 -0700 From: Bruce Richardson To: shreyansh.jain@nxp.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Bruce Richardson Date: Wed, 4 Apr 2018 11:12:13 +0100 Message-Id: <20180404101213.142824-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 Subject: [dpdk-dev] [PATCH] rawdev: add to meson build 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 Apr 2018 10:12:20 -0000 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 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', -- 2.14.3