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

Reply via email to