DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Building mlx5 with rdma-core/OFED
@ 2021-08-02  0:23 Gerry Wan
  2021-08-02 13:24 ` PATRICK KEROULAS
  0 siblings, 1 reply; 7+ messages in thread
From: Gerry Wan @ 2021-08-02  0:23 UTC (permalink / raw)
  To: users

I recently tried to reinstall MLX OFED 5.2-2.2.0.0 on my bare metal machine
Ubuntu 20.04 (previously using the command ./mlnxofedinstall --dpdk
--upstream-libs --with-mft --with-kernel-mft). However, it now fails with
the message

Checking SW Requirements...
Removing old packages...
Uninstalling the previous version of MLNX_OFED_LINUX
Installing new packages Installing mft-4.16.1...
Installing ofed-scripts-5.2...
Installing mstflint-4.15.0...
Installing mlnx-ofed-kernel-utils-5.2...
Installing mlnx-ofed-kernel-dkms-5.2...
Failed to install mlnx-ofed-kernel-dkms DEB
Collecting debug info...
See /tmp/MLNX_OFED_LINUX.9221.logs/mlnx-ofed-kernel-dkms.debinstall.log

It appears that my kernel version got upgraded to 5.4.0-80-generic which I
think may be the issue. I've also tried to install using
 --add-kernel-support --kernel 5.4.0-80-generic, with no luck.

The DPDK website says that rdma-core is now recommended over OFED, but the
documentation for how to use it isn't very clear to me. I've tried to
install it via

apt-get install rdma-core

as well as running the quick start script listed here:
https://github.com/linux-rdma/rdma-core, but DPDK installation still fails
with

../drivers/common/mlx5/linux/mlx5_glue.h:15:10: fatal error:
infiniband/mlx5dv.h: No such file or directory
   15 | #include <infiniband/mlx5dv.h>

Any advice on getting the mlx5 drivers to work again would be helpful!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-13  7:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  0:23 [dpdk-users] Building mlx5 with rdma-core/OFED Gerry Wan
2021-08-02 13:24 ` PATRICK KEROULAS
2021-08-02 18:35   ` Gerry Wan
2021-08-02 19:59     ` PATRICK KEROULAS
2021-08-02 20:18       ` Gerry Wan
2021-08-03 14:23         ` PATRICK KEROULAS
2021-08-13  7:02           ` Gerry Wan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).