From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 00/20] Decouple ethdev from PCI device Date: Tue, 03 Jan 2017 15:06:49 +0100 Message-ID: <1517043.pJ7WbAdCrg@xps13> References: <1482332986-7599-1-git-send-email-jblunck@infradead.org> <3218207.eTF77IRQHx@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: Jan Blunck , dev@dpdk.org, shreyansh.jain@nxp.com, david.marchand@6wind.com, stephen@networkplumber.org, Adrien Mazarguil , Nelio Laranjeiro To: Ferruh Yigit Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id AE972282 for ; Tue, 3 Jan 2017 15:06:51 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id t79so430166531wmt.0 for ; Tue, 03 Jan 2017 06:06:51 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-03 12:24, Ferruh Yigit: > On 12/25/2016 10:33 PM, Thomas Monjalon wrote: > > Applied with some trivial fixes, thanks >=20 > Getting following build error for mlx5 [1], it is mainly because verb= s.h > also using container_of macro. >=20 > [1] > In file included from > .../x86_64-native-linuxapp-gcc/include/rte_mbuf.h:57:0, > from .../x86_64-native-linuxapp-gcc/include/rte_ethe= r.h:52, > from .../drivers/net/mlx5/mlx5_trigger.c:38: > /usr/include/infiniband/verbs.h: In function =E2=80=98verbs_get_devic= e=E2=80=99: > .../x86_64-native-linuxapp-gcc/include/rte_common.h:350:40: error: > initialization discards =E2=80=98const=E2=80=99 qualifier from pointe= r target type > [-Werror=3Ddiscarded-qualifiers] > typeof(((type *)0)->member) *_ptr =3D (ptr); \ > ^ Yes, this issue is fixed by upgrading mofed to version 3.4.