From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9B9D91B65E for ; Wed, 4 Oct 2017 17:34:16 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2017 08:34:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,477,1500966000"; d="scan'208";a="142664292" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga002.jf.intel.com with ESMTP; 04 Oct 2017 08:34:12 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.180]) by IRSMSX103.ger.corp.intel.com ([169.254.3.49]) with mapi id 14.03.0319.002; Wed, 4 Oct 2017 16:34:11 +0100 From: "Van Haaren, Harry" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to meson build Thread-Index: AQHTMutPPIdn1qBNa0O31YKOFR7faaLT5JwQ Date: Wed, 4 Oct 2017 15:34:11 +0000 Message-ID: References: <20170921145453.174003-1-bruce.richardson@intel.com> In-Reply-To: <20170921145453.174003-1-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGI4OGIxNTMtODMzNi00ZGZjLWE3Y2UtN2U5YjBkYjVmMWFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjkxU2FzUWFkZ2tLTmNnTXRjWDBuQUNEM0Y3ZTVzVnM3RlhKUVNHNFl5d2c9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation 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 Oct 2017 15:34:17 -0000 > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 21, 2017 3:55 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to > meson build >=20 > Support compiling the FreeBSD kernel modules using meson and ninja. >=20 > Signed-off-by: Bruce Richardson Tested on BSD box, both existing GMake system, and Meson / Ninja working as= expected here. With inline comment below fixed; Tested-by: Harry van Haaren > --- > config/rte_config.h | 5 ++++ > lib/librte_eal/bsdapp/BSDmakefile.meson | 42 > +++++++++++++++++++++++++++++ > lib/librte_eal/bsdapp/contigmem/meson.build | 32 ++++++++++++++++++++++ > lib/librte_eal/bsdapp/meson.build | 23 ++++++++++++++++ > lib/librte_eal/bsdapp/nic_uio/meson.build | 32 ++++++++++++++++++++++ > 5 files changed, 134 insertions(+) > create mode 100644 lib/librte_eal/bsdapp/BSDmakefile.meson > create mode 100644 lib/librte_eal/bsdapp/contigmem/meson.build > create mode 100644 lib/librte_eal/bsdapp/nic_uio/meson.build >=20 > diff --git a/config/rte_config.h b/config/rte_config.h > index 3e26d5118..26656137c 100644 > --- a/config/rte_config.h > +++ b/config/rte_config.h > @@ -58,6 +58,11 @@ > #define RTE_BACKTRACE 1 > #define RTE_EAL_VFIO 1 >=20 > +/* bsd module defines */ > +#define RTE_CONTIGMEM_MAX_NUM_BUFS 64 > +#define RTE_CONTIGMEM_DEFAULT_NUM_BUFS 1 > +#define RTE_CONTIGMEM_DEFAULT_BUF_SIZE 512*1024*1024 ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in paren= theses #39: FILE: config/rte_config.h:64: +#define RTE_CONTIGMEM_DEFAULT_BUF_SIZE 512*1024*1024