From: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
To: Kevin Wilson <wkevils@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree
Date: Mon, 18 Jul 2016 08:26:40 +0200 [thread overview]
Message-ID: <20160718062640.GD14792@autoinstall.dev.6wind.com> (raw)
In-Reply-To: <CAGXs5wVyL25J-ot_O_+rE83NcaGm_nFT7AaYVw5u==TnKskeAg@mail.gmail.com>
Hi Kevin,
On Sat, Jul 16, 2016 at 07:38:50PM +0300, Kevin Wilson wrote:
> Hello,
>
> I had tried to build the connectx-3 driver with latest git tree and
> it fails with
> ...
> ...
> == Build drivers/net/mlx4
> CC mlx4.o
> /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c: In function ‘txq_cleanup’:
> /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1106:37: error: storage
> size of ‘params’ isn’t known
> struct ibv_exp_release_intf_params params;
> ^
> /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:4: error: unknown
> field ‘comp_mask’ specified in initializer
> .comp_mask = 0,
> ^
> /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:17: error: excess
> elements in struct initializer [-Werror]
> .comp_mask = 0,
> ^
> /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:17: note: (near
> initialization for ‘(anonymous)’)
> /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1117:3: error: invalid
> use of undefined type ‘struct ibv_exp_release_intf_params’
> };
>
>
> The steps that I took is (after clonning the dpdk tree) are:
> make config T=x86_64-native-linuxapp-gcc
> sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config
> Then make
> Then edited build/.config and set:
> CONFIG_RTE_LIBRTE_MLX4_PMD=y
> and then make.
>
> Any ideas?
>
> regards,
> Kevin
It looks like you did not installed Mellanox OFED on your system.
Did you followed the documentation[1] for this NIC?
[1] http://dpdk.org/doc/guides/nics/mlx4.html
Regards,
--
Nélio Laranjeiro
6WIND
prev parent reply other threads:[~2016-07-18 6:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 16:38 Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree Kevin Wilson
2016-07-18 6:26 ` Nélio Laranjeiro [this message]
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=20160718062640.GD14792@autoinstall.dev.6wind.com \
--to=nelio.laranjeiro@6wind.com \
--cc=dev@dpdk.org \
--cc=wkevils@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.