From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by dpdk.org (Postfix) with ESMTP id 9C2341B2AA for ; Wed, 8 Nov 2017 15:28:02 +0100 (CET) Received: by mail-qk0-f182.google.com with SMTP id q83so3494904qke.6 for ; Wed, 08 Nov 2017 06:28:02 -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=1JVY2APF3yaDg7BzB5MXRVl95dIDOpG4YRwziSuwUVY=; b=KK9BVnMrfzWVmnOXh/TkdSm78OFAGMzVNrE7FjaZie70EFmE2+vKjzgnQBLUsLo853 6r73yC6bxdedbhjsx8XrvuVBzeE3eAFSSl7pCh/xKEEk1yCRkTeyNbj+XZvmTXEUtZ9I j8mwbcQ1zaIGu5Q3bqHmOABPXz4yy+zcjcqKK7r48uhlHRwYScDk8bDZFTm2xYLk4UJb pXHkzpc59PB28U+YN3OJSL5LcpKOTy/ff2gvvXbViFrHGCTAyROweC0ZkucdnkGsF0f2 lzyER7N2rUlQFb0a+nFMhp1QtRB9toiKp1tf2zigmuzWQYlfAVmW9wLiYcfV6F+DDwsa rPFw== 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=1JVY2APF3yaDg7BzB5MXRVl95dIDOpG4YRwziSuwUVY=; b=N0t/VDvfq7dUZ/DZs09qTnMLYkjBGQ/TrvhqAB0C2jUGtnIljF+mJQq34pWSQ4C5RQ z2BwaLT09YbHBpP6wb43YArQL1FkbVipBzAy7MiRZ/PrH+DK0ubPWbVg8oGfRqEGW27A apg2MZKMBewTzodod8f0nw69hx7RNANgJ4kA8AWvyk6o3Z9h8LzxcVJfpTJbcYNkLRcX woLDI1T85lEQ4skdq2ua4M+nyK/cfYtNcE4//jJrZLCVWcZaBsLi51lTDs/1MLxUvoME fv4gjBMeGzu0w/HI5hpnTm+PcRX683Nxz5WwkW84BdC+D/zwmaPo176/hH47wSZFeWU8 u+Ug== X-Gm-Message-State: AJaThX7Gp5LCX1D0Yz/+z7ncJLzVZxpCi2rgFIpofO9L8NfjOIH1tQ3G ivE2KAHy1dxmLaZUXd6H/945drTap3GINRU9OGI= X-Google-Smtp-Source: AGs4zMZdsyp6ooZI11qCmEeEf4kh5QUfnsshMd60Yv6XYPipLpufdA7jFhsAjZL+aERraqhW3Rd3QZJQbOgtfqoUCFM= X-Received: by 10.55.195.142 with SMTP id r14mr1077208qkl.146.1510151281815; Wed, 08 Nov 2017 06:28:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.102.33 with HTTP; Wed, 8 Nov 2017 06:27:41 -0800 (PST) In-Reply-To: References: From: Michael Sowka Date: Wed, 8 Nov 2017 06:27:41 -0800 Message-ID: To: Shahaf Shuler Cc: "users@dpdk.org" , Thomas Monjalon Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Building mlx4 drivers 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: Wed, 08 Nov 2017 14:28:03 -0000 Thomas, Shahaf, I'm working off master, couple commits after 17.11-rc2 tag. As I'm in early development myself I haven't nailed down to a release yet. I figured the docs aren't completely updated, and that's why I then ended up installing OFED 4.2. I was previously installing with `./mlnxofedinstall --guest`. I assume the `./mlnxofedinstall --dpdk --upstream-libs` as instructed installs the rdma-core and upstream libs, ? Should I also include the --guest argument, as I'm in a HyperV environment, ? Thank You Both. Building wihtout a glitch now, Mike On Wed, 8 Nov 2017 at 01:47 Shahaf Shuler wrote: > Hi Mike > > November 7, 2017 10:50 PM, Michael Sowka: > > > > Hello, I am experiencing some early difficulties in building the mlx4 > driver for > > a ConnectX-3 device. > > > > Following the documentation at > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdpd > > k.org%2Fdoc%2Fguides%2Fnics%2Fmlx4.html&data=02%7C01%7Cshahafs%4 > > 0mellanox.com%7Ccdee63ffb7524200bd2608d526211428%7Ca652971c7d2e4 > > d9ba6a4d149256f461b%7C0%7C0%7C636456845870494743&sdata=qkTlfolUR > > O583sGeycJbrbOHDNETVRlmPNNc2MPihh4%3D&reserved=0, I have > > installed the MLNX_OFED bundle, enabled the > > CONFIG_RTE_LIBRTE_MLX4_PMD=y build option, but fail to build the driver > > with: > > drivers/net/mlx4/mlx4_rxtx.h:44:31: fatal error: infiniband/mlx4dv.h: No > > such file or directory > > > > I'm on an Ubuntu 16.04 system. > > > > Sure enough, neither the MLNX_OFED versions 4.1 or 4.2 include the > > mlx4dv.h header. I first tried 4.1 as that's what's recommended in the > above > > mlx4 guide, but its other section > > (CONFIG_RTE_LIBRTE_MLX4_DEBUG_BROKEN_VERBS > > option) alludes to possiblity of using 4.2. > > > > Again, i'm sticking with docs to not install anything outside of what > > MLNX_OFED provides in its packages, but where is that pesky mlx4dv.h > > header? > > How did you install the OFED? > In order to install the rdma-core libs of OFED (which includes the > mlx4dv.h) you should use the following command: > ./mlnxofedinstall --dpdk --upstream-libs > > I guess mlx4 guide is not yet updated for this release. The update for > this release should include the new OFED and the command line to install it. > > > > > Thanks, > > Mike >