DPDK patches and discussions
 help / color / mirror / Atom feed
From: Zhangfei Gao <zhangfei.gao@linaro.org>
To: Akhil Goyal <gakhil@marvell.com>
Cc: Fan Zhang <fanzhang.oss@gmail.com>,
	Ashish Gupta <ashishg@marvell.com>,
	 "dev@dpdk.org" <dev@dpdk.org>,
	 "NBU-Contact-Thomas Monjalon (EXTERNAL)" <thomas@monjalon.net>
Subject: Re: [EXTERNAL] [PATCH v4 2/2] crypto/uadk: use async mode to replace sync mode
Date: Wed, 9 Jul 2025 14:51:44 +0800	[thread overview]
Message-ID: <CABQgh9Gu5qXky6b+UPihHY5RMMGdUbL=fPv8XLvyU0t39TLgMw@mail.gmail.com> (raw)
In-Reply-To: <CO6PR18MB44842C3119B81D8486565BDED84EA@CO6PR18MB4484.namprd18.prod.outlook.com>

On Wed, 9 Jul 2025 at 03:33, Akhil Goyal <gakhil@marvell.com> wrote:
>
> > To get better performance, using async mode to replace sync mode
> >
> > However, case UADK_CHAIN_CIPHER_AUTH and UADK_CHAIN_AUTH_CIPHER
> > still use sync mode for the first operation and async mode for
> > the second operation since the dependence.
> >
> > Also RTE_CRYPTO_AUTH_OP_VERIFY will hold the generated auth in
> > qp->temp_digest[idx % BURST_MAX] to verify later.
> >
> > Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
> > ---
> >  doc/guides/cryptodevs/uadk.rst                |  15 +
> >  doc/guides/rel_notes/release_25_07.rst        |   5 +
> >  drivers/crypto/uadk/meson.build               |   4 +-
> >  drivers/crypto/uadk/uadk_crypto_pmd.c         | 297 ++++++++++++------
> >  drivers/crypto/uadk/uadk_crypto_pmd_private.h |   8 +-
> >  5 files changed, 234 insertions(+), 95 deletions(-)
> >
> > diff --git a/doc/guides/cryptodevs/uadk.rst b/doc/guides/cryptodevs/uadk.rst
> > index d38dffbcd9..7591c0e94b 100644
> > --- a/doc/guides/cryptodevs/uadk.rst
> > +++ b/doc/guides/cryptodevs/uadk.rst
> > @@ -112,6 +112,21 @@ Test steps
> >        RTE>>quit
> >
> >
> > +As a reference, the following table shows a mapping between the past DPDK
> > versions
> > +and the UADK library version supported by them:
> > +
> > +.. _table_uadk_crypto_pmd_versions:
> > +
> > +.. table:: DPDK and external UADK library version compatibility
> > +
> > +   ==============  ============================
> > +   DPDK version    UADK library version
> > +   ==============  ============================
> > +   22.11 - 25.03   2.4  - 2.8
> > +   25.07+          2.9.1
> > +   ==============  ============================
> > +
> > +
> >  Initialization
> >  --------------
> >
> > diff --git a/doc/guides/rel_notes/release_25_07.rst
> > b/doc/guides/rel_notes/release_25_07.rst
> > index e57cf546c2..5e8cb0e512 100644
> > --- a/doc/guides/rel_notes/release_25_07.rst
> > +++ b/doc/guides/rel_notes/release_25_07.rst
> > @@ -98,6 +98,11 @@ New Features
> >
> >    * Added support for AMD Solarflare X45xx adapters.
> >
> > +* **Updated UADK crypto & compress driver.**
> > +
> > +  * Update to init2 interface which requires v2.9 of the UADK library.
> > +  * Update to asynchronous mode for better performance.
>
>
> This shall be v2.9.1. Right?
>
> > +
> >  * **Updated virtio driver.**
> >
> >    * Added support for Rx and Tx burst mode query.
> > diff --git a/drivers/crypto/uadk/meson.build b/drivers/crypto/uadk/meson.build
> > index e46abd21e5..00cd7d1c44 100644
> > --- a/drivers/crypto/uadk/meson.build
> > +++ b/drivers/crypto/uadk/meson.build
> > @@ -13,7 +13,7 @@ sources = files(
> >  )
> >
> >  deps += 'bus_vdev'
> > -dep = dependency('libwd_crypto', required: false, method: 'pkg-config')
> > +dep = dependency('libwd_crypto', version: '>=2.9', required: false, method: 'pkg-
> > config')
> >  if not dep.found()
> >      build = false
> >      reason = 'missing dependency, "libwd_crypto"'
> > @@ -21,7 +21,7 @@ else
> >      ext_deps += dep
> >  endif
> >
> > -dep = dependency('libwd', required: false, method: 'pkg-config')
> > +dep = dependency('libwd', version: '>=2.9', required: false, method: 'pkg-config')
>
> Here and in your compress patch also, the dependency version should be >=2.9.1. Right?
> Please fix these mismatches as soon as possible. We are closing RC3 tomorrow.
> If it is not merged in RC3, will be deferred to next release.

Have updated.

Made a uadk 2.9.1 release as well for this.

Thanks for your patience.

Thanks

      reply	other threads:[~2025-07-09  6:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02  2:42 [PATCH v4 0/2] uadk: realize async mode Zhangfei Gao
2025-07-02  2:42 ` [PATCH v4 1/2] compress/uadk: use async mode to replace sync mode Zhangfei Gao
2025-07-02  2:42 ` [PATCH v4 2/2] crypto/uadk: " Zhangfei Gao
2025-07-08 19:33   ` [EXTERNAL] " Akhil Goyal
2025-07-09  6:51     ` Zhangfei Gao [this message]

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='CABQgh9Gu5qXky6b+UPihHY5RMMGdUbL=fPv8XLvyU0t39TLgMw@mail.gmail.com' \
    --to=zhangfei.gao@linaro.org \
    --cc=ashishg@marvell.com \
    --cc=dev@dpdk.org \
    --cc=fanzhang.oss@gmail.com \
    --cc=gakhil@marvell.com \
    --cc=thomas@monjalon.net \
    /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).