[dpdk-users] Compile DPDK 17.11 with Mellanox NIC support

Nelio Laranjeiro nelio.laranjeiro at 6wind.com
Fri Jan 5 08:46:22 CET 2018


Hi George

On Fri, Jan 05, 2018 at 08:38:11AM +0100, george.dit at gmail.com wrote:
> Hi,
> 
> I noticed that DPDK 17.11 brought some changes regarding the Mellanox
> drivers, hence my compilation script does not work for this version of DPDK.
> 
> Specifically, the release notes of this version state:
> 
> "Enabled the PMD to run on top of upstream Linux kernel and rdma-core libs,
> removing the dependency on specific Mellanox OFED libraries."
> 
> Previously, I was setting CONFIG_RTE_LIBRTE_MLX5_PMD but now, with this
> option set I get build errors in drivers/net/mlx5/mlx5.c.
> 
> Could you please provide some guidance on how DPDK is expected to work
> without OFED?
> Is there any other configuration required?

You should find anything useful in the NIC documentation [1], you have
two possibilities, keep using the distribution and install MLNX_OFED
4.2, or update the Linux Kernel and use RDMA-Core, both are explained in
he section "21.5.1. Installation".

Regards,

[1] https://dpdk.org/doc/guides/nics/mlx5.html

-- 
Nélio Laranjeiro
6WIND


More information about the users mailing list