From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0063.outbound.protection.outlook.com [104.47.2.63]) by dpdk.org (Postfix) with ESMTP id AB0B5AAD7 for ; Wed, 9 May 2018 11:10:28 +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; bh=LQGuWnun2qL8+phqZFAMrTXrp9TLPyUyw6+aLniQVy0=; b=UXCN71HhBShB1zt/T83V4pF4hjBAJBGcO3T5fy0V8Z4LEQ0LS1kOmRPaKZZfKQFX7ijCbnrs/sm/+NH3A3oTS2MW+kzQF9luQqAJc7OXrrU4OhEWgROefMSidyKjqo5+YDpUveOnjqvl5B3TPXJAhppmAgvkM48OChL6N9ehuIk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by HE1PR0402MB2779.eurprd04.prod.outlook.com (2603:10a6:3:d4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Wed, 9 May 2018 09:10:25 +0000 From: Shreyansh Jain To: pablo.de.lara.guarch@intel.com Cc: akhil.goyal@nxp.com, dev@dpdk.org, Hemant Agrawal Date: Wed, 9 May 2018 14:56:42 +0530 Message-Id: <20180509092642.9092-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: SG2PR0302CA0005.apcprd03.prod.outlook.com (2603:1096:3:2::15) To HE1PR0402MB2779.eurprd04.prod.outlook.com (2603:10a6:3:d4::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB2779; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2779; 3:DDvvl32goLEr0cJopwfp9KPZZdJnKOaZpfNO0sAlaVLA9UYxKddPv2xymp6plnknY5u0Xh1brSXFj+S+51OlefmyiI1LiDbVKqCulT1oIo7x+7avCXRU06kH07x2PLZnDEcq4nCyMGjn8M1CHt3iN5OM8y6AlVAhzeD/KD6KbJp4sh0p9QxB+1vA+gLc8RqbLqFjsYtDQfLwSWv3OLj1AdaKPCrOTsHacu5DYOj2IfryH61ixA44n5jqV55MV6f5; 25:GdDTKHvxTdXoYRvVZpNF3qZWFH3tWxKPQ9lbBUnLCAcuGTc6tSczFrFsu/WcDgGu9PQBjqCItMLLi90RTLSfPW195pVDoL6PqkHQ5gxZ/3+88AHLBs0yvFr7Lh/d2pVmK2lSV11ur+H8fjxbJYeQwpSdXUol5s8hc9wOJIgj9hAMndOMUP99uowcTa6m94BX6Ju4ZmILNb6tJsuboQmSEnwM67fWOdsQZMExa7q2Yx4J+Ny4fNTdvY8HyCz1Xd+t8j0hJmRIgocJY9fmQ+/li3ghUEzPVVt3g+9D4L6fha3Dhw3aR/Zc7NCboZfglzdBB6m2aMK8hV5Ib8Vt/Lxpvg==; 31:uf+t9h+ZTi2veKGA6GWYFeG/KwqFBilfdVwMiC5nmLC/pYQ72lzGWdXqcwz9e93nF56SiY4KbXLnMaB/hsImoKBLBnJG3eYMVJHpxBRhYUdfJYKLgxU1ZNJiRtpxlHzZFgkAGfYcxTjx+dcnEOxlZfbvYarLxWVsCJw2o1VSfT+PIBVAPJHe/hSNlL6LPSYjW1a0NbPHG8Ba97HTG7mEOhlNKNLyuiek1mPUWylazpE= X-MS-TrafficTypeDiagnostic: HE1PR0402MB2779: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2779; 20:YBHjc+1C2CpsIjDBbY+o5J0+diZSwMqiQqVhkaHUy8tvS+pTixnhYT6NicIg75RIg2wBpaHFnJl1cWyWFwsO+e4vSyjYvPG62r16HkmznAn4Cm9tesHmX9KB7lT250pyZPMGzXnQEePxHFMfbiRNThRh5MgPl20AOb13H0+QcpYquwg8j17pTJi3FqVKxDAopqCDJjfuhX7POos11pH/VR0WXvvKrFhLINX2w5p86/vTvQrANQMFj765DFPxPaECR9xmxsa42+lwvJne79un68dtdIcE1HxB3zxdpu6ZrjTfToNkR5L0fBHYEHpyFMP/P+itOIczNxqlv7wyLtLQf4oWTR9uZxriTRXxA3ThGfN0KeI6s9b/72rWTfpnpcCrw3BfguYZ4KDEFJATys3MKtwCj1ATn2FsQhokmtblD2NLJYqNUA7n7mxWYPRFwG/YSKJfCeAaOad4UlCIrHXU2fbArFIVl90Mc0D78Iwc8zzvpzIz+pnT6+lGjMQr3LVu; 4:81Mj3ef7RT3/bqtwd/v2HXOx2atMMeM0aELFegsauToO/kJB1GQB+YLZN4CGHjII3SeC+x/AqZOoCmuAAcsPODZsQXsEFZV4ypUNDC4Phpj5HNyo6iWmeaZRewIIm3QQvCcz8nYt7CvPa5Ek8Y26d5fMQ+IXBkLuW7f+p3rzk1faqjOim6KomvQfL+czNY7NP6UFs4ftnucznJgeSHpTHURGf0zqVBHh8F/Bc+nzcY4VTKVIj35C/cewWZYKbQKzU+nKA1pfR8+NNmh8+VXOFC5rF2faMK8HN7xjdayGXoJmQLrz756sQwyWkZga8SMq 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)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:HE1PR0402MB2779; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB2779; X-Forefront-PRVS: 0667289FF8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(366004)(346002)(39860400002)(376002)(189003)(199004)(6512007)(53936002)(186003)(55236004)(5660300001)(6486002)(6116002)(51416003)(68736007)(386003)(52116002)(1076002)(25786009)(6506007)(4326008)(5009440100003)(2351001)(2361001)(97736004)(3846002)(478600001)(26005)(7736002)(476003)(105586002)(2906002)(6916009)(48376002)(956004)(6666003)(50466002)(2616005)(486006)(8676002)(81156014)(81166006)(36756003)(66066001)(47776003)(305945005)(86362001)(16586007)(50226002)(44832011)(316002)(106356001)(8936002)(16526019)(1857600001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2779; 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; HE1PR0402MB2779; 23:7X7PPdk9wUmWGgRj95hhP5NemHk5NQzbh0fLAgd?= =?us-ascii?Q?8lMGVEdeAxXgpjRGqW5zA4roYtXjUh7CEPfBU8nXLwCd3mxVfuLOsO8yg/hL?= =?us-ascii?Q?PHkfZj+AMbtLaWUe+X8kKYUqbzm5Jl43iwqDXenq6URLZrYQT23zCVHq6Bia?= =?us-ascii?Q?BzKRGCM5niOOTNxERkMKd9oKgccHXEYmJknuastty8+GYCnULzZGlvidBo8l?= =?us-ascii?Q?ku8Y2BiKEy4mhL+/PPneHu+MWh1Qk2FuJc/LwAdLxYwuTSmP2yhY9FBHBoOJ?= =?us-ascii?Q?M5uBF4si7NPkB53wBogSYQoJZuoP8cpOmrXoVzHSE/2Faykl/WIZuO+ociYb?= =?us-ascii?Q?nph/+e8fF5ggfdaJujyNAffO2EtsdgXme368poqhvrN19lRb7XelVWC7tJ/6?= =?us-ascii?Q?d4Usd0lehOC4OlMt469JMbAuFt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?= X-Microsoft-Antispam-Message-Info: DiiQmL3RML5dPwNAGUIgeVWeXMRB1cldfNf/7BKfrCQcvDstHDMbF4OT7AsEjWH3za8QYu2lppzTEc73Bbs3f7pasQIjCFhBW443E1EHLy9r2LRaw4FkqfbEPgRbeII+At4zubttYAEDze5ECE0OP0gNtAC6O6imF+pP2funyILmIm2XJU31t4ny3hsbrrHs X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2779; 6:QzSmmrJEbuD+PNHiEv2vR5PYgRmTHeDx9SA6p2xYdpU3c7LF3d69ULu7frtF4BQwK6BX0JKbUpIfTALTvJ0YxtIX4PEO/RdgAo8gK9zsHl+ed/k2KCGvo/EURO12ATUL1ur+4fyo5gC2OvajkLyIUIb4KRVkWNzrzXmcmGcM05QFI2yGMOCVvMRV8eloC7u8cGTtr9a+PDtGzkcUEemRTaYXjcWn5cmi+GllrNa+6MtpQ5cIbdtubqKDmT7kjZQz9gz0/9nekUNz9JOUrkTrX+3rNI6tj7Ma0/7xA2kVI+JG8iQnNNlIP1J6g+frUNvQiL6sZsUdDiP8KjAK6lOn+ikmSCl11OcW5N7+cGbS70ud9XS+rn6zrw8gkmCocLYkuh1zubCBANLBIhJ4/QahXv9l9fay3F44JcOyujV3hf11PgWf6ZfwW6SptXrrFRF5v9hP4AxOm4K1cF3g94ipwg==; 5:WRU3ZozY+TCOoDU/HiXxofnsiZLsJpmiuOmFWpBB5tzPm3q+rSIo6VH/YjnFjSNH2Xk81jwxKjKVBGkW17jiKvs+poYrk0bWbnYHoaaSn+g4KN3B+VmGrOEOU+tKH0v907b5fnETS0yXKi/nHcr65fh6dQx/A7ZdFpf8TgZwovc=; 24:fGsvqUv/c63yUyOYTYskN/zzVsYwZNTK+5EiqhzYezRiaGaWHUEMel3aFDXLwqRMgIGzRp8xh9OfH6VtDTXfq1wa2dNz1jP+gEgxA4MQ3Hs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2779; 7:G0+0ST0s+/XlHiP8pCEoDED3ggOEtD53wHuaLudaagQwCoe47ng9aRnULAFC/xk+PWYwwFk6H8mRqGh2y4vx/u49eFNRejjRYnINWWIKsWy94jBWM3JCANsrH86JNEWoEU1dAnPXYiMSY3XR5F8gqO9bdw7hoYadDWbvj8uqpCddFqTyqwn6/lhhqBBhRD4vu3JYp4pvIOjvvHAiDYEznVUUD75Cs/wlXl11zm2Jzw10jCjLVJPP7XLzVWO1HnL5 X-MS-Office365-Filtering-Correlation-Id: 0bf28e57-5a60-4bc0-f8c2-08d5b58cb457 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2018 09:10:25.1631 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0bf28e57-5a60-4bc0-f8c2-08d5b58cb457 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2779 Subject: [dpdk-dev] [PATCH] crypto/dpaa2_sec: remove iova conversion for fle address 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: Wed, 09 May 2018 09:10:29 -0000 From: Hemant Agrawal fle is already in virtual addressing mode - no need to perform address conversion for it. Fixes: 8d1f3a5d751b ("crypto/dpaa2_sec: support crypto operation") Cc: akhil.goyal@nxp.com Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 58cbce868..56fa969d3 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1261,8 +1261,7 @@ sec_fd_to_mbuf(const struct qbman_fd *fd, uint8_t driver_id) DPAA2_SEC_ERR("error: non inline buffer"); return NULL; } - op = (struct rte_crypto_op *)DPAA2_IOVA_TO_VADDR( - DPAA2_GET_FLE_ADDR((fle - 1))); + op = (struct rte_crypto_op *)DPAA2_GET_FLE_ADDR((fle - 1)); /* Prefeth op */ src = op->sym->m_src; -- 2.17.0