From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 2746D8E01 for ; Fri, 5 Jan 2018 08:47:06 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id i11so835823wmf.4 for ; Thu, 04 Jan 2018 23:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=rMHfGXLIMBbo0hqowQqGV2p+ZdBS0B5iju5VoD8W/Qc=; b=arIBAjcpW0OJt7neNeKQCqwiIGYeSbYDM7d54/cqyYEirYeRnIOybrjvhzFlGw0Xtd fyrf+d7r63oORKGmIziufkRXpPe51fKb24VFKXUt3h3ySAnKgvE9TYsqHbPgRUKc1/Zl Fenm0lt4pPl5IFwFatGNExkgeykZgJBrDgPAbofMM9KFxL6ViGtrTbtFcoiUnuBlrjqJ rpHwe/3hGe14bvVEQ6zBIbSU2L/9J+35SbczU53G30qvYASbvVD32b2V2XfybHg0V94s SjvKOva+8CEQEGVbSkChqToFlymioGS3KSCV/GCIWjAcE5c3OdkEQDOjZ+uxAwOttNu7 Qbdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=rMHfGXLIMBbo0hqowQqGV2p+ZdBS0B5iju5VoD8W/Qc=; b=hHolyWYAtZBiY4UMUrI8fsCj3kd78x5td6Bc0//2NfVPan8pbDL2l6h6GF6YBY15Bq 7GapxPTWHK96+IIPEJw7KPBmIvjvwYxToNZD5H9yZrzEFCMvFtO5pydTGQDoXfpHOw3F zOrirJdvX7Bj5XESZqD7xHxXENk9YVzagBBKjCsPhHmWvdcYHvicCTBdQaFJhe2E2AfH CEcvzVCUT679a5Sz7xbex8nNCyXSYS0zX0dY5ZEMTt8aptKaZR2HFo8v8y/2rkp8rILB 02k+Wlhzu29pH5lab9EfMt30vCbs9jA37CUg1VuC+djB7K9w37ISKDgnqNuT8X9xP0+p IvEQ== X-Gm-Message-State: AKGB3mK9mYCQFuftwU28B7Ttap72Uu1HHNVD7V2IG8BTRfTG73Er7NYx SNCI8vdHQdZlu7y+cUIczgip X-Google-Smtp-Source: ACJfBoux/a8wZSJlNccd9kVUytocfwy689B59ifC6558SaNe5nizIdjTtBCP13ihU6YGOihfA6hhfw== X-Received: by 10.28.214.20 with SMTP id n20mr1686517wmg.59.1515138425638; Thu, 04 Jan 2018 23:47:05 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id k25sm10086452wrk.11.2018.01.04.23.47.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jan 2018 23:47:05 -0800 (PST) Date: Fri, 5 Jan 2018 08:46:22 +0100 From: Nelio Laranjeiro To: george.dit@gmail.com Cc: users@dpdk.org Message-ID: <20180105074622.liwtcoadktbhj7e3@laranjeiro-vm.dev.6wind.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) 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 07:47:06 -0000 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élio Laranjeiro 6WIND