DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Van Haaren, Harry" <harry.van.haaren@intel.com>
To: "Richardson, Bruce" <bruce.richardson@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "Richardson, Bruce" <bruce.richardson@intel.com>
Subject: Re: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to	meson build
Date: Wed, 4 Oct 2017 15:34:11 +0000	[thread overview]
Message-ID: <E923DB57A917B54B9182A2E928D00FA650FBE412@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <20170921145453.174003-1-bruce.richardson@intel.com>

> 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 <bruce.richardson@intel.com>
> Subject: [dpdk-dev] [PATCH] eal/bsdapp: add FreeBSD module compilation to
> meson build
> 
> Support compiling the FreeBSD kernel modules using meson and ninja.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>

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 <harry.van.haaren@intel.com>


> ---
>  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
> 
> 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
> 
> +/* 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 parentheses
#39: FILE: config/rte_config.h:64:
+#define RTE_CONTIGMEM_DEFAULT_BUF_SIZE 512*1024*1024

  reply	other threads:[~2017-10-04 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21 14:54 Bruce Richardson
2017-10-04 15:34 ` Van Haaren, Harry [this message]
2017-10-04 16:29   ` Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E923DB57A917B54B9182A2E928D00FA650FBE412@IRSMSX102.ger.corp.intel.com \
    --to=harry.van.haaren@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).