Re: [ovs-dev] [PATCH] build: check libibverbs deps before linking with dpdk

2021-11-10 Thread David Marchand
On Wed, Nov 10, 2021 at 1:16 PM Harold Huang wrote: > > Hi, Maximets, > > I have found this build error message in both dpdk 20.11.3 and > 20.11.1. I did not make any change to dpdk. I use the following > command to build dpdk: > > meson builddir && cd builddir && meson configure > --prefix=/u

Re: [ovs-dev] [PATCH] build: check libibverbs deps before linking with dpdk

2021-11-10 Thread Harold Huang
Hi, Maximets, I have found this build error message in both dpdk 20.11.3 and 20.11.1. I did not make any change to dpdk. I use the following command to build dpdk: meson builddir && cd builddir && meson configure --prefix=/usr/local -Dexamples='' -Dtests=false -Denable_kmods=false -Denable_do

Re: [ovs-dev] [PATCH] build: check libibverbs deps before linking with dpdk

2021-11-10 Thread Ilya Maximets
On 11/10/21 05:10, Harold Huang wrote: > When I build ovs-dpdk without mlx4/mlx5 driver, the configure log is as > follows: > > checking for DPDK... yes > checking for faulty pkg-config version... no > checking for rte_config.h... yes > checking whether RTE_LIBRTE_VHOST_NUMA is declared... yes > c

Re: [ovs-dev] [PATCH] build: check libibverbs deps before linking with dpdk

2021-11-10 Thread Harold Huang
Hi, Sunil, I try it and it has fixed the puzzling error message. Thanks Pai G, Sunil 于2021年11月10日周三 下午6:12写道: > > Hi Huang, > > > > Thanks for the patch. > > The problem is a bit more generic i.e not restrcited to MLX4/MLX5. > > Could you try this patch instead ? > http://patchwork.ozlabs.org

Re: [ovs-dev] [PATCH] build: check libibverbs deps before linking with dpdk

2021-11-10 Thread Pai G, Sunil
Hi Huang, Thanks for the patch. The problem is a bit more generic i.e not restrcited to MLX4/MLX5. Could you try this patch instead ? http://patchwork.ozlabs.org/project/openvswitch/patch/2020100744.204072-1-sunil.pa...@intel.com/ Thanks and regards, Sunil __

[ovs-dev] [PATCH] build: check libibverbs deps before linking with dpdk

2021-11-09 Thread Harold Huang
When I build ovs-dpdk without mlx4/mlx5 driver, the configure log is as follows: checking for DPDK... yes checking for faulty pkg-config version... no checking for rte_config.h... yes checking whether RTE_LIBRTE_VHOST_NUMA is declared... yes checking for library containing get_mempolicy... -lnuma