[PATCH v1 2/9] crypto/zsda: add device operations

2025-03-02 Thread Hanxiao Li
From: root Add crypto device operations for zsda devices. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_sym_pmd.c | 94 -- 1 file changed, 89 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/zsda/zsda_sym_pmd.c b/drivers/crypto/zsda/zsda_sym_pmd.

[PATCH v1 4/9] crypto/zsda: add queue pair configuration

2025-03-02 Thread Hanxiao Li
From: root Add crypto queue pair configuration operations for zsda device. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_sym_pmd.c | 68 +- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/zsda/zsda_sym_pmd.c b/drivers/crypto/z

[PATCH v1 0/9] crypto/zsda: add zsda cryptodev driver

2025-03-02 Thread Hanxiao Li
v1: - Add zsda cryptodev driver. root (9): crypto/zsda: add skeleton crypto/zsda: add device operations crypto/zsda: add statistics crypto/zsda: add queue pair configuration crypto/zsda: add session configuration crypto/zsda: add enqueue datapath crypto/zsda: add dequeue datapath

[PATCH v1 9/9] app/test: add zsda cryptodev test

2025-03-02 Thread Hanxiao Li
From: root Add crypto test for zsda device and driver. Signed-off-by: Hanxiao Li --- app/test/test_cryptodev.c| 7 +++ app/test/test_cryptodev.h| 1 + doc/guides/compressdevs/zsda.rst | 6 ++ 3 files changed, 14 insertions(+) diff --git a/app/test/test_cryptodev.c b/ap

[PATCH v1 5/9] crypto/zsda: add session configuration

2025-03-02 Thread Hanxiao Li
From: root Add crypto session configuration for zsda device. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build| 2 +- drivers/crypto/zsda/zsda_sym_pmd.c | 42 ++- drivers/crypto/zsda/zsda_sym_session.c | 498 + drivers/crypto/zsda/zsda_sym_ses

[PATCH v1 8/9] crypto/zsda: add capabilities

2025-03-02 Thread Hanxiao Li
From: root Add crypto capabilities scope for zsda device. Signed-off-by: Hanxiao Li --- doc/guides/compressdevs/zsda.rst| 9 ++ doc/guides/cryptodevs/features/zsda.ini | 19 +++- doc/guides/cryptodevs/zsda.rst | 24 + doc/guides/rel_notes/release_25_03.rst

[PATCH v1 6/9] crypto/zsda: add enqueue datapath

2025-03-02 Thread Hanxiao Li
From: root Add crypto enqueue datapath configuration for zsda device. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build| 2 +- drivers/crypto/zsda/zsda_sym.c | 256 + drivers/crypto/zsda/zsda_sym.h | 45 + drivers/crypto/zsda/zsda_sym_

[PATCH v1 3/9] crypto/zsda: add statistics

2025-03-02 Thread Hanxiao Li
From: root Add crypto statistics operations for zsda devices. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_sym_pmd.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/zsda/zsda_sym_pmd.c b/drivers/crypto/zsda/zsda_sym_pmd.c i

[PATCH v1 1/9] crypto/zsda: add skeleton

2025-03-02 Thread Hanxiao Li
From: root Add crypto driver skeleton for zsda devices. Signed-off-by: Hanxiao Li --- MAINTAINERS | 6 ++ doc/guides/cryptodevs/features/zsda.ini | 38 doc/guides/cryptodevs/zsda.rst | 26 ++ drivers/common/zsda/meson.build | 12 ++

[PATCH v1 7/9] crypto/zsda: add dequeue datapath

2025-03-02 Thread Hanxiao Li
From: root Add crypto dequeue datapath configuration for zsda device. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_sym.c | 16 drivers/crypto/zsda/zsda_sym.h | 2 ++ drivers/crypto/zsda/zsda_sym_pmd.c | 12 ++-- 3 files changed, 28 insertions(+), 2 d

RE: [PATCH] mempool: micro optimizations

2025-03-02 Thread Morten Brørup
> > > Is there any measurable performance change with these > modifications? > > > > It varies. > > Here are some of the good ones, tested on a VM under VMware: > > > > mempool_autotest cache=512 cores=1 > > n_get_bulk=64 n_put_bulk=64 n_keep=128 constant_n=0 > > rate_persec=1309408130 -> 141706788

RE: [EXTERNAL] [PATCH] app/test: fix the check of the oop header data

2025-03-02 Thread Akhil Goyal
> The data of the out-of-place header is never checked. Therefore, > the faulty PMD, which overwrites this data, will not be able to > verify that with tests. New checks to support that were added to > the GCM OOP functions. > > Fixes: 51e202f0596f ("test/crypto: rename GCM test code") > Cc: sta..

RE: [EXTERNAL] [PATCH] crypto/qat: fix incorrect sm3 state size

2025-03-02 Thread Akhil Goyal
> This commit fixes incorrectly set state size within > the QAT PMD. > > Fixes: 75fd4bbc94ab ("crypto/qat: support SM3 hash algorithm") > Cc: sta...@dpdk.org > > Signed-off-by: Arkadiusz Kusztal Applied to dpdk-next-crypto

RE: [EXTERNAL] [PATCH] test/crypto: remove unused variable

2025-03-02 Thread Akhil Goyal
> In the new session framework, each crypto session no longer requires > the session_priv_mpool, and it is no longer referenced during testsuite > setup. However, the structure `struct crypto_testsuite_params` still > contains the session_priv_mpool member, which may lead to > the misunderstanding

RE: [EXTERNAL] [PATCH v5 1/3] cryptodev: add SM4 GCM

2025-03-02 Thread Akhil Goyal
> Added support for symmetric algorithm SM4 GCM in cryptodev. > > Signed-off-by: Brian Dooley > --- > v5: > Change with GCM mode to in GCM mode Acked-by: Akhil Goyal Series applied to dpdk-next-crypto Thanks.

RE: [PATCH] common/qat: fix incorrect size in the parser

2025-03-02 Thread Akhil Goyal
> > Subject: [PATCH] common/qat: fix incorrect size in the parser > > > > The function `strlen` returns the size of the string without a terminating > > null- > > character, therefore a request to allocate memory space for a parsed > > argument > > is too small by 1. > > > > Fixes: 99ab2806687b (

RE: [v2 1/2] crypto/openssl: validate incorrect signature in verify op

2025-03-02 Thread Akhil Goyal
> Subject: [v2 1/2] crypto/openssl: validate incorrect signature in verify op > > Return correct error status when incorrect signature is > used in RSA verify op. > > Fixes: d7bd42f6db19 ("crypto/openssl: update RSA routine with 3.0 EVP API") > Cc: sta...@dpdk.org > > Signed-off-by: Gowrishankar

RE: [PATCH] crypto/cnxk: fix status code in asymmetric operation

2025-03-02 Thread Akhil Goyal
> Subject: [PATCH] crypto/cnxk: fix status code in asymmetric operation > > Return error code in an asymmetric operation status > when none of the known conditions met. > > Fixes: d29c4e0a4bea ("crypto/cnxk: fix ECDH public key verification") > > Signed-off-by: Gowrishankar Muthukrishnan > ---

RE: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256

2025-03-02 Thread Akhil Goyal
> -Original Message- > From: Nithinsen Kaithakadan > Sent: Friday, February 7, 2025 7:16 PM > To: Radu Nicolau ; Akhil Goyal > Cc: Anoob Joseph ; Tejasree Kondoj > ; Nithin Kumar Dabilpuram > ; dev@dpdk.org > Subject: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256 > > This pa

RE: [EXTERNAL] [PATCH] test/crypto: fix the bug of AES-ECB test

2025-03-02 Thread Akhil Goyal
> The test vector aes_test_data_19 plaintext is 192 bytes and this vector > is used to test 192-byte plaintext, but test vector plaintext.len > value is incorrectly assigned to 64. > > The test vector aes_test_data_20 plaintext length is 256 bytes, but > testcase comment incorrectly describes it a

RE: [External] [PATCH v2] cryptodev: not close device when secondary exit

2025-03-02 Thread Akhil Goyal
> >> The secordary process should not close the crypto device when > >> it exits because the primary process still manage the device. > >> There is no reason with occurring error log below when > >> secordary process exits without any operation on the crypto > >> device while primary process starts

RE: [EXTERNAL] [PATCH] cryptodev: allow use of global variables from C++

2025-03-02 Thread Akhil Goyal
Hi Mattias, Can you update this patch? > > Avoid C++ name mangling of the two global variables being exported > > from . > > > > Suggested-by: David Marchand > > Signed-off-by: Mattias Rönnblom > > --- > > lib/cryptodev/rte_crypto_asym.h | 8 > > 1 file changed, 8 insertions(+) > > >

Re: DPDK support in libpcap

2025-03-02 Thread Denis Ovsienko
On Sat, 1 Mar 2025 10:28:21 +0100 Stephen Hemminger wrote: > Last time I looked at that code it was really ugly, and messy. But > more of importantly it was the wrong use case. Very few users will > want to have a NIC dedicated to capture only. > > The whole thing should be rewritten so that tcp

RE: [PATCH v3 1/3] eventdev/eth_rx: add API to burst add queues to Rx adapter

2025-03-02 Thread Jerin Jacob
> -Original Message- > From: Naga Harish K, S V > Sent: Saturday, March 1, 2025 2:59 PM > To: Shijith Thotton ; Jerin Jacob > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula ; > Pathak, Pravin ; Hemant Agrawal > ; Sachin Saxena ; > Mattias R_nnblom ; Liang Ma > ; Mccarthy, Peter ; Van >

RE: [EXTERNAL] [RFC v7 4/4] eventdev: documentation for atomic queue and atomic atq tests

2025-03-02 Thread Jerin Jacob
> -Original Message- > From: Luka Jankovic > Sent: Wednesday, February 19, 2025 7:13 PM > To: luka.janko...@ericsson.com > Cc: dev@dpdk.org; Jerin Jacob ; > mattias.ronnb...@ericsson.com; Pavan Nikhilesh Bhagavatula > > Subject: [EXTERNAL] [RFC v7 4/4] eventdev: documentation for atomi