Message ID | 20180917103631.32304-8-shreyansh.jain@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3603519ljw; Mon, 17 Sep 2018 03:38:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYX/aPogLfXiIS3c7DY6sLAy7s+5sQ3bNWFZU07GyMChtOBz299cZKCVke4MTvQDPd1WRQe X-Received: by 2002:a5d:4849:: with SMTP id n9-v6mr392160wrs.234.1537180739554; Mon, 17 Sep 2018 03:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537180739; cv=none; d=google.com; s=arc-20160816; b=jLmk4Dn6y8nZ5udVp6pG2WF6w9+UdUJtkj9gVrZl/aiaH/HEz3ceJuQtK1Vjh9z7IM wu329ADoO+zYWk4aawC8IIJ/+ot1yIHRVR9P3cGmo1Xs6oi7RjSUDcyhzuSsoJF46zWB JHJqpEdCbkjtTFJtHTimjuIjFrnJkY7OTeI2/UaTNDJ5/1WikRxfrhr55b9YQ/Ugvlqp FlPlj62kAgRVrRCFhxLjOs96m8ocw7EFJi6SBjVjmhFzooltN9n2GBbU2tKVCpyFhk+v b9tOiSjsGCTxj5GlgTzuG+DvgHU2NLiFeqrTCHYYEVB/Hyfju/Jp/llt5vA7cdZp9+Ym bDmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature; bh=i2XLLH25vX1LUaTX5x2caNA17GnP09DEWtiXjn6UsGY=; b=LSh6PjC5h4YwBmtiSRCAwzPtC1SmblQepj5Cx4Kc+M6Diaw3p9Vd4n0sS464aZWl5v mLMz6v8mC955Jl2TptkoaTWIlGcnm9E+A+y9RC7aomlgsJ1wxg6GH5SUwPUN14Z/j9+s 7b5j4TN7cNgFHRNxJCba2DtXgzZzwBtSxVIUZCMXjUm2U5h2hEaI39D57zPZOF09PYvb qQcEbORyDP5/gyKbAZ1RoHQ1xAVDNFt17+L7q1nYt5RNlkUg7dw+cqT0EjULTzBwh1uz bXBwuCaeCWXgWijivHlQKEhDyr/g72V8KRj5MBni3U3oIWsp31FD0tWgbXQaTD34A/+3 db3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=uGxCHQsb; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id h4-v6si14136310wrm.44.2018.09.17.03.38.59; Mon, 17 Sep 2018 03:38:59 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=uGxCHQsb; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 13F9B5B30; Mon, 17 Sep 2018 12:38:04 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40068.outbound.protection.outlook.com [40.107.4.68]) by dpdk.org (Postfix) with ESMTP id 248CB5911 for <dev@dpdk.org>; Mon, 17 Sep 2018 12:37:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i2XLLH25vX1LUaTX5x2caNA17GnP09DEWtiXjn6UsGY=; b=uGxCHQsbja7Tx3G7dzM/IQnQ3weUvNGaOX384up7BZCuZFytlzAZ0LaUj3bkyXUfu0W4TPB1xDz6rq0uM+7ypWu7KxHAX6eC6k2W307t8L6n0M9mA0Q6AD/Aer3JSa9yNQnkA0G1QCvyZj77IsF6pSjpn+WqfiEBxSbV6e+vWmQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM0PR04MB4673.eurprd04.prod.outlook.com (2603:10a6:208:75::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 17 Sep 2018 10:37:54 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Cc: Nipun Gupta <nipun.gupta@nxp.com> Date: Mon, 17 Sep 2018 16:06:27 +0530 Message-Id: <20180917103631.32304-8-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180917103631.32304-1-shreyansh.jain@nxp.com> References: <20180917103631.32304-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0092.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::32) To AM0PR04MB4673.eurprd04.prod.outlook.com (2603:10a6:208:75::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7b805077-f791-4e42-34e2-08d61c89a08c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4673; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 3:wXdfNuMorKYV4H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z9VYOOUcK2Kvi41Mjgn25l9fc0mOTGb5ezlDJa6jEnAa5hK+U7Gy1nCb69/ggmW/oqUO7ErdSwOn6ZInFQtreljt6QLyw64rO7HVku28/l6g7K/b0/c4MbKIKFpMA8Z8JD2y4ejGGBPEpJ2LsPOn/g/Q1YJNhWgLi/pnIKzF4XogCrhXsKY+pMQ+fJMWkirpx1BwYMOIH/o5ayHHoMESKBVdR7C3tWf31Aa3r/C3V0CoYsBzdM0iqj8GHf3iivrbPWluj29FZvuhw/xmRQ9D43hwAGPjGg4oIhv//ER6e/NQvLrdZQLFHDSRPlS4QmFQ7Rffok2WD6e; 4:D8A2BAs75NZaN85xTQZ71sV6gUgZ2nrdsBPzWyP9ZegTZ7HpmCbzNgnI9x7Xd3Mqtbmdzz/SoC5fD4yj8mIoVFgWZm3TuOBSNk1Rk1tMDneucbyiIuZ1aRhzlf3fGCEO4Y8w8C30XoM8ASUPSthVMzEkGLOosqrqN4yDeegvUFrFk1tNrEoUj5QfRm6mx9Kjh1t5hxonwjKPcVEU5L8NpK1zTSQIkqHzxABF+zKuK+TK7r4qy1kt2/6Bey0NugFC55EY7tYZBmCQaR4NbuawyKOpBqeG71QDfXqtdCU3zqJFjTxD+YkME3yp4ZPfNOB+ X-Microsoft-Antispam-PRVS: <AM0PR04MB467353154D6759BFC62CA72E901E0@AM0PR04MB4673.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050); SRVR:AM0PR04MB4673; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4673; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(396003)(346002)(366004)(376002)(39860400002)(199004)(189003)(16526019)(48376002)(186003)(1076002)(3846002)(5660300001)(486006)(6506007)(386003)(16586007)(316002)(36756003)(14444005)(44832011)(5009440100003)(52116002)(6116002)(2616005)(76176011)(446003)(51416003)(11346002)(956004)(476003)(6512007)(47776003)(106356001)(25786009)(50226002)(2906002)(68736007)(105586002)(81156014)(81166006)(7736002)(6666003)(305945005)(8676002)(8936002)(4326008)(86362001)(97736004)(6486002)(478600001)(50466002)(66066001)(26005)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4673; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR04MB4673; 23:+BIWIA/bfyVZYJkHPZMNWJmpxBg1wFMXlq2algaxC?= bCILCNbSa6+XzYYFacPDI6Knj7QvbufJxZd1HLAzhir0+wodFfZRj2jzmCTkxcqTbELFVziMI9hBPcCRtEDsZ12SR5l4dwVphKcyfAfraINsleXM5vvVCoNj/uUOjfcft6os9T4g5Q0y8DqcaWU0b3fCtyqG1NKJrhDmn1TPhUJ/9/O2Lpc4X8cvs4i8pBpO0M9metYcSQNl+sjPDvpuaYVNtiUCxEpdPa16W09kIcOR56p4O6juYpgcosaguNE0PczuVaxQj8WxRr72tExX18xyb6UUXaumevzhRxoPcniYwsGrsiEcxf5fqkz+IMahV5Zkjycak2IzRm7O2OuS72+K1eBHEKTrwSiLNPAQSWPPcozrAWxu87Vxhv1x/t045Jz866WRneUd0lPqlNSm8wBsYFeSLUuWbcHujbLSRDxWEs+2zvD972IYQq+oOnpOYEpOQfODc87ORJQiZawdQKGZyhrCgUCanfSvtfhmTuvQGizuVvevGzof87pXnsxOWUtu0gos6fWj96diMwa+jax0T52YaOH2Tf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soft-Exchange-Diagnostics: 1; AM0PR04MB4673; 6:EOQ1b7VY1zmLwOlYWBFc/N1k8rqcmf7VS+mnbNrgY2f0nFTb+ECt5RyhBfxctf5vlog/bUxLsdEAiQ2cvT2izKKJdAjGoDP7Q94ZnKfPciQy5kvyePxKweFqEwxrHBgTWrFvpnJr7rYpdkDdPQR2D/Qd3aRN2g9F96wMxVWPIzBuSQw4eKceVyhz2ghD2VXKg6obYSKneLVWjBkPBSMFdZ22GuIf77za4U026WhqMAorylYZwlYy7BVYKPfCL650QIh5X+YsOIEWkuqY7Tkg3xXKThHKmzE9sgBfmBmzIs7R8D+VEoynatWjrXlczLX9IeqrG8cJM0RBuLrWU7tpu9xxg5iFN3yYa42B1JFaUgwyQ9dFdZ05GVcBZApgpFBTUC3Q1lVtQyb4f+1mpmbL5vUMPNbijX/3S7ESLhYqabd93H4G3o5MTconbTqUkVW/j1Q6SCJXpJ2oD3e+hy/foA==; 5:sOKYxstaOS0Tmnuf89fao/nlGmm6GKXC7pcLazGDc4zGL2dOVxic9orZ/nOPtgat09rnwc1ixXCfhIhYCWRItvrMmahr2lNZCOnMmpYcHgxRh6ENnY624ohwHAnMeziKprBrzyMJ0G21a1TzHyJVap15Z9s2Vij4tX5JDEBEADk=; 7:lAQF7Tz948LnR+uTi96KsEeDK6q7NvsbPrdIEBSXwzq6KxPKnJAvdxiRZGn2FplZdXBEK39lJ+oG4jWst5hDZOoSsy59DqUCeWlVPM0lC7puzyF9SCbXD54Pz0IJfJIzsxGaRR+OnbKYfrMIa+ZLqPSSHOFYhIyMxzZve/6Q3dCDRYjMotECrSZ6Vpfb5g4+Y4Nn8AlhBv0+qQZgKYwi0RnwuhwqN2Rgdi4A4Hpgkvt9tyLRPcuHaqQKWGPZit6/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 10:37:54.1488 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b805077-f791-4e42-34e2-08d61c89a08c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4673 Subject: [dpdk-dev] [PATCH 07/11] bus/fslmc: disable annotation prefetch for LX2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[01/11] bus/fslmc: upgrade mc FW APIs to 10.10.0
|
expand
|
diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 89cfd2929..953fed2ad 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -554,10 +554,12 @@ dpaa2_dev_prefetch_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) } fd = qbman_result_DQ_fd(dq_storage); - next_fd = qbman_result_DQ_fd(dq_storage + 1); - /* Prefetch Annotation address for the parse results */ - rte_prefetch0((void *)(size_t)(DPAA2_GET_FD_ADDR(next_fd) - + DPAA2_FD_PTA_SIZE + 16)); + if (dpaa2_svr_family != SVR_LX2160A) { + next_fd = qbman_result_DQ_fd(dq_storage + 1); + /* Prefetch Annotation address for the parse results */ + rte_prefetch0((void *)(size_t)(DPAA2_GET_FD_ADDR( + next_fd) + DPAA2_FD_PTA_SIZE + 16)); + } if (unlikely(DPAA2_FD_GET_FORMAT(fd) == qbman_fd_sg)) bufs[num_rx] = eth_sg_fd_to_mbuf(fd);