From: Hemant Agrawal Date: Tue, 7 Nov 2017 12:15:08 +0000 (+0530) Subject: crypto/dpaa_sec: rename mbuf physical address to IOVA X-Git-Tag: spdx-start~917 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=116ff44aa8e15426aeac930fbebaaeb4755f7999;p=dpdk.git crypto/dpaa_sec: rename mbuf physical address to IOVA buf_physaddr is getting deprecated in mbuf. Fixes: 455da5453987 ("mbuf: rename physical address to IOVA") Signed-off-by: Hemant Agrawal --- diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index d1ef241aa0..16155b1a58 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -686,10 +686,10 @@ build_cipher_auth_gcm(struct rte_crypto_op *op, dpaa_sec_session *ses) uint8_t *IV_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, ses->iv.offset); - src_start_addr = sym->m_src->buf_physaddr + sym->m_src->data_off; + src_start_addr = sym->m_src->buf_iova + sym->m_src->data_off; if (sym->m_dst) - dst_start_addr = sym->m_dst->buf_physaddr + sym->m_dst->data_off; + dst_start_addr = sym->m_dst->buf_iova + sym->m_dst->data_off; else dst_start_addr = src_start_addr;