We actually had to revert the DPDK 20.08 use to continue to have this work in 20.09.
Isn't it a bit unexpected to have a DPDK supported NIC not work though? I'd think we'd want this fixed, is there any idea why it's broken? Thanks, Chris. > On Nov 20, 2020, at 2:47 PM, Mohammed Hawari <moham...@hawari.fr> wrote: > > Hi Ashish, > > The DPDK plugin for mlx5 NICs is not supported by the current code on master. > We strongly encourage you to try the rdma plugin, which offers a native VPP > driver for mlx5 NICs without relying on DPDK. The use of this driver is > documented in src/plugins/rdma/rdma_doc.md. > > Best regards > > Mohammed > >> On 19 Nov 2020, at 13:18, ashish.sax...@hsc.com >> <mailto:ashish.sax...@hsc.com> wrote: >> >> Hi vpp devs, >> >> I have been trying to run vpp on latest master branch with mlx 5 enables on >> centos 8.2 machine . >> I have downloaded and installed the mellanox driver from >> url:https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed >> <https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed> and >> installed the following dependencies: >> #yum install perl-Term-ANSIColor >> #yum install tcl tk python36 >> #./mlnxofedinstall --upstream-libs --dpdk --without-fw-update >> #/etc/init.d/openibd restart >> >> I cloned the latest master branch (v21.01-rc0) (git clone -b master >> https://gerrit.fd.io/r/vpp <https://gerrit.fd.io/r/vpp>) >> I enabled mlx5 from file:build/external/packages/dpdk.mk >> DPDK_MLX5_PMD ?= y >> DPDK_MLX5_COMMON_PMD ?= y >> >> Then I followed these steps to compile vpp : >> >> #make wipe-release >> #make install-dep >> #make install-ext-deps >> #make build-release >> # make pkg-rpm >> #rpm -ivh *.rpm >> >> The compilation went fine , but got the following issue while installing the >> rpm files: >> #rpm -ivh *.rpm >> error: Failed dependencies: >> python(abi) = 2.7 is needed by >> vpp-api-python-21.01-rc0~352_g1f85dad1e.x86_64 >> python-setuptools is needed by >> vpp-api-python-21.01-rc0~352_g1f85dad1e.x86_64 >> >> I changed line 143 on extras/rpm/vpp.spec: From "python-setuptools" to " >> python3-setuptools". >> Then , I proceeded with re-compile, and was able to install vpp >> successfully after that. >> >> But when starting vpp, it kept crashing with error below: >> >> Nov 6 15:01:44 sim01 systemd[1]: Starting Vector Packet Processing >> Process... >> Nov 6 15:01:44 sim01 systemd[1]: Started Vector Packet Processing Process. >> Nov 6 15:01:44 sim01 vpp[1557233]: /usr/bin/vpp: symbol lookup error: >> /usr/lib/vpp_plugins/dpdk_plugin.so: undefined symbol: ibv_fork_init >> Nov 6 15:01:44 sim01 systemd[1]: vpp.service: Main process exited, >> code=exited, status=127/n/a >> Nov 6 15:01:44 sim01 systemd[1]: vpp.service: Failed with result >> 'exit-code'. >> Nov 6 15:01:48 sim01 systemd[1]: Stopped Vector Packet Processing Process. >> >> How can I compile vpp with mlx so that it didn't crash . >> >> Thanks and Regards, >> Ashish >> >> >> > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18127): https://lists.fd.io/g/vpp-dev/message/18127 Mute This Topic: https://lists.fd.io/mt/78363477/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-