[dpdk-users] Building mlx4 drivers
shahafs at mellanox.com
Wed Nov 8 07:47:06 CET 2017
November 7, 2017 10:50 PM, Michael Sowka:
> Hello, I am experiencing some early difficulties in building the mlx4 driver for
> a ConnectX-3 device.
> Following the documentation at
> O583sGeycJbrbOHDNETVRlmPNNc2MPihh4%3D&reserved=0, I have
> installed the MLNX_OFED bundle, enabled the
> CONFIG_RTE_LIBRTE_MLX4_PMD=y build option, but fail to build the driver
> 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
> 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
How did you install the OFED?
In order to install the rdma-core libs of OFED (which includes the mlx4dv.h) you should use the following command:
./mlnxofedinstall --dpdk --upstream-libs
I guess mlx4 guide is not yet updated for this release. The update for this release should include the new OFED and the command line to install it.
More information about the users