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 C98788DA7 for ; Wed, 28 Oct 2015 11:56:14 +0100 (CET) Received: from jvn (dynamic-109-81-211-164.ipv4.broadband.iol.cz [109.81.211.164]) by wes1-so2.wedos.net (Postfix) with ESMTPSA id 3nm6Jt1XNGzBjZ; Wed, 28 Oct 2015 11:56:14 +0100 (CET) Date: Wed, 28 Oct 2015 11:56:06 +0100 From: Jan Viktorin To: David Marchand Message-ID: <20151028115606.74fb2fb8@jvn> In-Reply-To: References: <1445877458-31052-1-git-send-email-viktorin@rehivetech.com> <1445973229-22058-1-git-send-email-viktorin@rehivetech.com> <1445973229-22058-2-git-send-email-viktorin@rehivetech.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=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , Vlastimil Kosar Subject: Re: [dpdk-dev] [PATCH v3 01/17] mk: Introduce ARMv7 architecture 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: Wed, 28 Oct 2015 10:56:14 -0000 On Wed, 28 Oct 2015 11:09:21 +0100 David Marchand wrote: > Hello Jan, > > On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin > wrote: > > > > > diff --git a/config/defconfig_arm-armv7-a-linuxapp-gcc > > b/config/defconfig_arm-armv7-a-linuxapp-gcc > > new file mode 100644 > > index 0000000..5a778cf > > --- /dev/null > > +++ b/config/defconfig_arm-armv7-a-linuxapp-gcc > > + > > +# avoids using i686/x86_64 SIMD instructions, nothing for ARM > > +CONFIG_RTE_BITMAP_OPTIMIZATIONS=0 > > > > (yet another build flag which has to disappear, and bitmap > header should be moved from librte_sched to eal with arch-specific > implementations when applicable) > > Well, I am a bit confused by this comment. > For me, gcc provides ctzll builtins. > https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html > > And with your patchset applied, it builds fine with > RTE_BITMAP_OPTIMIZATIONS enabled using gcc 4.7.3 for arm on ubuntu 14.04. > Is there a dependency on gcc version ? It seems, there is no need for this. I will remove it. DPDK compiles well. > > > +# PCI is usually not used on ARM > > +CONFIG_RTE_EAL_IGB_UIO=n > > > > Not sure "usually not used" is a good reason to disable something. > Is there a real issue on arm with igb_uio code (compilation, pci accesses) ? > Well, it requires to set some options in Linux Kernel (at least PCI support) which are usually disabled by the in-kernel *arm*_defconfigs. Moreover, it seems I cannot enable it for some ARM architectures (I've tried Altera SoC FPGA). That's because you hardly find an ARMv7 system with a PCI bus. I suppose that if somebody _really_ needs this, she would enable it by hand. At the moment, it breaks my common builds... The driver is mostly useless on ARMv7 and just takes space in the filesystem. > > Thanks. > Regards Jan -- Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic