[dpdk-users] Building mlx4 drivers

Michael Sowka msowka at gmail.com
Tue Nov 7 21:49:31 CET 2017


Hello, I am experiencing some early difficulties in building the mlx4
driver for a ConnectX-3 device.

Following the documentation at http://dpdk.org/doc/guides/nics/mlx4.html, I
have installed the MLNX_OFED bundle, enabled
the CONFIG_RTE_LIBRTE_MLX4_PMD=y build option, but fail to build the driver
with:
drivers/net/mlx4/mlx4_rxtx.h:44:31: fatal error: infiniband/mlx4dv.h: No
such file or directory

I'm on an Ubuntu 16.04 system.

Sure enough, neither the MLNX_OFED versions 4.1 or 4.2 include the mlx4dv.h
header. I first tried 4.1 as that's what's recommended in the above mlx4
guide, but its other section (CONFIG_RTE_LIBRTE_MLX4_DEBUG_BROKEN_VERBS
option) alludes to possiblity of using 4.2.

Again, i'm sticking with docs to not install anything outside of what
MLNX_OFED provides in its packages, but where is that pesky mlx4dv.h header?

Thanks,
Mike


More information about the users mailing list