All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto/dpaa2_sec: remove iova conversion for fle address
@ 2018-05-09  9:26 Shreyansh Jain
  2018-05-09  9:14 ` Akhil Goyal
  2018-05-09 12:43 ` [PATCH v2] " Shreyansh Jain
  0 siblings, 2 replies; 9+ messages in thread
From: Shreyansh Jain @ 2018-05-09  9:26 UTC (permalink / raw)
  To: pablo.de.lara.guarch; +Cc: akhil.goyal, dev, Hemant Agrawal

From: Hemant Agrawal <hemant.agrawal@nxp.com>

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 <hemant.agrawal@nxp.com>
---
 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-09 14:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09  9:26 [PATCH] crypto/dpaa2_sec: remove iova conversion for fle address Shreyansh Jain
2018-05-09  9:14 ` Akhil Goyal
2018-05-09 10:24   ` De Lara Guarch, Pablo
2018-05-09 11:39     ` Shreyansh Jain
2018-05-09 11:30       ` De Lara Guarch, Pablo
2018-05-09 12:29         ` Shreyansh Jain
2018-05-09 12:46           ` Shreyansh Jain
2018-05-09 12:43 ` [PATCH v2] " Shreyansh Jain
2018-05-09 14:35   ` De Lara Guarch, Pablo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.