From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro 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 Message-ID: <20160718062640.GD14792@autoinstall.dev.6wind.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Kevin Wilson Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 15BC6137D for ; Mon, 18 Jul 2016 08:26:44 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id f126so89353536wma.1 for ; Sun, 17 Jul 2016 23:26:44 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Kevin, On Sat, Jul 16, 2016 at 07:38:50PM +0300, Kevin Wilson wrote: > Hello, >=20 > I had tried to build the connectx-3 driver with latest git tree and > it fails with > ... > ... > =3D=3D Build drivers/net/mlx4 > CC mlx4.o > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c: In function =E2=80=98txq_= cleanup=E2=80=99: > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1106:37: error: storage > size of =E2=80=98params=E2=80=99 isn=E2=80=99t known > struct ibv_exp_release_intf_params params; > ^ > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:4: error: unknown > field =E2=80=98comp_mask=E2=80=99 specified in initializer > .comp_mask =3D 0, > ^ > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:17: error: excess > elements in struct initializer [-Werror] > .comp_mask =3D 0, > ^ > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1116:17: note: (near > initialization for =E2=80=98(anonymous)=E2=80=99) > /work/down/temp/dpdk/drivers/net/mlx4/mlx4.c:1117:3: error: invalid > use of undefined type =E2=80=98struct ibv_exp_release_intf_params=E2=80= =99 > }; >=20 >=20 > The steps that I took is (after clonning the dpdk tree) are: > make config T=3Dx86_64-native-linuxapp-gcc > sed -ri 's,(PMD_PCAP=3D).*,\1y,' build/.config > Then make > Then edited build/.config and set: > CONFIG_RTE_LIBRTE_MLX4_PMD=3Dy > and then make. >=20 > Any ideas? >=20 > 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, --=20 N=C3=A9lio Laranjeiro 6WIND