* [PATCH 1/2] pdcp: add digest physical address
@ 2025-12-02 10:45 Radu Nicolau
0 siblings, 0 replies; only message in thread
From: Radu Nicolau @ 2025-12-02 10:45 UTC (permalink / raw)
To: dev
Cc: Radu Nicolau, stable, Anoob Joseph, Volodymyr Fialko,
Akhil Goyal, Kiran Kumar K
Set the physical address for digest buffer.
Fixes: a785af14ff79 ("pdcp: add pre and post process for UL")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
lib/pdcp/pdcp_process.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/pdcp/pdcp_process.c b/lib/pdcp/pdcp_process.c
index 9b9b881124..f55ae3bec0 100644
--- a/lib/pdcp/pdcp_process.c
+++ b/lib/pdcp/pdcp_process.c
@@ -351,6 +351,8 @@ cop_prepare(const struct entity_priv *en_priv, struct rte_mbuf *mb, struct rte_c
op->auth.data.length = (pkt_len - RTE_PDCP_MAC_I_LEN) << auth_shift;
op->auth.digest.data = rte_pktmbuf_mtod_offset(mb, uint8_t *,
(pkt_len - RTE_PDCP_MAC_I_LEN));
+ op->auth.digest.phys_addr = rte_pktmbuf_iova_offset(mb,
+ (pkt_len - RTE_PDCP_MAC_I_LEN));
}
__rte_crypto_sym_op_attach_sym_session(op, en_priv->crypto_sess);
--
2.50.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-02 10:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-02 10:45 [PATCH 1/2] pdcp: add digest physical address Radu Nicolau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).