[dpdk-dev] How to Enable Mellanox Driver Compilation with DPDK20.11

Truring Team truring12 at gmail.com
Fri Jan 29 13:50:52 CET 2021


Hi Bruce ,
Thanks a lot for your help.
After installing below packages mlx is compiled .

yum -y groupinstall "Infiniband Support"

yum install -y gcc kernel-devel-`uname -r` numactl-devel.x86_64
librdmacm-devel libmnl-devel


*find . -name *.a | grep mlx*

*./drivers/libtmp_rte_common_mlx5.a*

*./drivers/librte_common_mlx5.a*

*./drivers/libtmp_rte_net_mlx4.a*

*./drivers/librte_net_mlx4.a*

*./drivers/libtmp_rte_regex_mlx5.a*

*./drivers/librte_regex_mlx5.a*

*./drivers/libtmp_rte_vdpa_mlx5.a*

*./drivers/librte_vdpa_mlx5.a*

*./drivers/libtmp_rte_net_mlx5.a*

*./drivers/librte_net_mlx5.a*


Best Regards
Puneet

On Fri, 29 Jan 2021 at 15:38, Bruce Richardson <bruce.richardson at intel.com>
wrote:

> On Fri, Jan 29, 2021 at 11:50:08AM +0530, Truring Team wrote:
> > Hi Team ,
> >
> > Can someone help me to figure out how to  enable the Mellanox Driver flag
> > in meson.build file , so that dpdk 20.11 compiles with mlx driver
> enabled.
> >
> If the driver is not being built there should be a reason given in the
> build configuration summary when you run meson. This is almost certainly
> that you are missing a library dependency for it, since all drivers are
> enabled unless their dependencies are missing.
>
> /Bruce
>


More information about the dev mailing list