diff options
author | Ciara Loftus <ciara.loftus@intel.com> | 2016-08-17 13:17:03 +0100 |
---|---|---|
committer | Daniele Di Proietto <diproiettod@vmware.com> | 2016-08-18 17:04:27 -0700 |
commit | 5b9bf9e0675bb9f67479c2ac4cbf67cdc80850bf (patch) | |
tree | b16328c1f68fdbfd55851340a05e5dac593d0eb4 /acinclude.m4 | |
parent | 5d62561f06b479aadbee54a9487689f9792ea358 (diff) | |
download | openvswitch-5b9bf9e0675bb9f67479c2ac4cbf67cdc80850bf.tar.gz |
netdev-dpdk: Fix occurance of error log
If NUMA information can't be derived from a vHost User device, only
print an error if the VHOST_NUMA option is enabled in DPDK. Otherwise
'fail' silently.
Fixes: 0a0f39df1d5a ("netdev-dpdk: Add support for DPDK 16.07")
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Reported-by: Ian Stokes <ian.stokes@intel.com>
Tested-by: Ian Stokes <ian.stokes@intel.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 805ec4fc2..8857b8100 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -207,7 +207,8 @@ AC_DEFUN([OVS_CHECK_DPDK], [ ], []) ], [], [AC_SEARCH_LIBS([get_mempolicy],[numa],[],[AC_MSG_ERROR([unable to find libnuma, install the dependency package])]) - DPDK_EXTRA_LIB="-lnuma"]) + DPDK_EXTRA_LIB="-lnuma" + AC_DEFINE([VHOST_NUMA], [1], [NUMA Aware vHost support detected in DPDK.])]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM( |