DPDK usage discussions
 help / color / mirror / Atom feed
From: Shahaf Shuler <shahafs@mellanox.com>
To: Michael Sowka <msowka@gmail.com>,
	"users@dpdk.org" <users@dpdk.org>,
	Thomas Monjalon <thomas@monjalon.net>
Subject: Re: [dpdk-users] Building mlx4 drivers
Date: Wed, 8 Nov 2017 06:47:06 +0000	[thread overview]
Message-ID: <VI1PR05MB3149FCA176C444EC6F44D5DFC3560@VI1PR05MB3149.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <CABpefFOvfZ9Qdn=mnVY_3dTh+49WiNu7iipGfgFGdq0-UqL3Bg@mail.gmail.com>

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

  parent reply	other threads:[~2017-11-08  6:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07 20:49 Michael Sowka
2017-11-07 21:39 ` Thomas Monjalon
2017-11-08  6:47 ` Shahaf Shuler [this message]
2017-11-08 14:27   ` Michael Sowka
2017-11-09 18:56     ` Madhan Sivakumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VI1PR05MB3149FCA176C444EC6F44D5DFC3560@VI1PR05MB3149.eurprd05.prod.outlook.com \
    --to=shahafs@mellanox.com \
    --cc=msowka@gmail.com \
    --cc=thomas@monjalon.net \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).