Message ID | 20180926180440.31726-2-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-v6csp1034341lji; Wed, 26 Sep 2018 11:05:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV61BhQXg6PtQxJ4rksWGG8xuEBf6ckjUP8ef+5MSTGHmQJvhCeZw/NNOF2c448NATJj8qL+W X-Received: by 2002:adf:ad29:: with SMTP id p38-v6mr5816139wrc.25.1537985155884; Wed, 26 Sep 2018 11:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537985155; cv=none; d=google.com; s=arc-20160816; b=BjuoQe8hgcyYdXBsoJRXNC1EvlHxm71/X3JKmFmr1LqT1hvzHZNoranYqMcA3bhMXC vAaCa0o6R3xkpcJhXeDFq49tZxaPPAIRjNvcXMgpbuhi7ATgJ3M+XXZNcD500TwnYioC /W9j6kf0FbsTymBfoggSbjC7Uf+3V3DbHheNrSGCAXUJI1awjNTd0L5P/747nJNBIQbe 38SaccLw/GSAPrgQW0fLai/pstJdHsY4BvkdQT8evLY8ncrRVTZRr9MmRJYVUFJkqGmU jMozjr0lpoHbY7qNjwHk5E93M3gffzu37PsTSKHB3mRo+i9qZ87qw4kQhtJFclx0PP/P La8A== 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=22j9nQk2zdT8iu6fVPO2Hjegsqa538KymOXMV9paBwc=; b=DlonEY2d0zJjpNyBWh+J7Ir1z0uv1Iyw/y3VHqiNEN3icx0Co+D5vxJF9OUwkSQNqk FgnGbJqSqf9+09orwKvkLYwVc5X72zDXmyoa+xQn4jJ3g4Hi8zim7mUkL3Pd92M7W8At cL2UOQlNqd8Cqz3xyp8lVHwrN7Fmx3TMrkLdQrhM0qgXOvuXVSfeQ16MCiW+Ef8Eo2Yi 5e8Oph21lRk2oSYGR0ugbo0nyKJiehv2NRXVETn/6mbN7HliYxhhTxTPA9dquH59MUk2 3tnpkov60Rpybg9NgXPxmEkGo/FZzuMpG1hm7rKXCRu7KTtUKn/6bq/zWoTcrNMA8slw ngCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=VIzfQWyY; 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 h186-v6si52161wmf.145.2018.09.26.11.05.55; Wed, 26 Sep 2018 11:05:55 -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=VIzfQWyY; 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 654381B467; Wed, 26 Sep 2018 20:05:51 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50063.outbound.protection.outlook.com [40.107.5.63]) by dpdk.org (Postfix) with ESMTP id 37A041B462; Wed, 26 Sep 2018 20:05:49 +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=22j9nQk2zdT8iu6fVPO2Hjegsqa538KymOXMV9paBwc=; b=VIzfQWyY+73tmbb++APL32VCN0HaRqV7nQakA4jVhFv0C8vpb0gFNFUbMpOQrpW/X5yagJL77qno5/MOw2m2s9ZK85PfGMYU/+aggR35zJiRBxKXmGg7Qxi7HvIlyiG51LqoDu/3trhOiYylDp6TR7QOhK2nCvQ7rPetGnjAMyk= 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:05:46 +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>, stable@dpdk.org Date: Wed, 26 Sep 2018 23:34:26 +0530 Message-Id: <20180926180440.31726-2-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: f1b5685e-02c1-4512-bb4a-08d623daafe7 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-Diagnostics: 1; AM6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z5pDuPTEcBSoyOazXA/itokcQuX0cF0RWL/DDfdY+94PSk2HpYlx2h5upTcvuRXMXH45W84L1RZvg99VqZcZwQL1MP6plZagYuMXXa7i5x6nJ+N9LVeSLrS8VkpKlyfj7J087ncMZ6uAvD4URYvgGIp+Qqup5yyQTxURtxYvm0/NTSefEktw0yPFg+bsmuw/gKzL/P3drc/QvU9SGDj7YFSlc7IaoQAExiBarOMWIrENGrDQgt/JJyCQvEZod+8pBrWke0sUVVc5/IpZ80gLsWjwC/O4my0dV0oVY/RsIHSCBYUZKb+x4El5wlAQ+S7307nw3ALldHLD/WkmRK93Hjg4y4T67lxMNafUqviOJGbZjuR; 4:2/RdNDI3RNBu8HjyKw3HToCaztda47BVEnvhMPiBXsmNGPVvjm+7PPbd/9CGxDnMnSiD8cfLIAaCxeswiAp//J6uyQCkxxaP9VtYmNJpUOmptHy9JhDzJ4lZq3XkiAcTzHTezIHLrHdYzznti1E7dxzyiPUBWa+8ym26bJpVv8b/i/l6TWBGFcFaWPGJXuvuYQbRY7VP18uhhsuDiiobpArc8XqeOlcQUjUDqLypLubAItkW0PdDOMuH1B8YayKW5b+oTIb49LxYWpLj50BObtLc8qrQRf4b9vt//CBmI3gCqIYtAEdUfvDPb6KXWWNS X-Microsoft-Antispam-PRVS: <AM6PR04MB4679777B21AF01A007889AAD90150@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:d+DCsZ1dnWPn5cn1NA+QthstAoGia2rFm2p9WKqHd?= AWuoD/V/BCti4fZPfZCtS5WvKoFXr7vPA3mQnzVKVp4KUGvlhwPeZ6HMogWq6eWZPkc8mHcC6HYl/m2A/paisbsAZ3pkuSkk9OnPpIjUkzCBCkTSUbb+tTZBHG0kPnBgl3n2MTqM69a2peNG0thnA3AS6BHAdiQanxw4tr3OSXzw/8iVEAEZ/69QfFfWsjl6WQQvsnOOn5Hhs8yzuG/Gxble9WixWdzXMwvNUd/e7VVoU99q6VtTk0Ejt2uPvKv6aw4aEZpaDz8eZSNag6gO/ELnlwiWNTRJSrqPIyvGjRwh80UpnnVfoCsfuRP+qEKhGPaiR45RJjer1j0cKj46am3iO0RN+jbKQpk2bDN7Dl9WbsZO81u8DtFjEoEg47lnKr5y7/LN6QrBRlUWg7Il8zQ2anQveRpTAlUqh7742Nv51+yQCmV/0mWlYH32V4OJdAezeQbQRwWMK90n8YCG4hUCceZveptq4K7EvfPuRrOJ/ooZdiwbphc9cCpX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o8BWdimLyP+MMW++vYzt31OUaruw0WokmwiRiy3QwfWma0H+da2MevQ5El4pXw1+lLE8hQGINq6umadeXiTHH31Zh+9Q= X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 6:I1N9NhFNENw0tMvqIjIxkj0M9Ca3HVZM7DVfefSHPLgJSfrzmg6H21vqStRyyvEtQ+3aS+kVY4WWvdId0Rk0iipVme7eApaqMBYliPFMchgGGXbFt/OtmZ4q/32UOS78gU40a3OAUSMluPXsVnoQ7tVNHnA4BAhBfAQicl01i+rW3fSr6CmfP/8/gp0HopA+4/mZlurQEl9gsmkhWKW/UmoJ8WHz1xr3sJ+YgXeZ4EWiDtCcILZetJ+XYtGUBOHTUBqEWFLOpG8NiBHFMzaHI1Gwgy9B8V+uhpNEgwB6luatify1NZJHu77vaGzRpBQU9Sq1nwkuindzkmhfKJK62QjFDuxX85RaFl4VBJNC55UcprBTSpwl9nRU5Ci6i29i7GQnqUifZQd17wWRoa0dH3ZIU8Zfs5HEy7vheEeUBaTTCcdUUnL4rzLkDxXzXrdGfvXzDvp46BXcytHKR1inhw==; 5:X4tLxpQwbqEzu0MQeVNDF8yIirvxWDKKlsnV5LPT7J6qwrjewL+OQsGUYzxJ56da6UoeYYn2S/tnsAtnAdhOIXA3P5vrFwxjCmqW9hx8klwxMZBB7E4arEVsEvBsCYXVy3+L5+aorwnnHO1SM6CPzSTWhih04er3LnN+hmVt/5o=; 7:qui2sIHlqalOM67IRNnoCcIIgHOx8rUl+PC0ghPGXG+oEnE1OY45PS5cipOlPs/hd3y8kIZa5VJ7RNWrPLauCBr1WYoMXrgQL4WJgwTVfpuR++Rl+HKhnsrAVA3Vp+CE8+7y7Q+M3lS55oPILsV8i/AsDTe8YHBcMG3bxeOMpZxPKmX6AMnzG0brGZSWyd14MuhH2JGlZRP/oInwQY7uCun7i6guog3EH01AkE1AwKWve+McNzXsHtPB+eUKadJM SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 18:05:46.1483 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f1b5685e-02c1-4512-bb4a-08d623daafe7 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 01/15] 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 <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_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 8d3d54bfe..5bbbdf74e 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -568,7 +568,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 |