From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by dpdk.org (Postfix) with ESMTP id ED8687D19 for ; Fri, 5 Jan 2018 09:02:55 +0100 (CET) Received: by mail-vk0-f48.google.com with SMTP id s139so2701129vkb.3 for ; Fri, 05 Jan 2018 00:02:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Yz4e4xz7A6BJ/krgG1NPM2AE//trYhkd9LVkJsV7rV8=; b=e7+igtNCvfyIDlnGJvCIVroMYvuSV9Ydefq+LAmHll3VzVdsMM+l1Lj/Id1/+nGZeh WqVJpd32h784QPTGlVgf6fnpBSbsyr/1K5wLWoKuQD3QBL7x7bfKSaXN5lvsGbNcQRGr U9mfllJGbQU9uFSo+rHIrLaXpbqOCxxdXDxQflF4EK/Nux5okv4uWcoKu0X14KGIZlfZ S6EpCzDIwFSLeCK6CeEtGyGg5V79lg4Fh+nllSSottC+uvG7a0Iup/DQSWW29TlRvKRh +hunJuNDk3W/VFqXv9nxEYndtSMsyiiC6keAQNSzJLzBM+3ydeM59g3AMEwZOtOdsd/6 USbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Yz4e4xz7A6BJ/krgG1NPM2AE//trYhkd9LVkJsV7rV8=; b=GIQNM5AZehQWoODuxbnseKG2Q1Mvq49dgrybxu1dcPvJUOulz4Fqarlwboim7Ne1IR z8deHz1itSq90MyosVmGIuo9JKTx+VcxsD6qWxgqgIg3aA178jEEU+SnamoRX2fnOsMO sSP2lAw83i9gZbeIK/lg6jCEXS5ZxabRHWWwz1ttgANvM4pIbnue8kTnrkViPQw7gbMH fmZSoQKw4bKyCKG+etE1inULD7gjmvoK5i9CegY7RP0Nh6Y1dnpZJ/q066fq+yJfWCyz HYnxySUr4jyIN0yp8d5ZSInmrn/LIGnA1Qc1r6Trq4juK1DvBn1vtT0fHkmXzayVLYrd 21tQ== X-Gm-Message-State: AKwxytfzKdC2FksbnskJvU1cN08Te+l0YKnPenM/23kaS8dfdtamC4JJ GUv8Nb5s6Snc4UXw+Eg9yT2PpR88sRpUtw2nJja6QQ== X-Google-Smtp-Source: ACJfBou04GRhkP2zCN2vtI9yz2iEuL5oHVOIJ2p64ohjjipYAnCrg8vwMHtUMr4K4mt0SPodkzkBzn6xOfmVvye0gGY= X-Received: by 10.176.85.82 with SMTP id u18mr2412011uaa.49.1515139375229; Fri, 05 Jan 2018 00:02:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.38.134 with HTTP; Fri, 5 Jan 2018 00:02:54 -0800 (PST) In-Reply-To: <20180105074622.liwtcoadktbhj7e3@laranjeiro-vm.dev.6wind.com> References: <20180105074622.liwtcoadktbhj7e3@laranjeiro-vm.dev.6wind.com> From: george.dit@gmail.com Date: Fri, 5 Jan 2018 09:02:54 +0100 Message-ID: To: Nelio Laranjeiro Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Compile DPDK 17.11 with Mellanox NIC support X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 08:02:56 -0000 Hi Nelio, Thanks for the prompt reply and guidance! My OFED version was 4.1, that's why I was unable to build DPDK 17.11. With OFED 4.2 everything works on my kernel (v4.4)! I have one more question: What is the suggested OFED version in order to have a fully featured NIC with all the DPDK classification/offloading capabilities? My NICs are 100G ConnectX-4 (dual and single port). Best regards, Georgios On Fri, Jan 5, 2018 at 8:46 AM, Nelio Laranjeiro wrote: > Hi George > > On Fri, Jan 05, 2018 at 08:38:11AM +0100, george.dit@gmail.com wrote: > > Hi, > > > > I noticed that DPDK 17.11 brought some changes regarding the Mellanox > > drivers, hence my compilation script does not work for this version of > DPDK. > > > > Specifically, the release notes of this version state: > > > > "Enabled the PMD to run on top of upstream Linux kernel and rdma-core > libs, > > removing the dependency on specific Mellanox OFED libraries." > > > > Previously, I was setting CONFIG_RTE_LIBRTE_MLX5_PMD but now, with this > > option set I get build errors in drivers/net/mlx5/mlx5.c. > > > > Could you please provide some guidance on how DPDK is expected to work > > without OFED? > > Is there any other configuration required? > > You should find anything useful in the NIC documentation [1], you have > two possibilities, keep using the distribution and install MLNX_OFED > 4.2, or update the Linux Kernel and use RDMA-Core, both are explained in > he section "21.5.1. Installation". > > Regards, > > [1] https://dpdk.org/doc/guides/nics/mlx5.html > > -- > N=C3=A9lio Laranjeiro > 6WIND > --=20 Georgios Katsikas Industrial Ph.D. Student Network Intelligence Group Decision, Networks, and Analytics (DNA) Lab RISE SICS E-Mail: georgios.katsikas@ri.se