Message ID | 20181012100426.29349-9-shreyansh.jain@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp539051lji; Fri, 12 Oct 2018 03:07:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV612Coqz/Mf6MKKiatCq3MLYB344kcWuvK0CFsKpuoc6dSAq6UAex7yxAeoBhPKebuDNQiKB X-Received: by 2002:a1c:2846:: with SMTP id o67-v6mr4503021wmo.60.1539338822080; Fri, 12 Oct 2018 03:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539338822; cv=none; d=google.com; s=arc-20160816; b=dobMYQJLrOneuqOwQvtDARdC+lDAqDrT+fZ+MF+oeGhUd9ZW9U37OLYEuRvMszin3C AtuLPIqb+OR0zg6Egh0Gp67T+CzeXLJXdzbkPvTKuBP1AvmHGGyTq6CoG2N5fmKw4Qn8 6f9NHOKeUZfe0NxtJvFCSUqIG97rnCRbnP/KgGajYraX9OCrAf/4A6f8CPC51gDiksJC Uv/mkU4crEyeL78le7f8mhbNmu9RmHxjk80kYaafCBDjw7Sc255feepGYaeg29OOQLzT BC4oeGvCIp8RJsfkXHpS7MmIXwtrWjgOzCnMWiG2ainKTWgjHngKpcq5/dEoXHbIJhU3 b8cA== 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=lSlO6MBEWsHdPA0rw0rrk62VnA9doBzHz/4LKFWRiMI=; b=aL1ScSs/NneQI9gNrXIDrSdoGsMKuQxb1l8LsFkRRUlL5PHxElGRl6pVlfmREkXH9E fkxcC+x09PjFQ6QUzWhxryqHoaL7qHw5VLPOLSoz3ehjAAcVUCpUH4E0eh5Zyn8CX7PU FgSBjWy72ATjVnIExvTYxzyDc4XIKtTvhTjOh8VExqsRO8gc1hHoAGL1ArIhdkG/g79f EMYTASdQgzNCrJPf6Zp0excu7A/ejlxcqr7xIV2jl6uFkBGfxxkEZCxBkKbvA8n0YlAL skTjsS1AIzoxi/zpqIpXbEs46J6iU1qvqRVRzavL0sc+bCh/Hs7C5DzNR35yXMxJGIty r60w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=Tb8ntd0d; 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 q21-v6si808137wmq.104.2018.10.12.03.07.01; Fri, 12 Oct 2018 03:07:02 -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=Tb8ntd0d; 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 35FE81B4BB; Fri, 12 Oct 2018 12:06:03 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0081.outbound.protection.outlook.com [104.47.0.81]) by dpdk.org (Postfix) with ESMTP id 867161B484 for <dev@dpdk.org>; Fri, 12 Oct 2018 12:05:53 +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=lSlO6MBEWsHdPA0rw0rrk62VnA9doBzHz/4LKFWRiMI=; b=Tb8ntd0dMrvjyfT7avXc9/Np1heIZKVNhCz+TYARP76qOFxSclNCld/Z7eLsPmzIfKWnzDQk6tffNAK08JkrVw0iTyWMaIvrSZYR+w1XyTDAAE3I+G+lKdti2ElNzKPGGXVsIDRRCtJmyi4ab45tycJusO0uszOqrlnsrNdwoPA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM0PR04MB4676.eurprd04.prod.outlook.com (2603:10a6:208:75::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Fri, 12 Oct 2018 10:05:51 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: thomas@monjalon.net Cc: ferruh.yigit@intel.com, dev@dpdk.org, Nipun Gupta <nipun.gupta@nxp.com> Date: Fri, 12 Oct 2018 15:34:19 +0530 Message-Id: <20181012100426.29349-9-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181012100426.29349-1-shreyansh.jain@nxp.com> References: <20180926180440.31726-1-shreyansh.jain@nxp.com> <20181012100426.29349-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BMXPR01CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::14) To AM0PR04MB4676.eurprd04.prod.outlook.com (2603:10a6:208:75::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a3f79cb7-63bf-4260-3497-08d6302a4b07 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4676; X-Microsoft-Exchange-Diagnostics: 1; AM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7cswbZZA7SKn+m+cIjCAMrfxluRA/qSUTvJh44EPTY8c6Hrxyif6pEh5v34sCir8A6w9GMuD+Ux/FUp6WL8iGIeBK/rhJJE5yOo2w5LN15aKZAC5X5KC7q3t8KRhXMYmZyyQgA+f5NTY6fn0uJp5lcHcq2Xna4/knZyvcFpGv3pDjOuSnyaTw42qjXpq0KbCp/7JKQbW8Rk9HFTnLfAV7/1deY6jrRSF/Vgef99pD6FuHC9BlK8s1mbg1AlqNXeHprKxQLl0kjQIw9LlCrpr5oxWUclTDYPb311ywwlryyqQUWAms0+oOOPoQkoxEumo8bOf2lIC8PMJkqXy1mDJBYRnbQEdR+SsuXfIYgbefW7/WbFxBa4O; 4:LoUcstICBNg1pL7WJBSnxxSy2LILJiFl4ssFll+QP1y7nh3LkwAnx/9rbadacq4azo4WaHSz5g9jbCetnrPIR1tuvMHBqS7Jx//b968AmkMR1IRyqORA6pyhZQXDDPOJfvkp9byBT6hxdFPX5qZT/LDmhJ/WX/9BUNKYN9++b6KKwyaeDYGFZm0ePCfCjbeWqNzvwjE17QTK/YuvuJ+OAi6i9jXI+6QMpoTEennUrlmHw2kRNiJbBs0BIR/x4l1AXegYp6ZSo5Bz5oDuZUaP7D+xzwj/2dk2gvAz8EOE57AaE/nM2Ez+EZ2C75MvDfu0 X-Microsoft-Antispam-PRVS: <AM0PR04MB467684802756FD712E5627A790E20@AM0PR04MB4676.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)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM0PR04MB4676; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4676; X-Forefront-PRVS: 0823A5777B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(366004)(136003)(39860400002)(199004)(189003)(2906002)(52116002)(16526019)(14444005)(53936002)(8676002)(478600001)(186003)(386003)(446003)(105586002)(7736002)(106356001)(6512007)(6116002)(86362001)(3846002)(81156014)(50226002)(68736007)(1076002)(47776003)(5660300001)(6506007)(8936002)(78486009)(36756003)(316002)(26005)(66066001)(6666004)(25786009)(55236004)(81166006)(11346002)(48376002)(76176011)(44832011)(2361001)(956004)(51416003)(2616005)(97736004)(1006002)(50466002)(486006)(476003)(305945005)(16586007)(6916009)(4326008)(6486002)(2351001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4676; 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; AM0PR04MB4676; 23:NV/4T1G5D3FcszzyDAd0WGBVnri2MeeKe+Ov1GCVF?= 1xl+GbFyn+ga0RXtla0HtdNjpv22HN52lhkbXGA+26dnRB15PUn3UtUrdRJvxoqhHlrmwUCWpqI+9KWZM0+34NxbCsXKK3puERXYpjS3fsijZqG8mndBNhewFtGPtrhCxpiW8dug6CX0u6YYlXWdUWQTMNayhggZLNJtG3pZHOWXXF/hqWp/V1tk876er9Ff+K6K0rNpfqLTlUKMu6TZzrYCEQORiAS5u6saGcrhKgfYzUlvNwu5ED6QzCT2nOzzmU3DeE1bgLz/GEZVgPH6PqANmx5OIY5JKS5/sGUjAp6GNJzFH9O8xOOVHqGKIUiNkj8K8cYWMRaTiZxWmYPsf+ameUdGF5sOEBjp36JWwl+1ANZWKIDvO9Ky2tN6UHspYvr0DsISsLcFenF2Swc9Ih2ThYuYYkjq5WIfonQxtjZHo0jYBwRzvToIQPnFOkhZRqxsL+Wr7CqlCzFJjLytMrX81A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GF4iZ2FNMuWULNSE6v7XTzIicu/QInY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2018 10:05:51.5200 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3f79cb7-63bf-4260-3497-08d6302a4b07 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4676 Subject: [dpdk-dev] [PATCH v3 08/15] 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 |
[v3,01/15] net/dpaa2: fix IOVA conversion for congestion memory
|
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);