summaryrefslogtreecommitdiff
path: root/config/rte_config.h
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2017-11-17 19:37:54 +0000
committerBruce Richardson <bruce.richardson@intel.com>2018-01-30 17:49:16 +0100
commit844514c73569067061bb32388732e7ac3e977f90 (patch)
tree1956a86a5a522a98d77041c1f53c6224f1afbdc1 /config/rte_config.h
parenta25a650be5f0c60ea69531741bd13521b183d502 (diff)
downloaddpdk-844514c73569067061bb32388732e7ac3e977f90.zip
dpdk-844514c73569067061bb32388732e7ac3e977f90.tar.gz
dpdk-844514c73569067061bb32388732e7ac3e977f90.tar.xz
eal: build with meson
Support building the EAL with meson and ninja. This involves a number of different meson.build files for iterating through all the different subdirectories in the EAL. The library itself will be compiled on build but the header files are only copied from their initial location once "ninja install" is run. Instead, we use meson dependency tracking to ensure that other libraries which use the EAL headers can find them in their original locations. Note: this does not include building kernel modules on either BSD or Linux Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Keith Wiles <keith.wiles@intel.com> Acked-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'config/rte_config.h')
-rw-r--r--config/rte_config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/rte_config.h b/config/rte_config.h
index 813c3a6..b6754a0 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -47,4 +47,18 @@
#include <rte_build_config.h>
+/****** library defines ********/
+
+/* EAL defines */
+#define RTE_MAX_MEMSEG 512
+#define RTE_MAX_MEMZONE 2560
+#define RTE_MAX_TAILQ 32
+#define RTE_LOG_LEVEL RTE_LOG_INFO
+#define RTE_LOG_DP_LEVEL RTE_LOG_INFO
+#define RTE_BACKTRACE 1
+#define RTE_EAL_VFIO 1
+
+/* mbuf defines */
+#define RTE_MBUF_DEFAULT_MEMPOOL_OPS "ring_mp_mc"
+
#endif /* _RTE_CONFIG_H_ */