[dpdk-dev] config: fix meson build
Checks
Commit Message
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
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)
@@ -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