> From: dev [mailto:[email protected]] On Behalf Of Bruce Richardson > Sent: Thursday, September 21, 2017 3:55 PM > To: [email protected] > Cc: Richardson, Bruce <[email protected]> > 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 <[email protected]>
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 <[email protected]> > --- > 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

