From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0096.outbound.protection.outlook.com [65.55.169.96]) by dpdk.org (Postfix) with ESMTP id CEFFBC70C for ; Fri, 29 Jan 2016 17:53:50 +0100 (CET) Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (122.167.54.52) by BLUPR0701MB1715.namprd07.prod.outlook.com (10.163.85.141) with Microsoft SMTP Server (TLS) id 15.1.396.15; Fri, 29 Jan 2016 16:53:46 +0000 Date: Fri, 29 Jan 2016 22:23:28 +0530 From: Jerin Jacob To: Bruce Richardson Message-ID: <20160129165327.GA11725@localhost.localdomain> References: <1449415470-25545-1-git-send-email-jerin.jacob@caviumnetworks.com> <20160129032140.GA25541@localhost.localdomain> <20160129150337.GA18356@bricha3-MOBL3> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160129150337.GA18356@bricha3-MOBL3> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [122.167.54.52] X-ClientProxiedBy: MA1PR01CA0019.INDPRD01.PROD.OUTLOOK.COM (25.164.117.26) To BLUPR0701MB1715.namprd07.prod.outlook.com (25.163.85.141) X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1715; 2:854R+i6/LVEdShLpdtT3xswH663Gwbzn/Gkcyd3JIA37sQ4N8hmxYKpXx6Pjitk4TlkvqgE39KIx8DqqjR7XnHvqFDgG6g3f9G4H/o5VVgrVpaDFGdLtwV1t3BN3Ie4VOP2bWim71aarCpuYcwMiyw==; 3:/RoYtriJIyfn090WeFMoOH1uB4ru3wVB/kNzjgXHtaMLxsjtjGGCbRlnWePe7UT88AxiZGIlZ1yU1hsZ4XadTZSPoUXaJ9QPY4zWOWG+tZ3OY3tV88+D3cVinwATwoq7; 25:73JhbXjrna286h93sX6BHj7Q3ovFeMjPV5vuqk4ddJ3jjFOMj3ZviAa60mZw7evWCNwVN7z79gFJoMbW8Bfpn/VJFjI4Ll7vOBppgYJ3LRsSXEzU8mbmUesAVnEKFMyURVSqc19XzfkhCjWvkEGPPRiEB15eU79jtKhGGG/FgSWB7h3peALZLq2K9GkpAS/lQIS3Lhz488EJ2kpLiDfoP0Kv8UUBwVvRIHAtTcthRxyyNKh234t1nTBjmIVDC7nm X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1715; X-MS-Office365-Filtering-Correlation-Id: 0f64232f-41d6-4b27-e10e-08d328ccc27e X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1715; 20:juKhx7H4TJDqc+ycazw5W7vf07zr7fFSw5ZBbIDRfq9PkKN/MQihouvNkFPwoGCghBc5cxDZbwJJXqzKhcUQjl7WW+uUucPTepSGDHUCc31OsbKPks9hpyddseAKnpkbe0oI0g2sTqjV++mIY/XISUknWHANtmlGUbuu5A8dSKLQZTGPoIOJHOiX6dhM1/6srcVts9O5owSOmcVxyRPX9KZ+LTG8vqUk8BLlYNeLSLxzUVe3EBZJkg5OxQVIDQRRgzPoj+sT4R2Z8U15s/ar/Xrsu4f48s3EIaQsZk3l6Te5nbsME8rycCe+yQJrrPdAhp+cgdvMsfwjagfKjBDOMgTVMfbL51VVLLHW7j2DZd/DSF8ZOW7tfnzhBIfheIpGFHAfaYZ6LONOhICrLqNtsziElXaJPpfCXg6syO7EzYxceW5aB/ke29y2qIAE3lG1ybCIyak5c6fMHP7ifGjRYhk8CkAirbUxeruQnuJ3Ot0we0mD9Z5NT7pIJkTJkquNNmTBWD6LTpsF+tiMwoTFFdjsMqnPFjOGk8xIksCWflaO5BTiPUpaXC/S0cBKjbWL1WRYW/cP00EkeIZIzlFxmtQ5NNaGirn/0rqqe+I+n3E= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR0701MB1715; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1715; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1715; 4:yY4w3oqXbQO4LwnvI2SzRgJinu/dyFpgzyAsX8vNufbOea/QLWvApTMts6Mod60IZrlweUL1JkhieuegRtHwgKW/rNCFnmbq3tJX26CGqs2fAXy3ZSotLn8UL8JqIL2vsiiNlmgGvAMeBVCR/mUqjOuirR3Apf7IFTjfjE8AG026nlwuFI86ghUtZXX7kP5lpiwx6zWlG9LCXOjVeBHcq2Cs0QuubdsMsGRUK0BqzJ5hpJBoqPH1qG2rmrMF8JgDnt9f0TFrio4tZ6c/klmcZ+E4LrwsDp4J8Y/aXaVTJizhVnZdhB5SP+elegmm3zvfXVT+2XcChmIFv0am2K3kopi+HQxevtyo7Uzru+rELrUyouAh3ZyxWocBzmwv70MS X-Forefront-PRVS: 083691450C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(24454002)(50986999)(5008740100001)(42186005)(76176999)(54356999)(4001350100001)(77096005)(86362001)(5004730100002)(33656002)(122386002)(40100003)(66066001)(47776003)(50466002)(110136002)(61506002)(4326007)(46406003)(5001960100002)(92566002)(2906002)(83506001)(586003)(3470700001)(6116002)(3846002)(2950100001)(23726003)(189998001)(97756001)(1096002)(7099028)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1715; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1715; 23:3v2t0wcouPbKr2Imvit6XBCzs3y2s6kqCVss5/4?= =?us-ascii?Q?oYBUgrEHncPf5P6VwVATytruxaiVR2wzffaP+8U9J+Qq76Svjgh2YMqZmDqy?= =?us-ascii?Q?FGMo2K06CmmdqvzgU0iSf3TrMzYA0MDED8SAKDXKFjD7mlQesBR1N7K9dKdy?= =?us-ascii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MB1715; 5:6ffVGbXSzriDQ1+Pb7PCaoP55I4N8y9kngka8b2ZKi7bMMBMF1buvVdSI97JD+X68OtOmtgU2WdCj+c+Wgt7P6uhw4sIYCmoqL6XTBDojd0ej22qjGLAimakoElI+TcEtLXe9c/haOeumHLNlw2aLA==; 24:btP3JJLlndVIB0NSFeLipx7CK3XH1IoQ9O2+MBk1WMXMKl3I9RSoySqhAHGSYSQiMgyq0ozycdSKlnN3tZY74bvNNFOVVRGTvMMcy1I+UOc= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2016 16:53:46.2467 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1715 Cc: dev@dpdk.org, viktorin@rehivetech.com Subject: Re: [dpdk-dev] [RFC PATCH 0/2] Fix examples/distributor build issue for non x86 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, 29 Jan 2016 16:53:51 -0000 On Fri, Jan 29, 2016 at 08:03:37AM -0700, Bruce Richardson wrote: > On Fri, Jan 29, 2016 at 08:51:41AM +0530, Jerin Jacob wrote: > > On Sun, Dec 06, 2015 at 08:54:28PM +0530, Jerin Jacob wrote: > > > Introduced rte_prefetch_non_temporal() to remove IA specific _mm_prefect(addr, 0) > > > gcc intrinsic and build examples/distributor for non 86 platform > > > > ping for review. > > > > Is there much performance difference between making this a prefetch NT vs making > it an rte_prefetch0 on the platforms you have tested? Not much difference. But, I think its worth keep the abstraction as IA and arm64 architecture supports it. Jerin > > /Bruce > > > > > > > Not sure the rte_prefetch_non_temporal mapping correct for > > > all the platforms. Architecture maintainers please check the mapping for > > > rte_prefetch_non_temporal() for specific architecures > > > > > > Jerin Jacob (2): > > > eal: introduce rte_prefetch_non_temporal > > > examples/distributor: remove IA specific __mm_prefetch > > > > > > examples/distributor/main.c | 9 +++++---- > > > lib/librte_eal/common/include/arch/arm/rte_prefetch_32.h | 5 +++++ > > > lib/librte_eal/common/include/arch/arm/rte_prefetch_64.h | 5 +++++ > > > lib/librte_eal/common/include/arch/ppc_64/rte_prefetch.h | 5 +++++ > > > lib/librte_eal/common/include/arch/tile/rte_prefetch.h | 5 +++++ > > > lib/librte_eal/common/include/arch/x86/rte_prefetch.h | 5 +++++ > > > lib/librte_eal/common/include/generic/rte_prefetch.h | 12 ++++++++++++ > > > 7 files changed, 42 insertions(+), 4 deletions(-) > > > > > > -- > > > 2.1.0 > > >