DPDK patches and discussions
 help / color / mirror / Atom feed
From: Akhil Goyal <gakhil@marvell.com>
To: Zhangfei Gao <zhangfei.gao@linaro.org>,
	Fan Zhang <fanzhang.oss@gmail.com>,
	Ashish Gupta <ashishg@marvell.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [EXTERNAL] [PATCH v3 0/2] uadk: realize async mode
Date: Wed, 25 Jun 2025 12:14:09 +0000	[thread overview]
Message-ID: <CO6PR18MB4484B2A6744F73A9196EB034D87BA@CO6PR18MB4484.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20250620033515.86501-1-zhangfei.gao@linaro.org>

> Realize async mode to replace sync mode for better performance
> 
> v3:
> uadk 2.9 is released
> use different label name to fix build warning:
> 	"duplicate label table_uadk_versions"

I am unable to build uadk x86. It seems macros are not defined for x86 

make[2]: Entering directory '/home/gakhil/up/uadk'
depbase=`echo wd_alg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Werror -fno-strict-aliasing -I./include -fPIC -fPIE -pie -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -ftrapv -Wl,-z,relro,-z,now -Wl,-s  -DUADK_VERSION_NUMBER="\"UADK version: 2.9.0\"" -DUADK_RELEASED_TIME="\"Released June 6, 2025\""  -g -O2 -MT wd_alg.lo -MD -MP -MF $depbase.Tpo -c -o wd_alg.lo wd_alg.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -ftrapv -Wl,-z,relro,-z,now -Wl,-s "-DUADK_VERSION_NUMBER=\"UADK version: 2.9.0\"" "-DUADK_RELEASED_TIME=\"Released June 6, 2025\"" -g -O2 -MT wd_alg.lo -MD -MP -MF .deps/wd_alg.Tpo -c wd_alg.c  -fPIC -DPIC -o .libs/wd_alg.o
wd_alg.c: In function ‘wd_check_ce_support’:
wd_alg.c:106:44: error: ‘HWCAP_CE_SM3’ undeclared (first use in this function)
  106 |  if (!strcmp("sm3", alg_name) && (hwcaps & HWCAP_CE_SM3))
      |                                            ^~~~~~~~~~~~
wd_alg.c:106:44: note: each undeclared identifier is reported only once for each function it appears in
wd_alg.c:115:46: error: ‘HWCAP_CE_SM4’ undeclared (first use in this function)
  115 |  if (!strcmp("(sm4)", alg_tail) && (hwcaps & HWCAP_CE_SM4))
      |                                              ^~~~~~~~~~~~
wd_alg.c: In function ‘wd_check_sve_support’:
wd_alg.c:128:15: error: ‘HWCAP_SVE’ undeclared (first use in this function)
  128 |  if (hwcaps & HWCAP_SVE)
      |               ^~~~~~~~~
make[2]: *** [Makefile:1055: wd_alg.lo] Error 1

> 
> v2:
> Add version check, requires uadk >= 2.9
> Add version table describing DPDK and external UADK library
> 	version compatibility
> Mention version dependence in release notes
> 
> 
> Zhangfei Gao (2):
>   compress/uadk: use async mode to replace sync mode
>   crypto/uadk: use async mode to replace sync mode
> 
>  doc/guides/compressdevs/uadk.rst              |  15 +
>  doc/guides/cryptodevs/uadk.rst                |  15 +
>  doc/guides/rel_notes/release_25_07.rst        |   5 +
>  drivers/compress/uadk/meson.build             |   4 +-
>  drivers/compress/uadk/uadk_compress_pmd.c     |  94 ++++--
>  .../compress/uadk/uadk_compress_pmd_private.h |   2 +-
>  drivers/crypto/uadk/meson.build               |   4 +-
>  drivers/crypto/uadk/uadk_crypto_pmd.c         | 297 ++++++++++++------
>  drivers/crypto/uadk/uadk_crypto_pmd_private.h |   8 +-
>  9 files changed, 320 insertions(+), 124 deletions(-)
> 
> --
> 2.25.1


      parent reply	other threads:[~2025-06-25 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-20  3:35 Zhangfei Gao
2025-06-20  3:35 ` [PATCH v3 1/2] compress/uadk: use async mode to replace sync mode Zhangfei Gao
2025-06-20  3:35 ` [PATCH v3 2/2] crypto/uadk: " Zhangfei Gao
2025-06-24 13:57   ` [EXTERNAL] " Akhil Goyal
2025-06-25 12:14 ` Akhil Goyal [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=CO6PR18MB4484B2A6744F73A9196EB034D87BA@CO6PR18MB4484.namprd18.prod.outlook.com \
    --to=gakhil@marvell.com \
    --cc=ashishg@marvell.com \
    --cc=dev@dpdk.org \
    --cc=fanzhang.oss@gmail.com \
    --cc=zhangfei.gao@linaro.org \
    /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).