From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0062.outbound.protection.outlook.com [104.47.40.62]) by dpdk.org (Postfix) with ESMTP id 15BC41C01 for ; Tue, 17 Jul 2018 16:35:26 +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:X-MS-Exchange-SenderADCheck; bh=sOQ6R34g8Fi7lK14PPN9s9c15X47R9M454vKRYCpi9U=; b=hxte1eK474O3qoMCL8C4a34BS9Mn09tMP3OX9dggpWozGkDd8eYw0ZQBkakl5LO9PCzpPqW0zzAR1YMZNVFxJWYxg3B1/zsMtnn94F0IFFsOwxGrD0fFMLxDjNwpOokNx8uirUHkl9G2BIlo6itV3ahTsISUTA7aXBj1/sB51h0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by CY4PR07MB3464.namprd07.prod.outlook.com (2603:10b6:910:75::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.20; Tue, 17 Jul 2018 14:34:03 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Tue, 17 Jul 2018 20:03:45 +0530 Message-Id: <20180717143345.5491-1-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BN6PR2001CA0038.namprd20.prod.outlook.com (2603:10b6:405:16::24) To CY4PR07MB3464.namprd07.prod.outlook.com (2603:10b6:910:75::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14a8d193-1a1a-46de-a084-08d5ebf258ea X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(2017052603328)(7153060)(7193020); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 3:91SbIh6rDZK6FsmIukRvjioKlVBA5T9fEB7NxIkVwgme24id+rxFda4dDKnATcEMd9GLREewqQgIRAqAZdCcT7BwY8bemAtr9n/isFjxAR9VrvQuErXPJZA6j99Vy6YpGK62d27wQYKaUY7fJjr81lEO/11PfKqy1WR/dpemaznpsS2aV1t9039ldq+QkPo1YrOgwOJfwi+WKRGhEvZiLfvv3sSsq5oVxQXptKEG3dJ2s21rEkRaWGQZ8QWkyQYG; 25:F+5MDyB1SiGWbPn7O9Pph9W6dZ/ZY1mSPbemZet9ujznZSgRQGe9gMk2KWNsxpqX5ajx+9izwIWVbarG+d3Jn2AKS5fOkZ7rm7jSbgrS415ra/mz+G4tEqAmi9aMn7uMb6Rfy/0N8TghWLWylyCt0h2f8mkWdUMu76lNFi8Kac1+EC5Wk9UwTssD74TehSX6COMK2s7pjhGudEDS+uyPgg8ixEP35erTQpIAN6xNm+iLpzcbAHBXB6VNXiGv+5AgQAyGLsPE+qhNyllyYK+IXJekx7HOjhU7tpLGikD+hM29ALQM4HmGn10YktifIi/h+IHTZSJFZHLs+/DlOS1qlg==; 31:gQRVl5JbEKF0IJOIxYGbRTebpv55zMcsV1diw1K2jUo+la+MzK7KpOir2IlvgdJEr6VUB0DaYxYg8ZjXY6tQk5GIOwHfZwmNwMLJwxhWk1LSfCCvb7obyivFJVk974ZwtDEWYMUVnGWbjIuSg4fxGiyBkZc6X3w7bA+QFFVyJ9fhvj+IlwJmM+N74Hb3ZsBHGOtLwXjkA8toSJaK6X3AR5xskovbGNQdPU7XTfpydjg= X-MS-TrafficTypeDiagnostic: CY4PR07MB3464: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 20:hjj5ykOyckb84n2o/N9nB0W8Tcgms6G13SqvzuwJ15123orUfBcZi+hjmeBu44TNyMNiCGh6PbY8ftnDn0TYpSZHHnh4M9dKOsCFxZQP2oBNSuhqZjZyYe6IG++wXlPdSNieGID2J/WBlZeayw7vwADRqZKUzrR+JkrF2bslEpgbYIfRT5+Hn23upg3d806nqk2fUsAzwQOMV+beOmPi+7Wss0k5Um7qM/1mzsCsCfrhesL2Ph8Cki5U8aFIhC5fxcR99t49BDHRuusVCkjfCRoimpIMButCBr9FpXwqPr3Y0M/9QH31hIBSZ02h1/cmXliCnwgX497cNNG4yJRICVCrKqUs/YsR5uQ7T3THQuSNkuvEqW4iyXseCbxNwZSQMJKRtgHFupdOXr4nSFzRNQd2IcMnRw9LvIeJfFWNvupD7mksbSirBS4p0fM0Ka+6wRDKVcAhcoL3jebaYVQK0aBWtro1tYvU7Wq0vWVlqLJOg/PqAeirGpVBVwJVwDNAbqsdMEhqNhWPwXEdIjAz8mVEq1MJexDHVPnuKEpfYIUHcq6AinmLq/u9BXCVa4JqNkyjnBpwAUD5EIcNYiJhuaBeF7cBxdN2PQlJcovvpZM=; 4:gGG3rvCQSoOhrMCcmetCKhLgrSCa3QVl+qnEn/5tBNopMLr54fCBDMRJJnncS2OhCXHPbWUjo3kXDeux+PNUUFVC5uJJ4suhGZDZ73di9/GTlBn05VW7e7C9yFMVzsfRqMCRBuQu14iJoGzVkDpY9LHGkbG+jsiUMXMgblsnrhPycOCutsRPnS/tVG0OuWKEfgqm0fZnufdR/KlJ20S3+zt9d96pXl4K2A/l7qa6uMiYh03BrzCqfAlqW2k92nW/r22zc0q2EgIqEThcteKkfA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:; SRVR:CY4PR07MB3464; X-Forefront-PRVS: 073631BD3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(136003)(39860400002)(376002)(346002)(199004)(189003)(1857600001)(14444005)(68736007)(8676002)(6636002)(69596002)(26005)(2616005)(2906002)(81166006)(81156014)(7736002)(486006)(476003)(956004)(8936002)(48376002)(50226002)(305945005)(53416004)(6506007)(42882007)(52116002)(51416003)(386003)(66066001)(16526019)(53936002)(6666003)(107886003)(50466002)(5660300001)(72206003)(47776003)(16586007)(106356001)(6512007)(4326008)(5009440100003)(1076002)(6486002)(36756003)(85306007)(316002)(105586002)(97736004)(25786009)(478600001)(3846002)(6116002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3464; H:ltp-pvn.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3464; 23:8R8arDrOuHooqosRekJLlczfJBmr7GsFXycqf2xUg?= =?us-ascii?Q?Ucaxvglef4RUzL0i9+04xMSwK3BcqVdBogB8VEwVg7TWAWt8RFN79I4Q05WK?= =?us-ascii?Q?EtQZHfK0GuqhcEDi/1gYUVkAvQA3TWL/5/iI1ES+GBkhUx1ppaLL1AWKPpp9?= =?us-ascii?Q?G+oiMvk3+3RtD+ao/0hWWlYPbdToWEwY8Sd2xQF9qfOXUp7VI0J8IpB8/yNu?= =?us-ascii?Q?tLZj0I3nHjIf9r8DqPytV9N/1p2f7QoIwb833NWL9XXA5TR8HRlf7nElOx2C?= =?us-ascii?Q?ndw5gVAoYP0XYZfz7gCsDIHodQZHGwBo1zAiKLEqtTnNqii1dJOBg3S+UiwZ?=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OaTKKrTXl5Aim+XgN5DSAFW2QDtgs0Uc6URnRyqpR+134R5IrypPlMjDU1S5rtDRBvwmAAzfOBQQvE2DcjWvHKWl3ohm4nFiAE1JiEM6tCPvWlZGKOECBuH/eHBMeHDLUDRE4=; 24:ovEpNOBPL5x43qx0LXvzxP7ty74vritr9a62+oXrv2T5A9RKLCiczC71v9ps10QDEIQvQwdvRJ3ItBxukTE5bfDLhiEwOzuGxg/PvpC7rc4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 7:X+Ag5O30oF5vQ4R/qFfXXGYpjcil6uegMEyYefkiE0kcRLYU61WTL+1AtHI8IWyHJ4Vgk4awtG9GnTFktm5/d4qC/OvVvR9zQXObMlWDsbDmruoEDMYH6A4u5hVtIcbOQYDoG4PEjfOSGGYYRniQgWlWgK1xda8bE/zxiUY8twQNUT9zYuVI0vNPDi0ZL3nP1erSCMuC1of6f2gbK/Zi2e8HVetxW0gQ4li/0f9ECz0Cr/gX9N60IgFW3tERer+n X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2018 14:34:03.1985 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 14a8d193-1a1a-46de-a084-08d5ebf258ea X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3464 Subject: [dpdk-dev] [PATCH] event/octeontx: prefetch mbuf instead of wqe 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, 17 Jul 2018 14:35:26 -0000 Prefetch mbuf pointer instead of wqe when SSO receives pkt from PKI. Signed-off-by: Pavan Nikhilesh --- drivers/event/octeontx/ssovf_worker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/event/octeontx/ssovf_worker.h b/drivers/event/octeontx/ssovf_worker.h index d55018a9c..7c7306b51 100644 --- a/drivers/event/octeontx/ssovf_worker.h +++ b/drivers/event/octeontx/ssovf_worker.h @@ -28,11 +28,11 @@ ssovf_octeontx_wqe_to_pkt(uint64_t work, uint16_t port_info) { struct rte_mbuf *mbuf; octtx_wqe_t *wqe = (octtx_wqe_t *)(uintptr_t)work; - rte_prefetch_non_temporal(wqe); /* Get mbuf from wqe */ mbuf = (struct rte_mbuf *)((uintptr_t)wqe - OCTTX_PACKET_WQE_SKIP); + rte_prefetch_non_temporal(mbuf); mbuf->packet_type = ptype_table[wqe->s.w2.lcty][wqe->s.w2.lety][wqe->s.w2.lfty]; mbuf->data_off = RTE_PTR_DIFF(wqe->s.w3.addr, mbuf->buf_addr); -- 2.18.0