patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Ji, Kai" <kai.ji@intel.com>
To: "Nicolau, Radu" <radu.nicolau@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "stable@dpdk.org" <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: Re: [PATCH 1/2] pdcp: add digest physical address
Date: Thu, 4 Dec 2025 12:17:31 +0000	[thread overview]
Message-ID: <DS0PR11MB745862DDAB8EB9BB063E7F4281A6A@DS0PR11MB7458.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20251202104550.849311-1-radu.nicolau@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]

Acked-by: Kai Ji <kai.ji@intel.com>

________________________________
From: Radu Nicolau <radu.nicolau@intel.com>
Sent: 02 December 2025 10:45
To: dev@dpdk.org <dev@dpdk.org>
Cc: Nicolau, Radu <radu.nicolau@intel.com>; stable@dpdk.org <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

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


[-- Attachment #2: Type: text/html, Size: 3516 bytes --]

  reply	other threads:[~2025-12-04 12:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-02 10:45 Radu Nicolau
2025-12-04 12:17 ` Ji, Kai [this message]
2025-12-04 12:30 ` [EXTERNAL] " Anoob Joseph

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=DS0PR11MB745862DDAB8EB9BB063E7F4281A6A@DS0PR11MB7458.namprd11.prod.outlook.com \
    --to=kai.ji@intel.com \
    --cc=anoobj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    --cc=kirankumark@marvell.com \
    --cc=radu.nicolau@intel.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).