mode to replace sync mode
> > > > > >
> > > > > > Signed-off-by: Zhangfei Gao
> > > > > > ---
> > > > > > doc/guides/compressdevs/uadk.rst | 15 +++
> > > > > > drivers/compress/uad
On Wed, 9 Jul 2025 at 18:03, Akhil Goyal wrote:
>
> > On Wed, 9 Jul 2025 at 15:19, Akhil Goyal wrote:
> > >
> > > > To get better performance, using async mode to replace sync mode
> > > >
> > > > Signed-off-by: Zhangfei Gao
On Wed, 9 Jul 2025 at 15:19, Akhil Goyal wrote:
>
> > To get better performance, using async mode to replace sync mode
> >
> > Signed-off-by: Zhangfei Gao
> > ---
> > doc/guides/compressdevs/uadk.rst | 15 +++
> > drivers/compress/uadk/meson
t; 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
> > ---
> > doc/guides/cryptodevs/uadk.rst
in
qp->temp_digest[idx % BURST_MAX] to verify later.
Signed-off-by: Zhangfei Gao
---
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_pm
To get better performance, using async mode to replace sync mode
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/uadk.rst | 15 +++
drivers/compress/uadk/meson.build | 4 +-
drivers/compress/uadk/uadk_compress_pmd.c | 94 ++-
.../compress
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|
On Mon, 30 Jun 2025 at 18:15, Akhil Goyal wrote:
>
> > Hi, Akhil
> >
> > On Mon, 30 Jun 2025 at 17:04, Akhil Goyal wrote:
> > >
> > > > > > make[2]: Entering directory '/home/gakhil/up/uadk'
> > > > > > depbase=`echo wd_alg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> > > > > > /bin/bash ./libtool
To get better performance, using async mode to replace sync mode
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/uadk.rst | 15 +++
drivers/compress/uadk/meson.build | 4 +-
drivers/compress/uadk/uadk_compress_pmd.c | 94 ++-
.../compress
in
qp->temp_digest[idx % BURST_MAX] to verify later.
Signed-off-by: Zhangfei Gao
---
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_pm
:
"duplicate label table_uadk_versions"
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
Hi, Akhil
On Mon, 30 Jun 2025 at 17:04, Akhil Goyal wrote:
>
> > > > 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 -Wer
On Fri, 27 Jun 2025 at 23:41, Zhangfei Gao wrote:
>
> On Wed, 25 Jun 2025 at 20:14, Akhil Goyal wrote:
> >
> > > Realize async mode to replace sync mode for better performance
> > >
> > > v3:
> > > uadk 2.9 is released
> > > use differen
On Wed, 25 Jun 2025 at 20:14, Akhil Goyal wrote:
>
> > 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
in
qp->temp_digest[idx % BURST_MAX] to verify later.
Signed-off-by: Zhangfei Gao
---
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_pm
To get better performance, using async mode to replace sync mode
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/uadk.rst | 15 +++
drivers/compress/uadk/meson.build | 4 +-
drivers/compress/uadk/uadk_compress_pmd.c | 94 ++-
.../compress
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
On Wed, 18 Jun 2025 at 05:13, Akhil Goyal wrote:
>
> > Realize async mode to replace sync mode for better performance
> >
> > v2:
> > Add version check, requires uadk >= 2.9
>
> This version DO NOT exist as of now.
Sorry, Akhil
The tag 2.9 was just released today
And will send v3 with different
On Wed, 4 Jun 2025 at 23:29, Akhil Goyal wrote:
>
>
> > On Mon, 26 May 2025 at 14:15, Akhil Goyal wrote:
> >
> > >
> > > DPDK deprecation notice need not include API changes in external
> > > libraries.
> > > We just need to notify the users about the version of ZSDA external lib
> > > is going
in
qp->temp_digest[idx % BURST_MAX] to verify later.
Signed-off-by: Zhangfei Gao
---
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_pm
To get better performance, using async mode to replace sync mode
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/uadk.rst | 15 +++
drivers/compress/uadk/meson.build | 4 +-
drivers/compress/uadk/uadk_compress_pmd.c | 94 ++-
.../compress
Realize async mode to replace sync mode for better performance
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
On Mon, 26 May 2025 at 14:15, Akhil Goyal wrote:
>
> DPDK deprecation notice need not include API changes in external libraries.
> We just need to notify the users about the version of ZSDA external lib is
> going to change in next release or so.
> And then we can change the code.
>
> You can re
On Thu, 22 May 2025 at 19:50, Akhil Goyal wrote:
>
> > Hi, Akhil
> >
> > On Wed, 21 May 2025 at 20:39, Akhil Goyal wrote:
> > >
> > > > Realize async mode to replace sync mode for better performance
> > > >
> > > > Zhangfei Gao
Hi, Akhil
On Wed, 21 May 2025 at 20:39, Akhil Goyal wrote:
>
> > Realize async mode to replace sync mode for better performance
> >
> > Zhangfei Gao (2):
> > compress/uadk: use async mode to replace sync mode
> > crypto/uadk: use async mode to replace sync mo
in
qp->temp_digest[idx % BURST_MAX] to verify later.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 321 +-
drivers/crypto/uadk/uadk_crypto_pmd_private.h | 8 +-
2 files changed, 236 insertions(+), 93 deletions(-)
diff --git a/drivers/crypto/u
To get better performance, using async mode to replace sync mode
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 107 +-
.../compress/uadk/uadk_compress_pmd_private.h | 2 +-
2 files changed, 82 insertions(+), 27 deletions(-)
diff --git a
Realize async mode to replace sync mode for better performance
Zhangfei Gao (2):
compress/uadk: use async mode to replace sync mode
crypto/uadk: use async mode to replace sync mode
drivers/compress/uadk/uadk_compress_pmd.c | 107 --
.../compress/uadk/uadk_compress_pmd_private.h
-perf -l 1,2 --vdev compress_uadk \
> > -- --driver-name compress_uadk --input-file data
> >
> > v3: add the missing doc uadk.ini and change some docs to patch1
> >
> > v2:
> > remove mempool and simply use rte_malloc, suggested by Akhil
> > move doc to patc
This commit adds the burst enqueue and dequeue operations,
Test:
sudo dpdk-test --vdev=compress_uadk
RTE>>compressdev_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/uadk.rst | 19 +
doc/guides/rel_notes/release_24_07.rst| 5 ++
driv
Support the basic dev control operations: configure, close,
start, stop, infos_get, and queue pairs operations, etc.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 279 +-
.../compress/uadk/uadk_compress_pmd_private.h | 16 +
2 files changed
user application can directly use the virtual address for the
device DMA, which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/gu
f=data bs=1M count=1;
sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \
-- --driver-name compress_uadk --input-file data
v3: add the missing doc uadk.ini and change some docs to patch1
v2:
remove mempool and simply use rte_malloc, suggested by Akhil
move doc to patch 3 from patch
Hi, Akhil
On Fri, 7 Jun 2024 at 19:49, Akhil Goyal wrote:
>
> > This commit adds the burst enqueue and dequeue operations,
> > and adds compressdev uadk info to doc
> >
> > Signed-off-by: Zhangfei Gao
> > ---
> > MAINTAINERS
This commit adds the burst enqueue and dequeue operations,
and adds compressdev uadk info to doc
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/compressdevs/index.rst | 1 +
doc/guides/compressdevs/uadk.rst | 98
Support the basic dev control operations: configure, close,
start, stop, infos_get, and queue pairs operations, etc.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 279 +-
.../compress/uadk/uadk_compress_pmd_private.h | 16 +
2 files changed
k
Signed-off-by: Zhangfei Gao
---
drivers/compress/meson.build | 1 +
drivers/compress/uadk/meson.build | 30
drivers/compress/uadk/uadk_compress_pmd.c | 75 +++
.../compress/uadk/uadk_compress_pmd_private.h | 20 +
4 files changed
f=data bs=1M count=1;
sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \
-- --driver-name compress_uadk --input-file data
v2:
remove mempool and simply use rte_malloc, suggested by Akhil
move doc to patch 3 from patch 1
Zhangfei Gao (3):
compress/uadk: Introduce UADK compre
On Fri, 24 May 2024 at 18:20, Akhil Goyal wrote:
>
> > > > +static int
> > > > +uadk_compress_pmd_config(struct rte_compressdev *dev,
> > > > + struct rte_compressdev_config *config)
> > > > +{
> > > > + char mp_name[RTE_MEMPOOL_NAMESIZE];
> > > > + struct uadk_compres
Hi, Akhil
Thanks for your time.
On Thu, 23 May 2024 at 23:38, Akhil Goyal wrote:
>
> Hi Zhangfei,
>
> Overall, a well written driver.
> Please see below comment.
>
> > +static int
> > +uadk_compress_pmd_config(struct rte_compressdev *dev,
> > + struct rte_compressdev_config
On Fri, 24 May 2024 at 00:30, Konstantin Ananyev
wrote:
>
>
>
> > -Original Message-
> > From: Stephen Hemminger
> > Sent: Thursday, May 23, 2024 5:21 PM
> > To: Zhangfei Gao
> > Cc: Akhil Goyal ; Fan Zhang ;
> > Ashish Gupta ;
> >
On Mon, 22 Apr 2024 at 22:31, Zhangfei Gao wrote:
>
> Introduce a new compress PMD for hardware accelerators based on UADK [1].
>
> UADK is a framework for user applications to access hardware accelerators.
> UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share
This commit adds the burst enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 88 ++-
1 file changed, 86 insertions(+), 2 deletions(-)
diff --git a/drivers/compress/uadk/uadk_compress_pmd.c
b/drivers/compress/uadk
Support the basic dev control operations: configure, close,
start, stop, infos_get, and queue pairs operations, etc.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 325 +-
.../compress/uadk/uadk_compress_pmd_private.h | 16 +
2 files changed
k
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/compressdevs/features/uadk.ini | 11 +++
doc/guides/compressdevs/index.rst | 1 +
doc/guides/compressdevs/uadk.rst | 98 +++
doc/guides/rel_notes/r
f=data bs=1M count=1;
sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \
-- --driver-name compress_uadk --input-file data
Zhangfei Gao (3):
compress/uadk: Introduce UADK compression driver
compress/uadk: support basic operations
compress/uadk: support burst enqueue/dequeue
s.kernel.org/misc-devices/uacce.html
>
> Signed-off-by: Chengwen Feng
Good job.
Acked-by: Zhangfei Gao
在 2023/6/9 16:31, Akhil Goyal 写道:
Hi, Akhil
在 2023/6/2 11:04, Zhangfei Gao 写道:
By default, uadk only alloc two queues for each algorithm, which
will impact performance.
Set queue pair number as required in dev_configure.
The default max queue pair number is 8, which can be modified
via para
Hi, Akhil
在 2023/6/2 11:04, Zhangfei Gao 写道:
By default, uadk only alloc two queues for each algorithm, which
will impact performance.
Set queue pair number as required in dev_configure.
The default max queue pair number is 8, which can be modified
via para: max_nb_queue_pairs
Example:
sudo
,max_nb_queue_pairs=10
-- --devtype crypto_uadk --optype cipher-only --buffer-sz 8192
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/uadk.rst| 27 +++
drivers/crypto/uadk/uadk_crypto_pmd.c | 18 +++--
drivers/crypto/uadk
,max_nb_queue_pairs=10
-- --devtype crypto_uadk --optype cipher-only --buffer-sz 8192
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/uadk.rst| 27 +++
drivers/crypto/uadk/uadk_crypto_pmd.c | 18 +++--
drivers/crypto/uadk
.22
> >98192 327.5223 871.23
> >28192 327.5222 871.23
> >88192 327.5222 871.23
> > 6 8192 327.5218 871.28
> &g
28192 327.5222 871.23
88192 327.5222 871.23
68192 327.5218 871.28
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 19
Hi, Akhil
Excuse me for the question.
I am testing UADK crypto performance with dpdk-test-crypto-perf, and
want to use multi-thread or multi-session for better performance, so
trying to use crypto_scheduler.
CMD like
sudo dpdk-test-crypto-perf -l 1,2 --vdev "crypto_uadk0" --vdev
"crypto_uad
p [options]` is ambiguous and deprecated.
Therefore fix the examples in the documentation.
Signed-off-by: Stephen Hemminger
Thanks Stephen
For doc/guides/cryptodevs/uadk.rst
Acked-by: Zhangfei Gao
It will be great if updating https://core.dpdk.org/doc/quick-start/ as
well, here is what I le
into small (individually compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorit
On 2022/10/26 下午11:43, Akhil Goyal wrote:
+ { /* SHA384 HMAC */
+ .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,
+ {.sym = {
+ .xform_type = RTE_CRYPTO_SYM_XFORM_AUTH,
+ {.auth = {
+ .algo =
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/meson.build | 1 +
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
doc/guides/cryptodevs/uadk.rst | 3
Add support for MD5, SHA1, SHA224, SHA256, SHA384, SHA512
Authentication algorithms with and without HMAC.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst| 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c
Add support for cipher algorithms,
including AES_ECB, AES_CBC, AES_XTS, and DES_CBC mode.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst| 6 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 303
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 194 +-
drivers/crypto/uadk/uadk_crypto_pmd_private.h | 19 ++
2 files
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 +
doc/guides/cryptodevs/features/uadk.ini
y compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorithms
crypto/uadk: sup
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/meson.build | 1 +
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
doc/guides/cryptodevs/uadk.rst | 3
Add support for MD5, SHA1, SHA224, SHA256, SHA384, SHA512
Authentication algorithms with and without HMAC.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst| 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c
Add support for cipher algorithms,
including AES_ECB, AES_CBC, AES_XTS, and DES_CBC mode.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst| 6 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 303
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 +
doc/guides/cryptodevs/features/uadk.ini
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 194 +-
drivers/crypto/uadk/uadk_crypto_pmd_private.h | 19 ++
2 files
/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorithms
crypto/uadk: support auth algorithms
test/crypto: sup
-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files changed, 486 insertions(+)
@@ -72,6 +84,252 @@ RTE_LOG_REGISTER_DEFAULT
On Tue, 25 Oct 2022 at 22:57, Akhil Goyal wrote:
>
> > Subject: [EXT] [PATCH resend v5 6/6] test/crypto: add
> > cryptodev_uadk_autotest
> Rewrite patch title as
> test/crypto: support uadk PMD
>
> >
> Add a line
> Updated test application to run autotest for uadk crypto PMD.
> > Example:
> > sud
Hi, Akhil
Thanks for your guidance.
On Tue, 25 Oct 2022 at 23:02, Akhil Goyal wrote:
>
>
> > Introduce a new crypto PMD for hardware accelerators based on UADK [1].
> >
> > UADK is a framework for user applications to access hardware accelerators.
> > UADK relies on IOMMU SVA (Shared Virtual Add
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
``
* ``RTE_CRYPTO_AUTH_SHA384_HMAC``
* ``RTE_CRYPTO_AUTH_SHA512``
* ``RTE_CRYPTO_AUTH_SHA512_HMAC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 213 --
1 file changed, 204 insertions(+), 9 deletions(-)
diff --git a
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/cryptodevs/features/uadk.ini | 33
/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorithms
crypto/uadk: support auth algorithms
test/crypto: add cryptodev_
On Thu, 20 Oct 2022 at 22:46, Akhil Goyal wrote:
>
> > Introduce a new crypto PMD for hardware accelerators based on UADK [1].
> >
> > UADK is a framework for user applications to access hardware accelerators.
> > UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share
> > the same
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
``
* ``RTE_CRYPTO_AUTH_SHA384_HMAC``
* ``RTE_CRYPTO_AUTH_SHA512``
* ``RTE_CRYPTO_AUTH_SHA512_HMAC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 213 --
1 file changed, 204 insertions(+), 9 deletions(-)
diff --git a
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/cryptodevs/features/uadk.ini | 33
better
than platform.
enum uadk_crypto_version {
UADK_CRYPTO_V2,
UADK_CRYPTO_V3,
};
Update in v1, compared with rfc
Suggested from Akhil Goyal
Only consider crypto PMD first
Split patch into small (individually compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
On Fri, 21 Oct 2022 at 01:12, Akhil Goyal wrote:
>
> > On Thu, 20 Oct 2022 at 22:46, Akhil Goyal wrote:
> > >
> > > > Introduce a new crypto PMD for hardware accelerators based on UADK [1].
> > > >
> > > > UADK is a framework for user applications to access hardware
> > > > accelerators.
> > > >
o write empty functions.
> >Add basic documentation also which defines what the driver is.
> >You can explain the build dependency here.
> > 2. define queue structs and setup/remove APIs
> > 3. Add data path
> > 4. implement cipher op. Add capabilities and documentation of what is
>
Hi, Akhil
On Wed, 19 Oct 2022 at 23:27, Zhangfei Gao wrote:
> > > > Hi everyone,
> > > >
> > > >
> > > >
> > > > We have a new crypto PMD submitted on ML
> > > (http://patches.dpdk
On Wed, 19 Oct 2022 at 22:25, Akhil Goyal wrote:
>
> Hi Zhangfei,
> > Hi, Akhil
> >
> > On Mon, 17 Oct 2022 at 15:02, Akhil Goyal wrote:
> > >
> > > Hi everyone,
> > >
> > >
> > >
> > > We have a new crypto PMD submitted on ML
> > (http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-
sudo dpdk-test --vdev=crypto_uadk --log-level=6
vdev_probe(): failed to initialize crypto_uadk device
EAL: Bus (vdev) probe failed.
RTE>>quit
Segmentation fault
Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Signed-off-by: Zhangfei Gao
---
v2:
Suggested by David Ma
sudo dpdk-test --vdev=crypto_uadk --log-level=6
vdev_probe(): failed to initialize crypto_uadk device
EAL: Bus (vdev) probe failed.
RTE>>quit
Segmentation fault
Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Signed-off-by: Zhangfei Gao
---
v2:
Suggested by David Ma
On Wed, 19 Oct 2022 at 19:39, David Marchand wrote:
>
> On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
> >
> > The vdev_probe calls driver->probe, which may fail
> > and dev->device.driver will still be NULL.
> >
> > In vdev_cleanup, drv = cont
Hi, David
On Wed, 19 Oct 2022 at 19:39, David Marchand wrote:
>
> On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
> >
> > The vdev_probe calls driver->probe, which may fail
> > and dev->device.driver will still be NULL.
> >
> > In vdev_clea
Hi, Akhil
On Mon, 17 Oct 2022 at 15:02, Akhil Goyal wrote:
>
> Hi everyone,
>
>
>
> We have a new crypto PMD submitted on ML
> (http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhangfei@linaro.org/)
>
>
>
> This PMD is dependent on an external library which needs to be cross
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto
1 - 100 of 158 matches
Mail list logo