Skip to content

Commit

Permalink
acinclude: Use NUMA_AWARE_HUGEPAGES too for libnuma check.
Browse files Browse the repository at this point in the history
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: 5e925cc ("netdev-dpdk: DPDK v17.11 upgrade")

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
  • Loading branch information
igsilya authored and istokes committed Feb 12, 2019
1 parent 22f05f8 commit 3fdc300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acinclude.m4
Expand Up @@ -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
], [])
Expand Down

0 comments on commit 3fdc300

Please sign in to comment.