From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0072.outbound.protection.outlook.com [157.56.111.72]) by dpdk.org (Postfix) with ESMTP id 7E2215949 for ; Tue, 3 Nov 2015 17:39:11 +0100 (CET) Received: from SN1PR0701MB1983.namprd07.prod.outlook.com (10.163.131.22) by SN1PR0701MB1789.namprd07.prod.outlook.com (10.162.100.143) with Microsoft SMTP Server (TLS) id 15.1.312.18; Tue, 3 Nov 2015 16:39:10 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by SN1PR0701MB1983.namprd07.prod.outlook.com (10.163.131.22) with Microsoft SMTP Server (TLS) id 15.1.312.18; Tue, 3 Nov 2015 16:39:07 +0000 Date: Tue, 3 Nov 2015 22:08:41 +0530 From: Jerin Jacob To: "Hunt, David" Message-ID: <20151103163838.GA18587@localhost.localdomain> References: <1446556153-18845-1-git-send-email-jerin.jacob@caviumnetworks.com> <5638C202.1050205@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <5638C202.1050205@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0031.INDPRD01.PROD.OUTLOOK.COM (25.164.137.38) To SN1PR0701MB1983.namprd07.prod.outlook.com (25.163.131.22) X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1983; 2:W8GUUqd9GKbhVTkHFtD2DH3LGPVJgXqqh6529tGq0bDTk7snqJDyLQyo9nUDnIFyPSfvFCuJQZRs1BZpUWsZo9h1HEuid7Ff4/FfyeZ7iOm3E79sNA9NB/L1GTCoET6IcEA2yO6X2Hk/0tFzOjxvazwopdHRMpnHgkSqrZaznWI=; 3:dkwrs9txHmDUOve3MsrFwBrcrZNj5aAgSY/lNbeT06RnMX2TyDgeNBICY3YzNb0fiW3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Jn8QlFFs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:SN1PR0701MB1983; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0701MB1983; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1983; 4:o+2u4SVEvc0hwKYa0H2pIBTlzMv6IvYEzjrZilV8rEmLJGqNfEaqYE+n3SHM4/gaYbbk5+X+sOeHXeVZHpPNSir+073/G/xCtPm24VKTETh1hgH6H5Wa2s19HiISPpfxCaXC7+SZPsVZW641ujZZyhJzua4JMTI9T52HSgtBdYvS4Qn3DQLDeak6xNHdmYEp25gbufcQ8JnAD//9JJyZ32RpwVFrjFzZhZlxwDqHTCNJsXkZzfmN6ZGLWOA5J3NUm6mupKZTAtoURYabppaDnEQMLLdJyPqcTg4VIt8R5w4RqxbkFNxYwBTtwjysZI++Ptpu6tf3XTQqrLHEToRt1ErrVo0Yk17fhZsg9S87iGTbSW070kwu+34pPfG40mS5 X-Forefront-PRVS: 0749DC2CE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(24454002)(199003)(189002)(479174004)(106356001)(5008740100001)(189998001)(46406003)(92566002)(105586002)(33656002)(23726002)(86362001)(83506001)(42186005)(50466002)(19580395003)(5004730100002)(5007970100001)(87976001)(5009440100003)(61506002)(47776003)(2950100001)(66066001)(81156007)(97736004)(54356999)(50986999)(97756001)(4001350100001)(77096005)(40100003)(122386002)(5001920100001)(76176999)(5001960100002)(101416001)(110136002)(15975445007)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1983; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; S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elwokUIa9S5bc7VZfj8Dv5Hbe32S/C?= =?us-ascii?Q?Bi2GlozDvJGXx2dnYJtBi2bFJe+1g2Fv19BorGKSZZBGmQ2H9ewYdpGY+B4o?= =?us-ascii?Q?56iF0/y8w9THjhmqBH9+shJ7ygoUtJMb+a90wI//o3B6AgBWrsi46NzTyCkQ?= =?us-ascii?Q?nsFdjxju0SajBOCIZ+oTp6vEGVlqVaZV1eN1xvb2SAxjFiGwMxk8IpxExakZ?= =?us-ascii?Q?iXcLmev8nhBCfe2cbWd4/nu1KVT/IDQBa1DR3GXyyYur4BafKDAJvn0U8H+v?= =?us-ascii?Q?WWcDypBGs1gcxEQLwrxFuIyZD3AZWBf0aXuPzmrXgCQIa55Ygv7n/siuizho?= =?us-ascii?Q?o2uo72zMRoF5mc+g=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1983; 5:68bz4xt9fJ5/8hah51WYBiG4e3rlFDb0E/0aurOTGc5K2ebg4c6GWljOSB02xav8Ag5Rx4ahRVzMdN8eUV35GHPosRDo1fJtZMAAWCNpYVHCyKt1Q5qGW/rWkQ9FEr3MyWjPkrpZuh6R8cQej2xvcQ==; 24:I+FIfVGUoybCHSO4WWku+zK01Nrv5/+7QA4eucdcGg226RTSH/lqr+KTCcwsQ8uH2vQVJc0k2AABslvTdeeNm2HRfCHV+85q9YOE37wnaxY=; 20:jdXmU7d/Jfhv2+r2efFqY9cBHjlrzeaQ8egJmlaXUYMonTyVrjrGvyB1+T3aQXS/A/uEWDRsYRGKt1KdSJHNug== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2015 16:39:07.9375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1983 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1789; 2:0y+alUKAhkCwdEOTgngU9W2bcuSYrgjG1u3uE9ZrfkSAG4Zq45S3cedIt0Es0Qkd8+ROeFhZkXTvCHx4CcIBKV4MGtxhfqZU0Uy8IN/rkjhWGh8U9kuaZw+CLmBxRLLPre6IxNo4Ro8Uup7MAhsVjCwzbLPSfLCnqtLk9ZbK5s4=; 23:TavyvOxETN4eiTJMWJWd4m9kJAhbRq0kcWXUuAPVACc6VRvWjNbyQ2Si9Shh8kNVfopD39ndX5qMeaYlLO2CISKpaiUVwKmdKagc9V2E9MC61+0imgRzGbUjLgeLLdWPE3ksqFS3Qp4+EwNJ16S0ZeyYnn7XlRIlcGWh6Zy5vNqm2eR4Re6/wNDDE5SGp8tV X-OriginatorOrg: caviumnetworks.com Cc: dev@dpdk.org 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 16:39:12 -0000 On Tue, Nov 03, 2015 at 02:17:38PM +0000, Hunt, David wrote: > 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. > Thanks. > >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. I will fix it in next version. > > 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 the patch was based on 82fb702077f67585d64a07de0080e5cb6a924a72 which don't have these changes. I will add these in next version. > and then it built fine, and I can run testpmd with my 82599's and run > autotests. I ran autotest, "Mbuf autotest" stress failure is due strong vs weak ordering issue. I will send the next version based on new patch being discussed on ml. > > Thanks for that. > Dave.