From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6F9858DA2 for ; Tue, 3 Nov 2015 15:19:15 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 03 Nov 2015 06:17:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,239,1444719600"; d="scan'208";a="677424481" Received: from dhunt5x-mobl3.ger.corp.intel.com (HELO [10.237.208.61]) ([10.237.208.61]) by orsmga003.jf.intel.com with ESMTP; 03 Nov 2015 06:17:39 -0800 To: Jerin Jacob , dev@dpdk.org References: <1446556153-18845-1-git-send-email-jerin.jacob@caviumnetworks.com> From: "Hunt, David" Message-ID: <5638C202.1050205@intel.com> Date: Tue, 3 Nov 2015 14:17:38 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446556153-18845-1-git-send-email-jerin.jacob@caviumnetworks.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 00/12] DPDK armv8-a 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: Tue, 03 Nov 2015 14:19:15 -0000 On 03/11/2015 13:09, Jerin Jacob wrote: > This is the v1 patchset for ARMv8 that now sits on top of the v6 patch > of the ARMv7 code by RehiveTech. It adds code into the same arm include > directory, reducing code duplication. > > Tested on an ThunderX arm 64-bit arm server board, with PCI slots. Passes traffic > between two physical ports on an Intel 82599 dual-port 10Gig NIC. Should > work with many other NICS as long as long as there is no unaligned access to > device memory but not yet untested. I have your patchset building and running on an X-Gene based 8-core MP30AR0 system, passing traffic between two ports on and 82599 also. > Notes on arm64 kernel configuration: > > Tested on using Ubuntu 14.04 LTS with a 3.18 kernel and igb_uio. > ARM64 kernels does not have functional resource mapping of PCI memory > (PCI_MMAP), so the pci driver needs to be patched to enable this. The > symptom of this is when /sys/bus/pci/devices/0000:0X:00.Y directory is > missing the resource0...N files for mmapping the device memory. > > Following patch fixes the PCI resource mapping issue om armv8. > Its not yet up streamed.We are in the process of up streaming it. > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/358906.html Good to see that there's a patch on the way for this. That fix looks almost exactly the same as the hack I did to my kernel :) I had a couple of small issues when patching/building: 1. Three of the files had an extra blank line at the end. Maybe worth running checkpatch on the patches. 'git am' was complaining. 2. I had problems compiling two drivers because they were attempting to include tmmintrin.h: ...dpdk/drivers/net/fm10k/fm10k_rxtx_vec.c:41:23: fatal error: tmmintrin.h: No such file or directory ...dpdk/drivers/net/i40e/i40e_rxtx_vec.c:43:23: fatal error: tmmintrin.h: No such file or directory To avoid this, I added the following two lines into defconfig_arm64-armv8a-linuxapp-gcc CONFIG_RTE_LIBRTE_FM10K_PMD=n CONFIG_RTE_LIBRTE_I40E_PMD=n and then it built fine, and I can run testpmd with my 82599's and run autotests. Thanks for that. Dave.