[dpdk-dev] [PATCH] config: fix meson build

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 19 22:31:45 CEST 2018


New config option "CONFIG_RTE_MAX_VFIO_CONTAINERS=64" introduced and
this config option is used by eal_vfio.c

Meson config file, rte_config.h, missing this config option causing
build error with meson, fixed by adding missing config.

Fixes: 52d790189dcd ("vfio: extend data structure for multi container")

Reported-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
Cc: xiao.w.wang at intel.com
---
 config/rte_config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/rte_config.h b/config/rte_config.h
index ed2deb5d7..ec1f562f4 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -32,6 +32,7 @@
 #define RTE_LOG_DP_LEVEL RTE_LOG_INFO
 #define RTE_BACKTRACE 1
 #define RTE_EAL_VFIO 1
+#define RTE_MAX_VFIO_CONTAINERS 64
 
 /* bsd module defines */
 #define RTE_CONTIGMEM_MAX_NUM_BUFS 64
-- 
2.14.3



More information about the dev mailing list