[dpdk-dev] [PATCH] net/mlx4: fix glue library name

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 2 14:01:28 CET 2020


On 10/26/2020 9:20 AM, Ali Alnubani wrote:
> The MLX4 library wasn't being successfully initialized with
> -Dibverbs_link=dlopen because it expected a shared object file
> with a different name.
> 

The mlx4 glue library name seems changed in the patch pointed by Fixes line, but 
mlx5 library name is still using old syntax: 'librte_pmd_mlx5_glue.so', can you 
please fix that too in a separate patch?

> Fixes: a20b2c01a7a1 ("build: standardize component names and defines")
> Cc: bruce.richardson at intel.com
> 
> Signed-off-by: Ali Alnubani <alialnu at nvidia.com>
> ---
>   drivers/net/mlx4/meson.build | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx4/meson.build b/drivers/net/mlx4/meson.build
> index 404006515..c22a88875 100644
> --- a/drivers/net/mlx4/meson.build
> +++ b/drivers/net/mlx4/meson.build
> @@ -10,7 +10,7 @@ endif
>   
>   static_ibverbs = (get_option('ibverbs_link') == 'static')
>   dlopen_ibverbs = (get_option('ibverbs_link') == 'dlopen')
> -LIB_GLUE_BASE = 'librte_pmd_mlx4_glue.so'
> +LIB_GLUE_BASE = 'librte_net_mlx4_glue.so'
>   LIB_GLUE_VERSION = '18.02.0'
>   LIB_GLUE = LIB_GLUE_BASE + '.' + LIB_GLUE_VERSION
>   if dlopen_ibverbs
> 



More information about the dev mailing list