From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Oe7EGkWZEs05Bot/SkBafLQ1Mum1FdVw/utzRVVUjPA=; b=IijP7/XRqkkuXI3XhjWfZ0R8U+gkAdQNyrHVBcqWXfbU8o+45+ezI2pYP/5H6cdOcq ekXVHVhH5X8wxXFyKwXJLtG4igbXSreDUy1cwnzR6godqUcxz239ufYvohMOab0ulb69 pdxeqaHwZNinUGmHhEDRHtyVFlN3JCXRtCG+Wnpz4ELiffmZUDFh0quhR9yicWd/2j7a nMSuFlJcMQBRyf2qyzp8sj5tB4UKF+T9ZegLzjJU5ib/3KadgIElH61BGli+uiEWa2+U u3DOHSB1K2mo9Hwg7myUM0dy/noUD22a/CdQ6Unj/OQQAQDBj5iOxyVvNYokRgP3TtAm 6qiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Oe7EGkWZEs05Bot/SkBafLQ1Mum1FdVw/utzRVVUjPA=; b=Q8tB1Jkn4MEnWNBOufnJ/M6EDq8m9uo92N3Ij7RapH6JWG9PgppumRNVNCDKXlF8SH mVx0yaVtVvpSZhi2Qmi45fiWmbkDNdg6187ZaYfDMc8H1NslYF4vhyqsOHdgcC3C/sTj VAC2rifQiXeF0h7WijE6cJaZgTT7kS4GyPwCr76qsAxpswHKwtuCDS6wpuwwuH1aaeC+ bvM759Auj1HcYA9nMSSSOV3Z6Md5gUqbO5SRogAEG+MpEVsyeN0W+bd2kSkcKescZvhC HXpHsO9DQelrx38DVI+nvJcnyTPVN4eZb5pA3Op0W8ty7p3UAzAGRHaG6MXx+Cxh0up7 bxGg== X-Gm-Message-State: ALyK8tLcFQC1PSUNTLy6CcDhjFkYIQ7ofdcjGnljdqiv1emEQAAhE5CDgt8sCrTzjYmxkQGc X-Received: by 10.28.129.197 with SMTP id c188mr37482899wmd.46.1468823203883; Sun, 17 Jul 2016 23:26:43 -0700 (PDT) Received: from autoinstall.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id x203sm14495673wmg.0.2016.07.17.23.26.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jul 2016 23:26:43 -0700 (PDT) Date: Mon, 18 Jul 2016 08:26:40 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Kevin Wilson Cc: "dev@dpdk.org" Message-ID: <20160718062640.GD14792@autoinstall.dev.6wind.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] Building connectx-3 fails on Fedora 22 and Fedora 24 with latest git tree X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 06:26:44 -0000 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