From: Radu Nicolau <radu.nicolau@intel.com>
To: dev@dpdk.org
Cc: Radu Nicolau <radu.nicolau@intel.com>,
stable@dpdk.org, Anoob Joseph <anoobj@marvell.com>,
Volodymyr Fialko <vfialko@marvell.com>,
Akhil Goyal <gakhil@marvell.com>,
Kiran Kumar K <kirankumark@marvell.com>
Subject: [PATCH 1/2] pdcp: add digest physical address
Date: Tue, 2 Dec 2025 10:45:50 +0000 [thread overview]
Message-ID: <20251202104550.849311-1-radu.nicolau@intel.com> (raw)
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
reply other threads:[~2025-12-02 10:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251202104550.849311-1-radu.nicolau@intel.com \
--to=radu.nicolau@intel.com \
--cc=anoobj@marvell.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
--cc=kirankumark@marvell.com \
--cc=stable@dpdk.org \
--cc=vfialko@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).