From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wes1-so2.wedos.net (wes1-so2.wedos.net [46.28.106.16]) by dpdk.org (Postfix) with ESMTP id 742D78DA1 for ; Fri, 30 Oct 2015 01:17:52 +0100 (CET) Received: from jvn (dynamic-109-81-211-103.ipv4.broadband.iol.cz [109.81.211.103]) by wes1-so2.wedos.net (Postfix) with ESMTPSA id 3nn43M69tHzBkJ; Fri, 30 Oct 2015 01:17:51 +0100 (CET) Date: Fri, 30 Oct 2015 01:17:44 +0100 From: Jan Viktorin To: David Hunt Message-ID: <20151030011744.0cbc7275@jvn> In-Reply-To: <1446139794-16071-1-git-send-email-david.hunt@intel.com> References: <1446139794-16071-1-git-send-email-david.hunt@intel.com> Organization: RehiveTech X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/5] ARMv8 additions to ARMv7 support 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: Fri, 30 Oct 2015 00:17:52 -0000 I've failed to compile kni/igb for ARMv8. Any ideas? Is it Linux 4.2 compatbile? CC [M] /home/jviki/Projects/buildroot-armv8/qemu-armv8/build/dpdk-armv8-= hunt-v1/build/build/lib/librte_eal/linuxapp/kni/igb_main.o /home/jviki/Projects/buildroot-armv8/qemu-armv8/build/dpdk-armv8-hunt-v1/bu= ild/build/lib/librte_eal/linuxapp/kni/igb_main.c: In functi on =E2=80=98igb_ndo_bridge_getlink=E2=80=99: /home/jviki/Projects/buildroot-armv8/qemu-armv8/build/dpdk-armv8-hunt-v1/bu= ild/build/lib/librte_eal/linuxapp/kni/igb_main.c:2279:9: er ror: too few arguments to function =E2=80=98ndo_dflt_bridge_getlink=E2=80=99 return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode, 0, 0, nlflags); ^ In file included from /home/jviki/Projects/buildroot-armv8/qemu-armv8/build= /linux-4.2/include/net/dst.h:13:0, from /home/jviki/Projects/buildroot-armv8/qemu-armv8/build= /linux-4.2/include/net/sock.h:67, from /home/jviki/Projects/buildroot-armv8/qemu-armv8/build= /linux-4.2/include/linux/tcp.h:22, from /home/jviki/Projects/buildroot-armv8/qemu-armv8/build= /dpdk-armv8-hunt-v1/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:34: /home/jviki/Projects/buildroot-armv8/qemu-armv8/build/linux-4.2/include/lin= ux/rtnetlink.h:115:12: note: declared here extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, ^ /home/jviki/Projects/buildroot-armv8/qemu-armv8/build/dpdk-armv8-hunt-v1/bu= ild/build/lib/librte_eal/linuxapp/kni/igb_main.c:2286:1: error: control rea= ches end of non-void function [-Werror=3Dreturn-type] } ^ cc1: all warnings being treated as errors /home/jviki/Projects/buildroot-armv8/qemu-armv8/build/linux-4.2/scripts/Mak= efile.build:258: recipe for target '/home/jviki/Projects/bu ildroot-armv8/qemu-armv8/build/dpdk-armv8-hunt-v1/build/build/lib/librte_ea= l/linuxapp/kni/igb_main.o' failed Regards Jan On Thu, 29 Oct 2015 17:29:49 +0000 David Hunt wrote: > Hi DPDK Community.=20 >=20 > This is an updated patchset for ARMv8 that now sits on top of the previou= sly=20 > submitted ARMv7 code by RehiveTech. It re-uses a lot of that code, and sp= lits > some header files into 32-bit and 64-bit versions, so uses the same arm i= nclude > directory.=20 >=20 > Tested on an XGene 64-bit arm server board, with PCI slots. Passes traffi= c between > two physical ports on an Intel 82599 dual-port 10Gig NIC. Should work wit= h many > other NICS, but these are as yet untested.=20 >=20 > Compiles igb_uio, kni and all the physical device PMDs.=20 >=20 > ACL and LPM are disabled due to compilation issues.=20 >=20 > Note added to the Release notes.=20 >=20 >=20 > David Hunt (5): > eal/arm: split arm rte_memcpy.h into 32 and 64 bit versions. > eal/arm: split arm rte_prefetch.h into 32 and 64 bit versions > eal/arm: fix 64-bit compilation for armv8 > mk: Add makefile support for armv8 architecture > test: add test for cpu flags on armv8 >=20 > MAINTAINERS | 3 +- > app/test/test_cpuflags.c | 13 +- > config/defconfig_arm64-armv8a-linuxapp-gcc | 56 ++++ > doc/guides/rel_notes/release_2_2.rst | 7 +- > .../common/include/arch/arm/rte_cpuflags.h | 9 + > .../common/include/arch/arm/rte_memcpy.h | 302 +--------------= ---- > .../common/include/arch/arm/rte_memcpy_32.h | 334 +++++++++++++++= ++++++ > .../common/include/arch/arm/rte_memcpy_64.h | 322 +++++++++++++++= +++++ > .../common/include/arch/arm/rte_prefetch.h | 31 +- > .../common/include/arch/arm/rte_prefetch_32.h | 61 ++++ > .../common/include/arch/arm/rte_prefetch_64.h | 61 ++++ > mk/arch/arm64/rte.vars.mk | 58 ++++ > mk/machine/armv8a/rte.vars.mk | 57 ++++ > 13 files changed, 986 insertions(+), 328 deletions(-) > create mode 100644 config/defconfig_arm64-armv8a-linuxapp-gcc > create mode 100644 lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h > create mode 100644 lib/librte_eal/common/include/arch/arm/rte_memcpy_64.h > create mode 100644 lib/librte_eal/common/include/arch/arm/rte_prefetch_3= 2.h > create mode 100644 lib/librte_eal/common/include/arch/arm/rte_prefetch_6= 4.h > create mode 100644 mk/arch/arm64/rte.vars.mk > create mode 100644 mk/machine/armv8a/rte.vars.mk >=20 --=20 Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic