[dpdk-dev] config: fix meson build

Message ID 20180419203145.129977-1-ferruh.yigit@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Ferruh Yigit April 19, 2018, 8:31 p.m. UTC
  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@redhat.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
Cc: xiao.w.wang@intel.com
---
 config/rte_config.h | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Ferruh Yigit April 19, 2018, 8:35 p.m. UTC | #1
On 4/19/2018 9:31 PM, Ferruh Yigit wrote:
> 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@redhat.com>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Squashed into relevant commit in next-net, thanks.

(Build error was in next-net, fix squashed)
  

Patch

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