diff mbox series

[Bug,3657] PktIO does not work with Mellanox Interfaces

Message ID 010001621e2d570a-9dbbd3f1-0755-42a1-90cf-a70d852eb079-000000@email.amazonses.com
State New
Headers show
Series [Bug,3657] PktIO does not work with Mellanox Interfaces | expand

Commit Message

bugzilla-daemon@bugs.linaro.org March 13, 2018, 7:05 a.m. UTC
https://bugs.linaro.org/show_bug.cgi?id=3657

--- Comment #4 from Matias Elo <matias.elo@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.



Regards,
Matias

-- 
You are receiving this mail because:
You are on the CC list for the bug.
diff mbox series

Patch

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