From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by dpdk.org (Postfix) with ESMTP id A82A5B62 for ; Wed, 28 Oct 2015 11:09:22 +0100 (CET) Received: by obcqt19 with SMTP id qt19so1828139obc.3 for ; Wed, 28 Oct 2015 03:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cuiJQ3SLnVmZ79LPLq3E7gURt7hW/ZuyoxZhcZRaJKQ=; b=kVQocTrCqiPob3pE650iDpoGLL2oYAptVbaesLazVWKwYDVDBIIdyd1Uxu7OGMx00j tcL5Yer56U5ZWIFva9QcccWIqJ65LLEfCUBDO8x8XWOxMLVgYkiK9xpIo6TzSgs5cLeH Utvtso7serA3pB2bTIYw0l6xVz8B6kTyEw2R0iaF2g/mmSCfV82Cg1EdR0FQ+NI9FEHK zIhMFWar4tTzqiRi8Qt7tmNazusiFTidXvTH9bo3xK+xmD9ijtBMX8bf5cNA+G821qjI 5SVoz87Y8iRcoiUnNwe/VM2wWfudlGdofkOd6q0HflQCqj7WmRSRVN8u9qz0FlJ/OsRo J3vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cuiJQ3SLnVmZ79LPLq3E7gURt7hW/ZuyoxZhcZRaJKQ=; b=Mw3PFSop5u5W7tnu78Ne6l/WXjkAqS/OV0za/VKvZeb93DP8nJK+UbZdSi6QUx2Zzd bUXYru5l6lQtcsu18YWRx5+A9C21oZkWZn7vNNP8BtVAQ1uPIlVQCkdFWsrMaNcFI748 u59xlpU3YJiFNvNj07sPGwTIKUCJEGgImi0wqgTEjOSZjPx4a9D4T1P3IygDen4gaxwn U80IpajxRLsGMyr/4dvdfmkWY8hsO2zz9ugj2qRXXqLg3/L+0cRTIhNZ3viistaRF7Oz wMeZx2S+/gBfUaH1j/Ik5ApUmsJzlQF5Nn/MrbuGqQNRZa7wKYYpsZkJ+VJdT7mzHPDc ehTQ== X-Gm-Message-State: ALoCoQkyMgAlMS/Z/u9Oub5yD7t1ISo6wGR2aaItnMRgFJc1ADd/PUn7kOmYu/LilByjoFDqQ91l MIME-Version: 1.0 X-Received: by 10.182.227.195 with SMTP id sc3mr31650804obc.48.1446026961835; Wed, 28 Oct 2015 03:09:21 -0700 (PDT) Received: by 10.76.131.166 with HTTP; Wed, 28 Oct 2015 03:09:21 -0700 (PDT) In-Reply-To: <1445973229-22058-2-git-send-email-viktorin@rehivetech.com> 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> Date: Wed, 28 Oct 2015 11:09:21 +0100 Message-ID: From: David Marchand To: Jan Viktorin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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:09:22 -0000 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 ? +# 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) ? Thanks. -- David Marchand