Message ID | 20180926180440.31726-9-shreyansh.jain@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1036047lji; Wed, 26 Sep 2018 11:07:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62rJ3R7G7x+R4oX2rXihuuXhkeoBdNKKWznmnAhxPR5v2K0RyBz/v2NN4U6Mc4zD5ZDZkWT X-Received: by 2002:aa7:ca17:: with SMTP id y23-v6mr11057469eds.285.1537985247524; Wed, 26 Sep 2018 11:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537985247; cv=none; d=google.com; s=arc-20160816; b=Oc1FsWYn+6uH3NbD5g4vmev7se3u9FgkxuSkNTg6vhkVplBxuTyc9voP1u2vfCYfHb rtpwfRpQzmyQC8OvYnVLnv6Q1TanncdJDayYJgqgqm6bxaqko/XTgz4I/pUnhRN1WJk4 XGsc2C0p3XtnqFPAMWv4qwudb96FRPBoa5oDzyAARJfmMZJ+kdIg/NF4RY7wHvd/72oX p3wgmY5i3d2B8thMYHZto8X3U+uWn2hJHrKFy5TkZc5wvgZYZFYfD5FlX1CfWtB62W4F 8WI5Bw8k4CeWHa3rLFbKleWFb8gbIE+wcqeibvxiAETpZWYstag+PjLB93gyDO1TC26P XP1w== 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=CgIsrBimcLaUA1S//rXATukqU/Uy7RMQBxA29D6dnf+U2aSfW4xWpMU/MpK4U5dHbT FxCKXZaONnouGyI18rcGI/ciPLM+CcxvHCIaKA+NHdxB/wpCB9hLo1aCgFH62d6CZtCZ Z0LKonhyPCkJKWMUW/me9G9xPsni3sJ5NdGrbOq9PLZAOr9E6W0Ia5I2r9SVwEF9o5VC UIXUSx/jNt5fkCkUUR2hVxoUbCqjTqEsw57ALCXeJl3ZssFZ6ycGLECPAIbtkmB19omL xp9Zj06DWIiu3Zw9i9bzEWcs9mo2CFlEPIfaN7AmJdb/+83NUU5bB9LpxoxlNP9RKXsr 01ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=WdI7eibw; 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 w21si102665edx.263.2018.09.26.11.07.27; Wed, 26 Sep 2018 11:07:27 -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=WdI7eibw; 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 48EE61B47A; Wed, 26 Sep 2018 20:06:15 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50087.outbound.protection.outlook.com [40.107.5.87]) by dpdk.org (Postfix) with ESMTP id 344921B49E for <dev@dpdk.org>; Wed, 26 Sep 2018 20:06:06 +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=WdI7eibw8g+qgBPcdq2UCGSxKc12RDA6Q4He9xlnMqtkaq8AjAaNTYm+v9y1RTkJZkZ2MmvaZgry8Pu02I5fC6eLmUquTvp3DX6nw9AOBMadVJCu69n2GJjD7dwjyp4HE158JPC1nGgSa6h06WqiVKlAZJXsFXAQSyFx9sNk8+E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Wed, 26 Sep 2018 18:06:03 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Cc: thomas@monjalon.net, Nipun Gupta <nipun.gupta@nxp.com> Date: Wed, 26 Sep 2018 23:34:33 +0530 Message-Id: <20180926180440.31726-9-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180926180440.31726-1-shreyansh.jain@nxp.com> References: <20180917103631.32304-1-shreyansh.jain@nxp.com> <20180926180440.31726-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MA1PR0101CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::24) To AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ef14832-48b8-4b0a-8fa9-08d623daba21 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4679; X-Microsoft-Exchange-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ZSNX+T6/EZU0ZR2KMMAmzWcpUeMjIs7FU5yrvGgbX2KAiy/z4evp1rSpMM18mcM0Hm+JdVHGoEoIhxNHnOUuMHlkk7yzI2vF/Bf/XgT5daXE57dQwbqXdFSFejnNd7FEDu9yQ+tKUt2HNC2Ebe3CJeb6VnJoRVB/RMw9lxEQN5kG59jpEnFHE05g23f6NgH4P4kviLe673M5ispZzYnNVWlqga0QQT85eJ/y5qz38YsuaYZvGIEOYN0B7CWbloIFk22zCIrPTeSOalfwC/iNdvvqdpE1GBBouEmP6Y4n2zAItRuJXv8sSNXdJvGFwC+8nhgOWnmZ059iF21+xrLs7CHYVtpVIqRsYvXbHvBOrd9IhUUwdPJkzAi/8b8; 4:2s3xcQBPUsQQVi+Mh5iZFX5COFR+qyzU+utXCQh/4d69Ip6lXE/jlHdGmJY6w8o+MJcJAVcTZvD6JN+gOl2RjzuJNOhcLeOp1sas7mhOLZd5/E1OokZHnuYBszksnH+WDhVzfdUOC+rUFXZT/gAW6v2r4miwvWomDspfXidPax2G9kBnO4f8tR/LqPF9zglmYRl8pPnDiSjvf92xlbK2C+rmxTiAB860AFv50SkWaWkwdnZqJH1pZPmya9EKUv1xLgkXsXpctAB+DDAgygYb/jctOn/CGhCF8xWPQyTqHN6SA5n7guiX71rTCPA4eKVw X-Microsoft-Antispam-PRVS: <AM6PR04MB4679592679F9DB938A902C1D90150@AM6PR04MB4679.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)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:AM6PR04MB4679; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4679; X-Forefront-PRVS: 08076ABC99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(346002)(366004)(39860400002)(189003)(199004)(11346002)(50226002)(446003)(47776003)(44832011)(956004)(476003)(106356001)(486006)(2616005)(6512007)(66066001)(305945005)(7736002)(6486002)(105586002)(36756003)(86362001)(478600001)(8936002)(16526019)(81166006)(50466002)(186003)(26005)(25786009)(8676002)(55236004)(48376002)(81156014)(4326008)(3846002)(6116002)(1076002)(6666003)(52116002)(34290500001)(5009440100003)(2906002)(16586007)(51416003)(316002)(97736004)(6506007)(76176011)(5660300001)(386003)(68736007)(14444005)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4679; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR04MB4679; 23:k1sGvOO64IpPO7k9C/iskSm1YumlxcdUTOcQpvnkP?= erd9K6IUOimsTHNKDoTeaE0QSEKZpcmNMnnoXQ9V+DgjZAhHoLP++qV3nvdmNw19DsOdaOQaCDy+hti/XStE/0Ew3WwuskP5pKQY5HlmMCmcwK5SjtJQNCGqUoTyxtCaAHQ7iOCKfAh+KJI8Pyb2X79HBC6k28kwcJdQpvJ83RX/pcpH14PsF9ocbe9xDI25bvxYdaGYPJyOoFM67n7kPY6B9zaBNzXU2T/7vzIxpj0NmNkSnTU66YodAFDQpaGnAdf4NiS5fN8esCL3KHrdxJS0GoyLMLdoScKzSgc76pCxd+99qaguoK8mBmgxyvk18mGEb8W0ncI1m1ulKW7kIi7RqP4b9gMe1oWVC94ea78JQquiDatAyPGh/WtzW8hS6Djis0PrhUyUeJ4TFpMsvXs+O7npmNJNIDw6Gvjbcz9givx4LelVsogy1Z5i7a/cj+XM9DgasX1vZI8fEi+qinoBBHIuefHRXzRWOYkD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ticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 18:06:03.5702 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ef14832-48b8-4b0a-8fa9-08d623daba21 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4679 Subject: [dpdk-dev] [PATCH v2 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 |
[v2,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);