Message ID | 20200210134854.105049-1-ciara.loftus@intel.com |
---|---|
State | Accepted |
Commit | 976c452a7b86533e8599970d771f077159815744 |
Headers | show |
Series | [ovs-dev,1/2] acinclude: handle dependencies for DPDK's PCAP PMD | expand |
On Mon, Feb 10, 2020 at 01:48:53PM +0000, Ciara Loftus wrote: > If RTE_LIBRTE_PMD_PCAP is enabled in the DPDK build, OVS must link > the pcap library, otherwise build failures will occur. > > Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Applied to master, thanks.
diff --git a/acinclude.m4 b/acinclude.m4 index 1212a463e..6f284eaf9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -355,6 +355,10 @@ AC_DEFUN([OVS_CHECK_DPDK], [ OVS_FIND_DEPENDENCY([get_mempolicy], [numa], [libnuma]) ], [], [[#include <rte_config.h>]]) + AC_CHECK_DECL([RTE_LIBRTE_PMD_PCAP], [ + OVS_FIND_DEPENDENCY([pcap_dump_close], [pcap], [libpcap]) + ], [], [[#include <rte_config.h>]]) + AC_CHECK_DECL([RTE_LIBRTE_VHOST_NUMA], [ AC_DEFINE([VHOST_NUMA], [1], [NUMA Aware vHost support detected in DPDK.]) ], [], [[#include <rte_config.h>]])
If RTE_LIBRTE_PMD_PCAP is enabled in the DPDK build, OVS must link the pcap library, otherwise build failures will occur. Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> --- acinclude.m4 | 4 ++++ 1 file changed, 4 insertions(+)