From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0078.outbound.protection.outlook.com [104.47.32.78]) by dpdk.org (Postfix) with ESMTP id 6E95EA49F for ; Tue, 23 Jan 2018 16:03:21 +0100 (CET) Received: from BN6PR03CA0092.namprd03.prod.outlook.com (10.164.122.158) by CY1PR03MB1423.namprd03.prod.outlook.com (10.163.17.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 15:03:20 +0000 Received: from BY2FFO11FD016.protection.gbl (2a01:111:f400:7c0c::138) by BN6PR03CA0092.outlook.office365.com (2603:10b6:405:6f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Tue, 23 Jan 2018 15:03:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD016.mail.protection.outlook.com (10.1.14.148) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Tue, 23 Jan 2018 15:03:18 +0000 Received: from b27504-OptiPlex-790.ap.freescale.net (b27504-OptiPlex-790.ap.freescale.net [10.232.132.60]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0NEHuN6022706; Tue, 23 Jan 2018 07:18:01 -0700 From: Nipun Gupta To: CC: , , Nipun Gupta Date: Tue, 23 Jan 2018 19:47:52 +0530 Message-ID: <1516717073-6020-2-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516717073-6020-1-git-send-email-nipun.gupta@nxp.com> References: <1516717073-6020-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131611933991936696; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(346002)(396003)(39380400002)(376002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(4326008)(8676002)(86362001)(498600001)(6862004)(356003)(106466001)(81156014)(81166006)(105606002)(47776003)(104016004)(8936002)(50226002)(2351001)(69596002)(54906003)(2906002)(16586007)(68736007)(50466002)(48376002)(51416003)(6666003)(2950100002)(97736004)(85426001)(36756003)(336011)(77096007)(59450400001)(76176011)(305945005)(5660300001)(53936002)(316002)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB1423; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD016; 1:xuIIIOxj7+437YODuJeTkBQGPCdBRAxaGWfAOS3kSWGWnzEvXWsRXMVVtTPRWVpGLGWU7K4JYM95byogH+EZ1g7aMk1f91UvrvGpNIUofkwolMajfPGC0I0iKcCVJjVv MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 17e7af5b-b990-4b12-d4ee-08d562727029 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:CY1PR03MB1423; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1423; 3:WiZ4/frn0oJeeuT1Z13Ko/P/SnbVS6tz/liY7sac2EjdrMeY+yiP/Qw6kaUVNNvQ3/cYNN2hse/OlrxmSvGbwppEZUR67hXqgGqyCUyD6CQoo4z0IBuOVKACUVdRTRWCELVtXdNCLAHwnnkEIjr/FWHGRYyIb1I/RH7THzWr/5GJeVPNflfae3FlpInwBoEd+gFhU5WjVtgasVvFzrV4POkgYLxZYGgEpVmmwdJY+zGeoC9vfkUE16y7D+v7iNb0aHNCIEgZ9V62yCPdsa6CtFz0NPOqPnYPhsxSv8K57ndy6ERaB5GzXeoGztc/UDlymr6wbWmiUKi9RhfMpeGKtA==; 25:/bY+gVyoHKBIg8jcKXHZfHAxu8rcICWDvtpU9I4C8jwZI82bfcwxFp7iHc9EVybA1giEXSUaNDKFlislkb2DB6T5QqKOrFNH+m5O++Lqr+DYUQ9Gk9FPH9ci4U3W2OuxYL6yL1dtrfzT/xY6TXHN/qLYJdrLX2yPgJYdxvoa8AuIwTa0Tr/81K6SkFyBn1tZxUI3TAizcWTj07o1CKVfkPMhgrIrhRXjWLbfyj6P14YeYekyfaxez/bo4JWBAr3h89f3vWZpBBpKunoE4iP0ANriZUTKkZsDJDquQa4BIOEEl6BwRjSpphySJf5Q7pF0PSk3h2LKWqGCqPfkCY/ZLg==; 31:EvFzRKCiePJUIi4mzhGq3C+YYpe860WWcbpARLHJBbMGRmG1xNvwVTip1wN8kzfsUCJDNjbHSnHZrGBj6Y2pqik3tvrsec9yAaPTj1x539ZT85uq2pPv3vzP/xl4j+qOp4/7YeCGJGGyI0nVPtgJSIymaOCyHAiMVi+91kEt/PQSclXpogtoiEGdKYcEPF4SY35mdhJf4FJvrcQIqNm//9QspQu50RB/n6cB+QChHIA= X-MS-TrafficTypeDiagnostic: CY1PR03MB1423: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123565025)(20161123556025)(20161123563025)(201708071742011); SRVR:CY1PR03MB1423; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY1PR03MB1423; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1423; 4:omGXHBK6wCiptEwZVtyF6OlcIbJFu3hn4AWzWMygas76IHemn6fiiIACBldVwfgB2BUMfDFNQLwTlUC/JypVuQk5Q+nvoV9k9OiCIJreagyAiMQG/BAeoOIaCO1hLCDki2MWAXzw4ZRfvFE9UZ2hmLE1idpHNvVsAFIGvSFFvn90mSpEvJNqdnDhuI316ayRcgZQrZor5Ivxa3FIIlo25PQWBBp0trr5iCfuvzNNfNyyEdNgqpuqmQzb89tTB05qInlMjk5befJVAv3dFuZBcoZup5rdQPPY4tW6IKAxD1O8Pz4kbpT2WQFC4XEwHM22 X-Forefront-PRVS: 05610E64EE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB1423; 23:ZVzSA3HMLEnuQU60Vx5ldgFG56jgizScFrIfPlzdq?= =?us-ascii?Q?k+6zcG1a1pdFFXpVEj8bO6CUVtsDCzw9XXiBOih4FS64pNS/SDPjwktkVhsx?= =?us-ascii?Q?QXj22qsthyEXn3ryaciNLffHnGr64Dw0df25UUgqHMM41HYL6hzf+Y4BnJen?= =?us-ascii?Q?TuHfnGfdNO+MvQkSe5slS9ARPvSTBWJjhGlO3xA5bRq97cCI191Ge7h15Z0e?= =?us-ascii?Q?LuMBRjE8mnB3r+MKbiphk8sKmbnEi8kUDX6d4FSFPZVJGtUD9LCOzmqqotgO?= =?us-ascii?Q?qEV7e0vk2twGlNU1rkVCHCB6nsxbv+9B16bkvz1sYcYHKnvTJcWYpYOJR43r?= =?us-ascii?Q?RjGXi+fwik/fc724XdUrmjVPmFZkzIH63v2KuEp25uIHgBz3J3tj0i+Gvdh+?= =?us-ascii?Q?MIE8ZL/Sb1+dQTqPLaZKUH+1hG7soEe7XzwxfVm/2jxilIXK8KpxUaxP184w?= =?us-ascii?Q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6HlAybXCXHg6RhGBU1YtHyremy/V3dM8/ebNWb+3EMzt7YNsEOj1Vb7T0sVw32mXv/D2OktYF29nQy17nRrQH/b4x2kVvO9OqXqLvTULjB2MxNKAu8pLXv5vmwrTMKxXaQr96psSkK6LyefLvzSu4sXlk=; 5:9uaLi2Xds2Ii8CpD82Gm9ZMo3FfwQ4DoyzGDedP/NNstsV46mYSwTg4nr9/pU5nwOM/h1SZ+pyWLpJFQFUbVFqo8QsAp48F3P09HwQESZMjCLlrOqCS+2ybuGyRY/jZvRC8t6d/15aa9KfBDoNZHFrHaKWlGZeTAf0fL3gpajq0=; 24:YDNEKBQMVJsOTXNMSMh0RDOfJWa4n6DVzFxNXCIX2pMZr3Mq0P5b4wYuvoRW5rBwlnIWtDDggz9qFU+8jRUkAevWg4fh4Zsjv+yBo4HPgzo=; 7:gXDiAT/jAeR0RrivGimP7vmnDiogLHG00rEA3AHFE/dUb3bF1NWbdde4/p0GDdAfgpFj/B6FpM1iMJoj61bM/my11VTz4kzmK/fb34WNa85fIkzqKalhKI/ToYoXbZeb9ykNIQ36nItkNhVYlP3CXu5ll41MP1qDLqnf3Z659MsOe1fjTiKKhPhIJzLSgP7sOBxiicWmxAVBn6Fgs9Dm93z5rLkmWzhSmPJpi55hWHCJcNylYV5ZPxo1Q3SlOYYZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2018 15:03:18.9284 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 17e7af5b-b990-4b12-d4ee-08d562727029 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1423 Subject: [dpdk-dev] [PATCH 2/3] event/dpaa2: prefetch the next DQRR entry X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 15:03:21 -0000 Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 84ecd1b..c3e6fbf 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -255,9 +255,9 @@ static void dpaa2_eventdev_process_atomic(struct qbman_swp *swp, } return num_pkts; } + qbman_swp_prefetch_dqrr_next(swp); fd = qbman_result_DQ_fd(dq); - rxq = (struct dpaa2_queue *)qbman_result_DQ_fqd_ctx(dq); if (rxq) { rxq->cb(swp, fd, dq, rxq, &ev[num_pkts]); -- 1.9.1