Hi Matias,
Thanks for the patch to compile ODP with MLX drivers.
Finally, i got to try out the patch,  but it is not working for me. I am
still getting the same error while running 'test/performance/odp_l2fwd'.

My configuration details are :
Driver:
MLNX_OFED_LINUX-4.2-1.0.0.0 (OFED-4.2-1.0.0)
Interface:
0000:81:00.0 'MT27700 Family [ConnectX-4]' if=enp129s0f0 drv=mlx5_core
unused=
System:
Ubuntu 16.04 x86_64 4.4.0-116-generic
DPDK: 17.11
odp-linux :  1.18.0.1

I can see that the two differences in our configuration:
Ubuntu 16 (ours) vs Ubuntu 17 (yours)
MLNX_OFED:-  OFED-4.2-1.0.0 (ours) vs
​
OFED-4.2-1.2.0.0 (yours)

Do you think this might be causing the issue? If any other details needed
to debug, i can help with them.

Thanks,
​
P Gyanesh Kumar Patra

Message: 2
> Date: Tue, 13 Mar 2018 07:05:10 +0000
> From: bugzilla-dae...@bugs.linaro.org
> To: lng-odp@lists.linaro.org
> Subject: [lng-odp] [Bug 3657] PktIO does not work with Mellanox
>         Interfaces
> Message-ID:
>         <010001621e2d570a-9dbbd3f1-0755-42a1-90cf-a70d852eb079-00000
> 0...@email.amazonses.com>
>
> Content-Type: text/plain; charset="UTF-8"
>
> https://bugs.linaro.org/show_bug.cgi?id=3657
>
> --- Comment #4 from Matias Elo <matias....@linaro.org> ---
> Hi,
>
> The Mellanox PMD drivers (mlx5) have received quite a few fixes since DPDK
> v17.08. I would suggest trying DPDK v17.11 as we are moving to that version
> soon anyway.
>
> I tested some Mellanox NICs in our lab (ConnectX-4 Lx) and they work
> properly
> with odp-linux using DPDK v17.11 and Mellanox OFED 4.2
> (MLNX_
> ​​
> OFED_LINUX-4.2-1.2.0.0-ubuntu17.10-x86_64).
>
> The following patch was required to add the necessary libraries.
>
> diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4
> index 0050fc4b..b144b23d 100644
> --- a/m4/odp_dpdk.m4
> +++ b/m4/odp_dpdk.m4
> @@ -9,6 +9,7 @@ cur_driver=`basename "$filename" .a | sed -e 's/^lib//'`
>  AS_VAR_APPEND([DPDK_PMDS], [-l$cur_driver,])
>  AS_CASE([$cur_driver],
>      [rte_pmd_nfp], [AS_VAR_APPEND([DPDK_LIBS], [" -lm"])],
> +    [rte_pmd_mlx5], [AS_VAR_APPEND([DPDK_LIBS], [" -libverbs -lmlx5"])],
>      [rte_pmd_pcap], [AS_VAR_APPEND([DPDK_LIBS], [" -lpcap"])],
>      [rte_pmd_openssl], [AS_VAR_APPEND([DPDK_LIBS], [" -lcrypto"])])
>  done
>
>
> Regards,
> Matias
>
>

Reply via email to