]> git.proxmox.com Git - ovs.git/commitdiff
acinclude: Use NUMA_AWARE_HUGEPAGES too for libnuma check.
authorIlya Maximets <i.maximets@samsung.com>
Thu, 7 Feb 2019 13:00:51 +0000 (16:00 +0300)
committerIan Stokes <ian.stokes@intel.com>
Tue, 12 Feb 2019 11:58:52 +0000 (11:58 +0000)
This fixes build with NUMA_AWARE_HUGEPAGES enabled and VHOST_NUMA
disabled. This should not be a usual case. But it's possible to
configure DPDK this way.

Fixes: 5e925ccc2a6f ("netdev-dpdk: DPDK v17.11 upgrade")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
acinclude.m4

index c51af246a5e21a9b8f7eda417e9825cde1081cb1..e2af4ee16486478ced0a5a9b6d5964ec982ccfaf 100644 (file)
@@ -254,7 +254,7 @@ AC_DEFUN([OVS_CHECK_DPDK], [
       AC_LANG_PROGRAM(
         [
           #include <rte_config.h>
-#if RTE_LIBRTE_VHOST_NUMA
+#if defined(RTE_LIBRTE_VHOST_NUMA) || defined(RTE_EAL_NUMA_AWARE_HUGEPAGES)
 #error
 #endif
         ], [])