From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0075.outbound.protection.outlook.com [104.47.1.75]) by dpdk.org (Postfix) with ESMTP id 96C8D5A44; Mon, 17 Sep 2018 12:37:57 +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=AsUF3kKS/V2vItF3tZ0r0dl+HT5RsBCCbCROwmpu0mw=; b=CznKhVNi1oJ9pkRYjy/CPYGmrVlhJT/tQokEGUyp5X1mvWphDrWq+d8iVmG1PzoLOmW5pRV3Gm+o0v9zUUFDNd7udpQ7FnolrmcbRL0JmsLaAAc4DePLo1eajqbqiAz6K0bDo3XGv9F0h0Pkbc+JgBOktbIuQdLLnJzhBzbAM7k= 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:55 +0000 From: Shreyansh Jain To: dev@dpdk.org, ferruh.yigit@intel.com Cc: Nipun Gupta , stable@dpdk.org Date: Mon, 17 Sep 2018 16:06:28 +0530 Message-Id: <20180917103631.32304-9-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: 19b6550d-36e9-4336-b2ee-08d61c89a18d 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:audxDR14DOhuq6a1Bok70paVrDIrDTz4KPkHv3aVwrYQmzdeaEnlnEgFUBO5Fp681FQtxI/kSxaG5VbAjFNgAshJkTgEod7YIEJpw0RrRUnCuavZUugpF435zuLRp/eq/b5USlxhWVAwdoQe1lBU8bWVhApFiwa6VNmBI8rRJnL8/VbcVVStj566LzM02QdVnz/fvx46oUSaVUPfdVep1vu7/RlRIon1dO6gWzQVdlTGG5EmkrLuNipPT2HFjpeT; 25:GlAOF+AzrQel5IIq2lbrvmmPwylEp7xSbwl1lxNmT54FcJw1H27qi5PxGr/boTiHYoke0A9lh8JQF85nvgr6aS5bfK5uvLPockyG4tlwRoG3ibgpE7vpgTsJ+23eYESGEC3dsFrskaOnAu6mET5izQRuxDZ9ridzLqP0hEZ/4bnNgQ/LQ62Pt5qQ97/f0wsXxcoF2o6xToz0FD6jOyjSC7H0Jc9m96zf0I/YgU0HQZXTMxngzdpEcedqNUqBbjWXUZiziClboQWVPTQVhkHBkPLFSuiMkX0khmRHiU720w4dxbjl6i9fQGRuxIJGtq6YrpA+XeH+PtEbaFTeAAkzeQ==; 31:UJyh2Czx/F65X0xOJXi6LCJH19Qz8a56NSWsPClUc1g+HmFQZ7OtkpwTVizVM00jRiPBv04y6ZkBYZNKObVjan8cPPBFL1S5Dvq9JtR6LeRtEOuK2w3NWzSVJ4wAbGfFDRAyxueYBW+Od5gXt/DR6b8rkVgrq/Y2anAWUsw6KARi6C5l1sKwBrCuJlzMpC1dpAH1Ee/uti5K+fZdN5HLf3XwBJzItaSf8I47Sli6r4o= X-MS-TrafficTypeDiagnostic: AM0PR04MB4673: X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 20:JjO3ByqRsUEyEggn02p4jVmquDX183XK+zJAJn2rjO7jcH55zQ3nc9739iBatkx2BfKGSK4F3HvzJ0vrGZPQWQjsoKD8g2OPPV/KwC5b77oJZsR2j8LB4KquQjG1V7wddTWQDJQUJ9fRzb+/ZD9wyaorm/UJ8GdylImLeN5U3DRYMJt5E7xk75N2BOM02a0G2TeylHERJ5sixNzxY1hEsQ8PrHaBeKdjG/oCwzHUvc7Kv+M11yZ8biPPj+gpvGYQ1arrA2sKey5+hTiFxu0G/zVS/iclADhRnwFP+uYzS65DPAQU9eRDYsc/kBrn27NWcZlMVne3D1X0I1PnV/akV+UDj7Az62xzNuZgtmSONA6Rjz3AAqoSWC8AEWFYI2f3VoFEQjuzuhyvH2o0Bqu6m8tU7/85xOSv5hpKSAI4kEizrYuuzQR/ayNH3wrV6NKxtYgGw95VcUDkDcLT8traEQKtw8tUy86+Tw6REPVkLrqpfhc2sK4D5gGW+gaBO/x8; 4:BsZRO3oLTykXVjrLQgqgl+GQpPQeJt6ED2BRxG7YQXOMjLCUCzmtzF3rpHppL9hjkI8kuGr99C+BaKrVZFAQg5f67z52Man1UMvlD3Kxd5Y8rndodHdFhbLUqbLRC/2B6sFWp3rsc3jNfIrl/TGyySfBASCdQaOjv2nQQVVGkDj12esv9soo+ZOukWbNOXWlx9VZi2K/K4nubDMJCIElwj52nnktGDd1EGxfHURAuWBqAAm6cf+5qNICYuX11ccp2HpFArFuxkWfGTlIyTwl/FG3PKRis53LtapYIqZS5DaqhgieE2I32qTOcffa3cwS X-Microsoft-Antispam-PRVS: 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)(575784001)(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:ttneBdFx6VzLo+jfyhnGJT4Ui+lxRD6zDTwi2e9CD?= =?us-ascii?Q?kRoxWs7Ub/dGG23mXMQb9dSwTp0q9bTjebYxMIhhGIQh1u7kpiVUQyMPWZ/b?= =?us-ascii?Q?eX6WTYMdX78LFjBdfiOjYnOf6qvpkWDu2O5cmwKWHZw5ZMVrJIueEiE0dy6r?= =?us-ascii?Q?H6/9sp2UCdWyh5wRu8HqNUSocnqsFhL1I5JRxIK7HOBPfp+O7Q0wgfQ+Vlo2?= =?us-ascii?Q?MU1BswbUZ1O0rV+mCYOBK5jAhsh669Pc+RrCAQAZMffKEUQhlXzxd8EvGJWS?= =?us-ascii?Q?CCu37pPLADPYRciRj8jSsCWcQ2w652fVE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OP9W4JAEcpvQsmuCcJ3iyEr5APHmOM6+3dFcRgGoEOzDmVaKmagHgZJnezQ8KGOBRjuwuaJ1k5JWVHmVUj2n+s1RnRdcwLfEno/JNFQ2tBrvpqXtQOWFO3TcoJgnP0Qlrvus7aHGJWAwPxaK/E4ZyILBB7M=; 7:BcJzG9h5bY2PglgnjHLZWNbPO8B2xNE5wnNRWlkkjKCHycCnbSbx8fihW8kTKU26y0NAzqKdLvt8Mf66FkIf9pzH5Eu/5z3LLt6RMs4c102Aod39s0uhN3pk9Xsuyis8jFiaS5EQVRSb9px9Uyf5sUr5M/pVARjtpCc45JPDhOhaVRZ0YUnmcyxQEnUxuFdTRoUAm7r4pphaXdeRVMeDyu5Yxj7Lo6FwUpW1QyuJVLjbkZoSmAP2gT3ZlFOgvYcA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 10:37:55.7113 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19b6550d-36e9-4336-b2ee-08d61c89a18d 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 08/11] net/dpaa2: fix IOVA conversion for congestion memory 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: Mon, 17 Sep 2018 10:37:58 -0000 From: Nipun Gupta Fixes: 5ae1edff6895 ("dpaa2: prepare for 32-bit build") Cc: stable@dpdk.org Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/dpaa2_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 7ae74c65d..02cea0cd1 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -572,7 +572,8 @@ dpaa2_dev_tx_queue_setup(struct rte_eth_dev *dev, */ cong_notif_cfg.threshold_exit = CONG_EXIT_TX_THRESHOLD; cong_notif_cfg.message_ctx = 0; - cong_notif_cfg.message_iova = (size_t)dpaa2_q->cscn; + cong_notif_cfg.message_iova = + (size_t)DPAA2_VADDR_TO_IOVA(dpaa2_q->cscn); cong_notif_cfg.dest_cfg.dest_type = DPNI_DEST_NONE; cong_notif_cfg.notification_mode = DPNI_CONG_OPT_WRITE_MEM_ON_ENTER | -- 2.17.1