From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0072.outbound.protection.outlook.com [207.46.100.72]) by dpdk.org (Postfix) with ESMTP id 49C6FCEDB for ; Fri, 17 Jun 2016 16:07:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Ybb8js3P4njTv5c4G55B4aueMocqJEt36ctP1lnMVhI=; b=RWTCFSydiZjEu1OuBptJW12mapipjx3eFbO+qNFrR6zMG5mzbv0zwV60xi/h+kUa8gxx9FY+ECtIXXHJN2FQq2Ok99ZasO6o1O6W6rKC/Hyq4vuDcmHU8KiaiqVkpr6T/eIlB3uCcJpmP/GbMUky8uU7y5XBC73+Dxs8QjA/7JU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.com (111.93.218.67) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (TLS) id 15.1.517.8; Fri, 17 Jun 2016 14:07:13 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob Date: Fri, 17 Jun 2016 19:36:44 +0530 Message-ID: <1466172404-14120-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0017.INDPRD01.PROD.OUTLOOK.COM (10.163.198.152) To BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) X-MS-Office365-Filtering-Correlation-Id: 364980ee-cd66-43b0-90ff-08d396b8b0db X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 2:a9FiZIm17lHEapoksve//cgtffCh+p3GRR+EQZfJ2bua9U45WVpi+EhUH0OPmuj45lE+2fIWK2xvQ9aS2Vw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pk4VRvBoIXTyN0mvUnoruFULl2pMXhtpl4j/DEsml51kgKJ3PfARu5EbxsaTb3kcflNTcfSH5I+7z6cmF1+EqRx25d4Isn75gvQFGytFwZmMLEUr4VCLI7tY8loc6e01YiEFFIBHtid9TBZn2Km1RJ+37z48MJWk/7uTxHzA0jxNU716EpMD51/uJ92YM8Y0lUmjyTv7R1BSqMH3MIDoC/xvlRvm7iIVo+mct/ZlMGl0iF3s8Ldt2SL7A+ZADAUafyk2sQVjYWYpy2f3UDcC3h1ufvo12vZPANcsJ6F159TUsTQBJtJmVIALP0= 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:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 4:Ngs4bbB4jDOhTleo0vNpL0h7BrVo5gGv2XpCzcCd1LIKyT/fhWJwg4T2hi5LtGvoI4FeMLLVvoyxAwumYUEN4qBhNkIXaVe57NZFSiECZSU5tpA/wnuGMrTJ2NnPDOQLCdNnuZ2zAPQtR1vcQPsUCt4GeXJrwYd2o1E0PipMyNu7uHZLvTAkrGMC6ssCywH5WuI91D1idjvt54Uxlf1Ep2cizk495I//0VXa2zLKC3IYVDvFGUGnpTUTf3sivyD5r6h8Nnh8cbT2rgnJ8E3ieLYn/gHDOqUkannO8alrKx2QIaGahk0AlDHNSSMM25q8sA6aXwceyvv3uR+XZdHi3h18PflNRzkBB8KBkTJuQXTTbCqrTrEHc7xbGs2GccD9 X-Forefront-PRVS: 09760A0505 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(199003)(189002)(5009440100003)(48376002)(4001430100002)(19580395003)(68736007)(2351001)(47776003)(229853001)(69596002)(97736004)(107886002)(19580405001)(50986999)(586003)(110136002)(36756003)(3846002)(66066001)(92566002)(105586002)(189998001)(33646002)(42186005)(81156014)(5004730100002)(53416004)(101416001)(5008740100001)(50466002)(5003940100001)(4326007)(50226002)(2906002)(6116002)(77096005)(81166006)(8676002)(106356001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:localhost.localdomain.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 23:JQEqVK/uLl/16pkzM44EKT+IXbrOWqZqHhprU+s?= =?us-ascii?Q?tr6nhuS1IHxYS1y3rQVuIpW8TVAN6eZpF8rMp7zHuqhSc7uklDlErR/oqZEh?= =?us-ascii?Q?GlA9WHWGURC6Y4A75wUv1hCDJchEJb5wl3nM0p/0dG+UoPVXUnTDBm1ravro?= =?us-ascii?Q?ww1QzSstQIxzlR1JJXYH0n9iPDYmWcKPcg1QSS+GPZJxpcKXbh8MUbxLsHEQ?= =?us-ascii?Q?P6gr+ktkEPbGN0Il0Fh55bMyxCJlmNVuuizKAK3AAjNnEsoQ3YSv9gGrRG4+?= =?us-ascii?Q?cV5JKhRfGBQ0TCh39rSktKb/Auj7a6wk4INe+KhSbQTqvTXdGbi7LLG5gwyj?= =?us-ascii?Q?EqmMkboBVKLliThzFgxJt2Xw0Js2wITUrCLvH/R/3xwv853C1Ovu0n0pJPq+?= =?us-ascii?Q?7+bISN1p6/eo0shQjyzngHsVAHBfJqDsc9tJ1kgHgmu5dJMJdnq9YcyhuzCA?= =?us-ascii?Q?R9fCEGx07dFvDDjPc7FnIHrWb0zxMuOU8jtyG1S+d3V4NsfumvTwwAtihwWM?= =?us-ascii?Q?LIoqb6htL7XXiwZ9qzCf1hoFbTvgekk9sDiAlxyoW1ESVzCZek7zI0KhgWw2?= =?us-ascii?Q?zAcPWATmLT4c2ucwJ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L4PQnZTgYewdhHmIvZ/aRIn7tx6lR8+Zqtx+UXHMZLMFtAn4jGhXQyV3svnVlwAq+FxmawPcEGHglOwKk988Df8lp5ZGSj/KkNrE6Vyv4/XjHRFfB6yDlNzpjGtSsf/7hgKH0DBBA==; 24:gPcbLq0sJ+tnkMB/UlGqf9ys1JVCIXuMl3ZqPiZI8opexyJrUNbZUCPIUILEvmo3LtYvCBY1b0Ljfw+TdnUTJB2sx9TTx4jFQrJQ1RqMjAM=; 7:CiFBbFAJru6o7Ke4cb2qt4pWB9jdcl2GGTh8OM0pMMcplBr197l9B1dBbq6SeWVsiMdMSrqlreu308COgmO8psc+X85K0XJVErfP2VKJLK0+enJRD38Jtw1RNwYmmd9uXMT9xhDbK2ox9wZwnPBlszrv0ukGk9LbeGFzpEcHBtQIHMQ+0LBV9dOVUqeXHxN02AuXe8DnRbfcUhEmmA6EQw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2016 14:07:13.6574 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Subject: [dpdk-dev] [PATCH] ixgbe: use rte_mbuf_prefetch_part2 for cacheline1 access 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, 17 Jun 2016 14:07:22 -0000 made second cache line access behavior same as IA Signed-off-by: Jerin Jacob --- drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c index 9c1d124..64a329e 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c +++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c @@ -280,10 +280,10 @@ _recv_raw_pkts_vec(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_pkts, vst1q_u64((uint64_t *)&rx_pkts[pos + 2], mbp2); if (split_packet) { - rte_prefetch_non_temporal(&rx_pkts[pos]->cacheline1); - rte_prefetch_non_temporal(&rx_pkts[pos + 1]->cacheline1); - rte_prefetch_non_temporal(&rx_pkts[pos + 2]->cacheline1); - rte_prefetch_non_temporal(&rx_pkts[pos + 3]->cacheline1); + rte_mbuf_prefetch_part2(rx_pkts[pos]); + rte_mbuf_prefetch_part2(rx_pkts[pos + 1]); + rte_mbuf_prefetch_part2(rx_pkts[pos + 2]); + rte_mbuf_prefetch_part2(rx_pkts[pos + 3]); } /* D.1 pkt 3,4 convert format from desc to pktmbuf */ -- 2.5.5