* [dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree
@ 2016-07-16 16:38 Kevin Wilson
2016-07-18 6:26 ` Nélio Laranjeiro
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wilson @ 2016-07-16 16:38 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree
2016-07-16 16:38 [dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree Kevin Wilson
@ 2016-07-18 6:26 ` Nélio Laranjeiro
0 siblings, 0 replies; 2+ messages in thread
From: Nélio Laranjeiro @ 2016-07-18 6:26 UTC (permalink / raw)
To: Kevin Wilson; +Cc: dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-18 6:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-16 16:38 [dpdk-dev] 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 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).