From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0055.outbound.protection.outlook.com [104.47.1.55]) by dpdk.org (Postfix) with ESMTP id 76A07CFBC for ; Wed, 9 May 2018 11:14:32 +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=n+wgxoD3EFIpgGTv4fBFcMFVpuxHzGIWe19CP8gsIek=; b=dDZI4G1OXpjiNx+92XwZWF5hNl5BKB9nhQpdoYgCkbfRgmPXmCMKlc/OUivISI74ykMeiifj09aWnUHK4U+CQbnXmBRXoO6+fx5u0BVEj7RksMwgm76RdfF3NUVOoQbDxmC9C0a1200wayV/4ExDwP8nPs+kxtURWknOyQ1r/xs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.40.201] (14.142.187.166) by VI1PR04MB1391.eurprd04.prod.outlook.com (2a01:111:e400:5348::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Wed, 9 May 2018 09:14:29 +0000 To: Shreyansh Jain , pablo.de.lara.guarch@intel.com References: <20180509092642.9092-1-shreyansh.jain@nxp.com> Cc: akhil.goyal@nxp.com, dev@dpdk.org, Hemant Agrawal From: Akhil Goyal Organization: NXP Message-ID: Date: Wed, 9 May 2018 14:44:08 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180509092642.9092-1-shreyansh.jain@nxp.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0036.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::22) To VI1PR04MB1391.eurprd04.prod.outlook.com (2a01:111:e400:5348::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB1391; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1391; 3:dYX/EvYt60yWVT749wFL0JnZTZjUrlF75qSg2woCqyy+xBEl/6NzgV1hTGts7XURbVXhZZOCwT6QCZDRPyMupB3ff+20xi2yl/wzJr/4uKVoQuCSZctpcVMv66paKQ/R1WVDdljVhl920iec14MYNc1tYZGZkKM2gSmgIeyaqinX92Trf18Q29AjrqcE1Pv6+PzwG+aL3ah268kL5mrLSQWrayu12DLEUJTg7s8KCy/FRzIu97tJOvHDAKGECnZt; 25:EABT7Jnf6lTW3w+rMRIYSRZdt34490Q3izssBbEnCkinbKweJei7lEbXQuSClKoILncHmvrEN1MSu5u4oWRnxm1P5UTEIK2zXeDVhLsOcSHTjCOZXOB2rXaceGTIuppdGWPkRqM9KZC6ju6HyVeYVJXpMkadRlFfpZh4fVIPG+dudCPhFrgT6ic6e3t2r+D3VMy15B3P2nzeshuYL5HjqVsFvqPhdlf2a+0EFMKKhKPAJ7JnFzJjOea1CTmZ6aeGqfSvHLNy1T6xLTIFqPiSQ+XCg9Ry4AaqrQw24wXbPVlSHhHPCHn4PnCkiQ//WcJNTyeG+GbodFMBsbbnClOGxg==; 31:MwEpNc1NeggDVfEao4a91SuDLDhnSBrSz60F/qQkhaiVHJNylC6c4QWtQhXNBBFnYC/rvtDYUWLWDv/BhtAZugV2Fbgp1NxyF3At3jX0MdXgWyzcDTDviRjdU1COLDvr38jM69q3CYlUG8Y9PlPEYaDaETwz7mn7cSqY1rl2+i820a2NLp99HiFbl8XDlG57JmMJjkrNM7RLmJjW1M49Txf47iqAPc+vcbqadN6/3EM= X-MS-TrafficTypeDiagnostic: VI1PR04MB1391: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1391; 20:LcPoRFHv5kwgXyR35z5xgoPB6eyYA26e7eiy+t7MbfvV3omSI6P/3cMlPSntcv83HalK0/B9gcVoqesinFXZmz3VhvTRY0J+93OCMeE4VdemsrOJcVgMdPeWzHy3COcitZG3AVfYeR0v5/5cDV0gzkHOTdEFpeswFMhRsU41fx7ADeoyfPMnHRo8ljInt53jf6NDuqHTKm3bWWPc/2dqXDCIc1fHiIsC2w52Qh61KgxT2WViqtCWxB/yD4TdqbTR11nqHALom2povr3e/ZkE7fMm2H4JXn+DBcWVSgpDLgxWKh4k6xGyoV/iKjLCZdhm7d4uOKhWCmGZu85WmODHcIkyWxp3hFocxf5Q9jhGAAXzN2p1ArZSswjNuR0u6THRmSP4PKaCuO5xiDfpsr04U+8vUyWAH9dJQCq3IODnRm+zJGMy4znD1hHs8Q8GuetWGju0SrcPNXgg4zvNik1yICh4ZzNW0D5QdlMCWgK4IPKMylBZFhvvnQ1gsB8iT53F; 4:H5VDH5VAesUnbeFam8J1ee2hcoEVQfgB3pSC9DZkUbofPVGZHCxzIqMgliOiES+CycXORdeqJZ+mzx8ihoSyCKwJlTdbJb8rmjlyI0uXUfB57bhrQFn+3VtP/GrltilOAi6aC0BqHRpz1bUwCXwnKI1VrNP5irRgl9nLflz9xb1Zi93ooyUR3S0hKOaq2uhqYdAyHkxCwHAyAUi5J6tEhkdA85y3N6AHu5mSTZ82Vyj9m4GJQp3q1Hk5fAeHZsh62QOPrPWUi+wTEW+UxVXPDik9HQdCDynN3PTAciEDQ35V4QEpQItKOBp1u+8idBrE 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)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR04MB1391; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1391; X-Forefront-PRVS: 0667289FF8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(346002)(39380400002)(39860400002)(376002)(396003)(366004)(199004)(189003)(305945005)(26005)(25786009)(2906002)(44832011)(65826007)(68736007)(6486002)(6246003)(65806001)(478600001)(16576012)(58126008)(6666003)(65956001)(97736004)(4326008)(47776003)(66066001)(31686004)(23746002)(3260700006)(229853002)(53936002)(8676002)(64126003)(5660300001)(81166006)(8936002)(476003)(36756003)(67846002)(31696002)(81156014)(486006)(50466002)(16526019)(316002)(7736002)(3846002)(6116002)(52116002)(230700001)(77096007)(36916002)(53546011)(956004)(105586002)(386003)(2616005)(106356001)(86362001)(446003)(11346002)(5009440100003)(76176011)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1391; H:[10.232.40.201]; 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: =?Windows-1252?Q?1; VI1PR04MB1391; 23:NnnNabrfrj3mDMYh2ECBci2HRbjxSYC0KFiC9?= =?Windows-1252?Q?TIDSTmCUPw29c9tZIvKUffkMmNEEQZW95cwgVtmRQqvoCfM1Y2u52cRV?= =?Windows-1252?Q?bOpzH5oJkri5g0a/iJDcM1I443rWm1k2yWSab/Rmk1P7+b5saQVzqyRB?= =?Windows-1252?Q?VIKSHkM+fWe3FwKSnZAS9zCa1qM3og25er887Q/7qjh2NfFFrIc0xNoC?= =?Windows-1252?Q?kFoiob0iVnvj72liRKpiiQ2yGYHEa1eOY1iDdY/obg8PoYQ2O6+khKaU?= =?Windows-1252?Q?J/zcQit4MOYoHaobdYR5gPwq8f1uy3a8/uUaykS0UHycgXtyNZvMtKGz?= =?Windows-1252?Q?teQKQGA2ppcMg2v/4DW7aGOUGFSFKKKtvFmcX8fOsv9iDvTZrtW7ENlI?= =?Windows-1252?Q?8jiIP+teXgzKvi14HrhSnfRBfakyIgNcTarWYZjekLGc4I0Wt+tpE/6T?= =?Windows-1252?Q?B5wyA90lbz8RblrhzsnEtV+2atXolptWHdinVWWKdrbT1uYAUBNtbEea?= =?Windows-1252?Q?/zmT5/QQdK3+5EJHJfjFCWdgX92IGyZwbWm3M/x0MbcuRyDOhI5XMUD1?= =?Windows-1252?Q?c5yOsCMQ2Akmp2XJhgBA0LoYr5y6tieqlePnRXuKYWNicn0ajAiM2+0K?= =?Windows-1252?Q?Q6ebGPEechi2zOB+TO7wwrOOSwirVgF0iH8EO9Xeq51pA7lTnSz28SAa?= =?Windows-1252?Q?mtQLn82tR4u59S+cd0Do9xu01zfoHgxhJ4518OXizrtDHxVnJi/6jtQ2?= =?Windows-1252?Q?JoNsbKuOt7vltmWrsfl2+VnA18OLCTVNv+DwzrFByDWBUY0tLWXrT5zU?= =?Windows-1252?Q?HdadCu6Npwif4P5wQbmUVbBq8NU6sDhigPpDR/qWQkkWbVsnXOeenVTe?= =?Windows-1252?Q?MxNcX5Yds9rxWdzuWk2wUZjsueaH3y7zpE1bitKi89TpK1ALo2TH3t1Y?= =?Windows-1252?Q?cyM4pmjO1Zh1JfGNIDUrCs9VZscVJ1o5VpQ48Pjz5VBqUvtyjvhpTprw?= =?Windows-1252?Q?HTcvyjkbl7MDTnBZeslr8tk0xpRVqELUB4O7BXkObCrbyHyfJYZtWDNl?= =?Windows-1252?Q?6Wc3iXN6XihN9mO7wAjge9ukdSrseY9/y2gRdLDurGevsHfIvIEQ1GXy?= =?Windows-1252?Q?UJe9ZwaanlDVzRcscuahr1TE2cf4uKKiewjXsC8eIRNtkM8p021GfZQg?= =?Windows-1252?Q?E25j9vcAh+xLsRGPRseaRCBqJU7AQ4tbozy4zf3cF/5Zpq+RU9OUbcFD?= =?Windows-1252?Q?Kyx6jxULtvOUy1nVY1DRxNfwFnENQLEXCLx8NFtD99EubWtgTyQUQ1LX?= =?Windows-1252?Q?/rn/h/jBCoAgu7HEIwY98XrtXSx0YZyVnmCRMmMYnbcd2AgYIjFOcFzf?= =?Windows-1252?Q?lMtaEHGWGCpkd/wz6Eiu+bX+7l53Ygz1th+0TufRibDsoILIZvg8VCQW?= =?Windows-1252?Q?/A/HAaup/D+LPNIo5OIiiZ2UaLhQ6s8cNGsHQnHYeFXVDcCzGNnPSovz?= =?Windows-1252?Q?56kpyQbS6c0xXx6YwAaqUVrPXRIMykzkUFbOANmENNlfzzT+iXSRMr5q?= =?Windows-1252?Q?fFEJmsZHMp8XlVWIxoeQ/cPW8mI7XHpvlsf8dNtlbNXGfGEtfW568hs+?= =?Windows-1252?B?QT09?= X-Microsoft-Antispam-Message-Info: 1wsVOAKe79ml291lLKVe1wULV4BU3edhgEcOw3mHdV58AHEh0W3ZGRMcxEenzkw6XaaCbBZGppqwjT1I8MWZbJe94Fd2eYT99Rj/wAqhdSpWVN/EN8W956lCdYlkQm4EzMWsxHtHH35fX3/T/LD4QmWU5rYHlRHijxM486UEvFVWzvbr07jiOflGUwC7YHNj X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1391; 6:Q4N4byGM35UNNV2hKY6HUehg+G8aUBTG1XTMTZctu0qgFx8yuAmWu2ulsPFjLZD6Bjk/gz6Z99g8jhKJi41hmsRDBya9erldNZMPACzEbEEFJPSjVQV8J1Md5qCL9DOa0UmgFmQGoniqjx9LZRL5MU0Yrr0nGnIxdIBgeud3YDYZ0Mv1bG34TjzzPTNQF4F3iBhsS91a9HQLiF2QO7bByhFrJPK8WQzeeW4jg9cDLDXOliHvbUqdLSGGORB/v1P6zxzYoyPhONxhIKbTGhTAuB/Jw/8wfZrjaQgjl+OJyZAPmMQZG64h5m3cxWZNOikJFCuD8y+5HolittrS1bp1W/ZXI1+aPU32hHUbQylHwzqXwj8oU3dd+RQmMncPjoWCBkaDU3Yba9n6UGxPhLu6FlGgVWFY9HaIDTkrALPsXlPoKKlgxB5VqCSBHjJLvHN0FjkH79UDnKV7qL+HgUlOUA==; 5:EJHmdbhpg5cUYa2Ah0T0299SQjdDHJKRszlxs4fJi6mDDLXcla3ckWW5Wl70bj1NW+mT4sfqATIZ1h0yktcLsIu5rPK1NirSxeFM2/hcyRZPJENXGzd3tRawok68xCqqm8rsS6F9xa5N4qPOByqeTu94lLL3Qy+cMum7oF6MI7s=; 24:fqfSxHj6tt7oFONs6U7OEZ31GxVryFgJjktbYdjNVOqxV/nJUYkSpi8JRITvXFV1e1iH36q5gCYQPBdS52CHKT6QQ2EQ8OhcLvERwMADT4U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1391; 7:8265LCkRnkhhsMPts8BsLpFdgrxh51Bk6UChN22FvJ1qQOeiKINgU57/Vr9BET3moYpTIh2AvbHNz6dERFENbJobtHFZ4zcsmT88hlI8hTRt0NmP/4CO/ujxRvj8pfUwryChXP0nTLZK/O9XaVT1WDA70YykQRhvByd/ewLgztP2SLBuNId3iTtkCvsB9oG1BIf85FeO9Kob+JAkIQrElCeaaA+mEeYpwcVd5b0Bapf0jznrDeoiUOEVFoQAJmHI X-MS-Office365-Filtering-Correlation-Id: 4fd2812e-bc0e-408d-02db-08d5b58d45b0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2018 09:14:29.4159 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4fd2812e-bc0e-408d-02db-08d5b58d45b0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1391 Subject: Re: [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:14:32 -0000 On 5/9/2018 2:56 PM, Shreyansh Jain wrote: > 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; > Acked-by: Akhil Goyal