[dpdk-users] Enable MLX5 driver v20.11

Raslan Darawsheh rasland at nvidia.com
Sun Dec 13 09:35:24 CET 2020


Hi Gerry,

Starting V20.11 the build system was switched to use meson only,
And if you have necessary packages for MLX5 (a.k. rdma-core) it will be built automatically.

As for your question if you still don't need to bind mlx5 driver that's true, its still valid.

Kindest regards,
Raslan Darawsheh

> -----Original Message-----
> From: users <users-bounces at dpdk.org> On Behalf Of Gerry Wan
> Sent: Sunday, December 13, 2020 1:22 AM
> To: users at dpdk.org
> Subject: [dpdk-users] Enable MLX5 driver v20.11
> 
> Hello,
> I am trying to update my DPDK version from 20.08 to 20.11. I am using the
> mlx5 driver, and previously to enable it I had to set
> CONFIG_RTE_LIBRTE_MLX5_PMD=y in config/common_base. In 20.11, I see
> no
> option to do so. I was able to build my application (and the sample
> applications), but running rte_eth_dev_count_avail() returns 0 and cannot
> find any ports.
> 
> The steps I did to build DPDK from source were:
> 
> $ meson build
> 
> $ cd build
> 
> $ sudo ninja install
> 
> $ sudo ldconfig
> 
> 
> Normally I would edit dpdk-20.xx/config/common_base before meson build,
> but
> that file is gone.
> 
> What are the steps I need to take to enable mlx5 driver? I also recall that
> I don't need to bind the mlx5 driver, is that still the case?
> 
> Thanks


More information about the users mailing list