Hi Chris, I did this in my local build:
diff --git a/build/external/packages/dpdk.mk b/build/external/packages/ dpdk.mk index 49761cd56..a30ffd2ac 100644 --- a/build/external/packages/dpdk.mk +++ b/build/external/packages/dpdk.mk @@ -139,6 +139,7 @@ DPDK_MESON_ARGS = \ -Dtests=false \ "-Ddisable_drivers=$(DPDK_DRIVERS_DISABLED)" \ "-Ddisable_libs=$(DPDK_LIBS_DISABLED)" \ + -Dibverbs_link=dlopen \ -Db_pie=true \ -Dmachine=$(DPDK_MACHINE) \ --buildtype=$(DPDK_BUILD_TYPE) If I try to submit it upstream, I would probably do something nicer using a DPDK_<something> environment variable, but for the moment this got me past that error. I have not actually tested with an mlx5 device yet, so I don't know if something additional will be required in order to forward packets via an mlx5 NIC, but it did fix the error you pasted and allow dpdk_plugin.so to be loaded. -Matt On Thu, Oct 1, 2020 at 2:10 PM Christian Hopps <cho...@chopps.org> wrote: > I've rebased my local branch on the latest master and dpdk is failing to > load now b/c > > 2020/10/01 18:31:54:514 err plugin/load > /home/chopps/w/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins/dpdk_plugin.so: > undefined symbol: ibv_fork_init > > I noticed that the dpdk build system has been changed is there something I > need to do to get it to link properly with the required libraries now? > > I did change "n" in > > DPDK_MLX5_PMD ?= n > DPDK_MLX5_COMMON_PMD ?= n > > to "y" to try and get MLX5 PMD to build. > > I also added > > vpp_uses_dpdk_mlx5_pmd = yes > > to build-data/platforms/vpp.mk > > I also tried adding: > > vpp_uses_dpdk_ibverbs_link_dlopen = yes > > which didn't fix the problem. > > Any suggestions on how to fix this? > > Thanks, > Chris. > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17627): https://lists.fd.io/g/vpp-dev/message/17627 Mute This Topic: https://lists.fd.io/mt/77247865/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-