Due to recent changes to the default device socket ID, before
being used as an index for session mempool list,
set socket ID to 0 if unknown (-1).
Fixes: 7dcd73e37965 ("drivers/bus: set device NUMA node to unknown by default")
Cc: olivier.m...@6wind.com
Cc: sta...@dpdk.org
Signed-off-
Due to recent changes to the default device socket ID, before
being used as an index for session mempool list,
set socket ID to 0 if unknown (-1).
Fixes: 7dcd73e37965 ("drivers/bus: set device NUMA node to unknown by default")
Cc: olivier.m...@6wind.com
Cc: sta...@dpdk.org
Signed-off-
From: Arkadiusz Kusztal
Added sessionless ECDSA known answer test cases to
QAT asym crypto testsuite.
Signed-off-by: Arkadiusz Kusztal
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 209 +
1 file changed, 209 insertions(+)
diff --git a/app/test
From: Arkadiusz Kusztal
Added Elliptic-Curve Diffie Hellman test cases.
Signed-off-by: Arkadiusz Kusztal
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 366
app/test/test_cryptodev_ecdh_test_vectors.h | 144
2 files changed, 510
From: Arkadiusz Kusztal
Added Diffie-Hellman tests. This tests adding possibility
to check correctness of particular DH phases, which is not
possible with current tests cases.
Signed-off-by: Arkadiusz Kusztal
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c| 264
This patch add in the new DH, ECDH and ECDSA asymc test cases.
Arkadiusz Kusztal (3):
app/test: add diffie-hellman test cases
app/test: add ecdh test cases
app/test: add ecdsa kat sessionless tests
app/test/test_cryptodev_asym.c | 839
app/test/test_crypto
From: Arkadiusz Kusztal
Added Elliptic-Curve Diffie Hellman test cases.
Signed-off-by: Arkadiusz Kusztal
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 356
app/test/test_cryptodev_ecdh_test_vectors.h | 144
2 files changed, 500
From: Arkadiusz Kusztal
Added Diffie-Hellman tests. This tests adding possibility
to check correctness of particular DH phases, which is not
possible with current tests cases.
Signed-off-by: Arkadiusz Kusztal
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c| 262
fix of ASAN report on heap-use-after-free error on tmp buffer.
Fixes: d7bd42f6db19 ("crypto/openssl: update RSA routine with 3.0 EVP API")
Cc: kai...@intel.com
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/rte_openssl_pmd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletion
From: Pablo de Lara
Updated AESNI MB and AESNI GCM, KASUMI, ZUC, SNOW3G
and CHACHA20_POLY1305 PMD documentation guides
with information about the latest Intel IPSec Multi-buffer
library supported.
Signed-off-by: Pablo de Lara
Acked-by: Ciara Power
Acked-by: Brian Dooley
Signed-off-by: Kai Ji
From: Pablo de Lara
Updated AESNI MB and AESNI GCM, KASUMI, ZUC, SNOW3G
and CHACHA20_POLY1305 PMD documentation guides
with information about the latest Intel IPSec Multi-buffer
library supported.
Signed-off-by: Pablo de Lara
Acked-by: Ciara Power
Acked-by: Brian Dooley
Signed-off-by: Kai Ji
From: Pablo de Lara
Updated AESNI MB and AESNI GCM, KASUMI, ZUC, SNOW3G
and CHACHA20_POLY1305 PMD documentation guides
with information about the latest Intel IPSec Multi-buffer
library supported.
Signed-off-by: Pablo de Lara
Acked-by: Ciara Power
Acked-by: Brian Dooley
Signed-off-by: Kai Ji
From: Pablo de Lara
Updated AESNI MB and AESNI GCM, KASUMI, ZUC, SNOW3G
and CHACHA20_POLY1305 PMD documentation guides
with information about the latest Intel IPSec Multi-buffer
library supported.
Signed-off-by: Pablo de Lara
Acked-by: Ciara Power
Acked-by: Brian Dooley
Signed-off-by: Kai Ji
This patch remove incorrect bitwise and operator used in the
return function of sw snow3g testcase
Fixes: 24342ade2c9d ("test/crypto: check SNOW3G when digest is encrypted")
Cc: lukaszx.krakow...@intel.com
Signed-off-by: Kai Ji
---
app/test/test_cryptodev.c | 6 --
1 file
This patch remove incorrect bitwise and operator used in the
return function of sw snow3g testcase
Signed-off-by: Kai Ji
---
app/test/test_cryptodev.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index e1122fcd7c
This patch fix the EXIST error handling when calling
rte_mp_action_register().
Signed-off-by: Kai Ji
---
drivers/crypto/ipsec_mb/ipsec_mb_private.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/ipsec_mb/ipsec_mb_private.c
b/drivers/crypto
This patch fix the NULL pointer check when dereference qp and ring
lookup.
Coverity issue: 381625
Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Kai Ji
---
drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 5 +++--
1 file
rovide the ownership of the queue-pair so that only the PID
matched queue-pair can be free'd in the request.
Signed-off-by: Kai Ji
Acked-by: Arek Kusztal
Acked-by: Pablo de Lara
---
v5:
- minor updates and typo fix
v4:
- review comments resolved
v3:
- remove shared memzone as qp_conf param
rovide the ownership of the queue-pair so that only the PID
matched queue-pair can be free'd in the request.
Signed-off-by: Kai Ji
Acked-by: Arek Kusztal
---
v4:
- review comments resolved
v3:
- remove shared memzone as qp_conf params can be passed directly from
ipc message.
v2:
- add in sha
nership of the queue-pair so that only the PID matched
queue-pair can be free'd in the request.
Signed-off-by: Kai Ji
---
v4:
- review comments resolved
v3:
- remove shared memzone as qp_conf params can be passed directly from
ipc message.
v2:
- add in shared memzone for data exchang
nership of the queue-pair so that only the PID matched
queue-pair can be free'd in the request.
Signed-off-by: Kai Ji
---
drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 129 -
drivers/crypto/ipsec_mb/ipsec_mb_private.c | 24 +++-
drivers/crypto/ipsec_mb/ipsec_mb_private.h
nership of the queue-pair so that only the PID matched
queue-pair can be free'd in the request.
Signed-off-by: Kai Ji
---
v4:
- review comments resolved
v3:
- remove shared memzone as qp_conf params can be passed directly from
ipc message.
v2:
- add in shared memzone for data exchang
ownership of the queue-pair so that only the PID matched queue-pair
can be free'd in the request.
Signed-off-by: Kai Ji
---
v3:
- remove shared memzone as qp_conf params can be passed directly from
ipc message.
v2:
- add in shared memzone for data exchange between multi-process
---
ownership of the queue-pair so that only the PID matched queue-pair
can be free'd in the request.
Signed-off-by: Kai Ji
---
v2:
- add in share memzone for data exchange between multi-process
---
drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 135 -
drivers/
ownership of the queue-pair so that only the PID matched queue-pair
can be free'd in the request.
Signed-off-by: Kai Ji
---
drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 69 ++
drivers/crypto/ipsec_mb/ipsec_mb_private.c | 22 ++-
drivers/crypto/ipsec_mb/ipsec_mb
via IPC messages during the runtime.
After setup, a new "qp_in_used_pid" param stores the PID to provide
the ownership of the queue-pair so that only the PID matched queue-pair
free request is allowed in the future.
Signed-off-by: Kai Ji
Acked-by: Ciara Power
---
v5:
- fix of unit
via IPC messages during the runtime.
After setup, a new "qp_in_used_pid" param stores the PID to provide
the ownership of the queue-pair so that only the PID matched queue-pair
free request is allowed in the future.
Signed-off-by: Kai Ji
---
v4:
- release note update
- Doxygen comments
This patch fix the session pointer passed in set_session()
when ctx has NULL build request pointer in multi-processes
scenario.
Fixes: fb3b9f492205 ("crypto/qat: rework burst data path")
Cc: sta...@dpdk.org
Signed-off-by: Kai Ji
---
drivers/crypto/qat/qat_sym.c | 2 +-
1 file
This patch add a function to support queue-pair configuration
request to allow the primary or secondary process to setup/free the
queue-pair via IPC handler. Add in queue pair in-used by process id
array in rte_cryptodev_data for pid tracking.
Signed-off-by: Kai Ji
---
v3:
- addin missing free
This patch add a function to support queue-pair configuration
request to allow the primary or secondary process to setup/free the
queue-pair via IPC handler.
Signed-off-by: Kai Ji
---
lib/cryptodev/cryptodev_pmd.h | 3 +-
lib/cryptodev/rte_cryptodev.c | 89
This patch sets the max length of dst in OpenSSL 3.0 lib EVP MAC final
routine to ensure enough space for the result.
Fixes: 75adf1eae44f ("crypto/openssl: update HMAC routine with 3.0 EVP API")
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/crypto/openssl/rte_openssl_pmd.c
This patch add in multi-process IPC request handler function in rte
cryptodev. This function intend to support a queue-pair configuration
request to allow the secondary process to reconfigure the queue-pair
setup'ed by the primary process.
Signed-off-by: Kai Ji
---
lib/cryptodev/rte_crypto
This patch add in libcrypto version check before enable libipsec-mb for
QAT. The inter-ipsec-mb lib for partial hash and AES calculation should
only be enabled when both OpensSSL 3.0 and IPSec_MB 1.2.0 are installed
on the system.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 4
This patch add in libcrypto version check before enable libipsec-mb for
QAT. The inter-ipsec-mb lib for partial hash and AES calculation should
only be enabled when both OpensSSL 3.0 and IPSec_MB 1.2.0 are installed
on the system.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 4
This patch add in libcrypto version check before enable libipsec-mb for
QAT. The inter-ipsec-mb lib for partial hash and AES cacluation should
only be enabled when both OpensSSL 3.0 and IPSec_MB 1.2.0 are installed
on the system.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 4
h and AES")
Signed-off-by: Kai Ji
---
drivers/crypto/qat/qat_sym_session.c | 53
1 file changed, 39 insertions(+), 14 deletions(-)
diff --git a/drivers/crypto/qat/qat_sym_session.c
b/drivers/crypto/qat/qat_sym_session.c
index b30396487e..42164cc6c6 100644
---
This fix of dstlen passed in OpenSSL 3.0 lib EVP MAC final routine.
Fixes: 75adf1eae44f ("crypto/openssl: update HMAC routine with 3.0 EVP API")
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/rte_openssl_pmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driv
y: Rebecca Troy
Signed-off-by: Kai Ji
---
drivers/crypto/qat/qat_sym.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c
index 3477cd89ad..db6316fbe9 100644
--- a/drivers/crypto/qat/qat_sym.c
+++ b/d
enssl: update RSA routine with 3.0 EVP API")
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/rte_openssl_pmd.c | 32 ++--
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 --
2 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/drivers/crypto/openssl/rte_openss
ned-off-by: Kai Ji
---
drivers/crypto/openssl/rte_openssl_pmd.c | 32 ++--
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 --
2 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c
b/drivers/crypto/openssl/rte_openssl_p
This patch updates asymmetric DSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign
test to two individual dsa sign and dsa verfiy tests.
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 90 --
doc/guides/rel_notes
This patch updates asymmetric DH routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 185 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch updates asymmetric RSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 7 +
drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch update the symmetric HMAC routine in crypto openssl
pmd to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++-
2 files changed, 181 insertions(+), 10
This patch set update openssl pmd deprecated APIs to EVP
APIs where supported in openssl 3.0 lib
---
v5:
- review comments fix and release notes update
v4:
- compilation issue fix
v3:
- rebase to 22.07 rc1
v2:
- addin DSA routine
---
Kai Ji (4):
crypto/openssl: update on HMAC routine with
This patch updates asymmetric DSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign
test to two individual dsa sign and dsa verfiy tests.
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 90 --
doc/guides/rel_notes
This patch updates asymmetric DH routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 185 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch updates asymmetric RSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 7 +
drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch update the symmetric HMAC routine in crypto openssl
pmd to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++-
2 files changed, 181 insertions(+), 10
This patch set update openssl pmd deprecated APIs to EVP
APIs where supported in openssl 3.0 lib
---
v5:
- review comments fix and release notes update
v4:
- compilation issue fix
v3:
- rebase to 22.07 rc1
v2:
- addin DSA routine
---
Kai Ji (4):
crypto/openssl: update on HMAC routine with
This patch updates asymmetric DSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign
test to two individual dsa sign and dsa verfiy tests.
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 90 --
drivers/crypto
This patch updates asymmetric DH routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 185 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch updates asymmetric RSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 7 +
drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch update the symmetric HMAC routine in crypto openssl
pmd to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++-
2 files changed, 181 insertions(+), 10
This patch set update openssl pmd deprecated APIs to EVP
APIs where supported in openssl 3.0 lib
---
v4:
- compilation issue fix
v3:
- rebase to 22.07 rc1
v2:
- addin DSA routine
---
Kai Ji (4):
crypto/openssl: 3.0 EVP update on HMAC routine
crypto/openssl: 3.0 EVP update on RSA routine
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash & aes operation when creating the session. This
patch add in qat_ipsec_mb_lib driver parameter to allow QAT PMD to
switch APIs between openssl and intel ipsec-mb library.
Signed-off-by: Kai Ji
Signed-of
This patch updates asymmetric DSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign
test to two indiviual dsa sign and dsa verfiy tests.
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 90 --
drivers/crypto/openssl
This patch updates asymmetric RSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 7 +
drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch updates asymmetric DH routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 185 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch update the symmetric HMAC routine in crypto openssl
pmd to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++-
2 files changed, 181 insertions(+), 10
This patch set update openssl pmd deprecated APIs to EVP
APIs where supported in openssl 3.0 lib
---
v3:
- rebase to 22.07 rc1
v2:
- addin DSA routine
Kai Ji (4):
crypto/openssl: 3.0 EVP update on HMAC routine
crypto/openssl: 3.0 EVP update on RSA routine
crypto/openssl: 3.0 EVP update on
Update and rephrasing some sentences, small improvements
made to the multi-process sample application user guide
Fixes: d0dff9ba445e ("doc: sample application user guide")
Cc: bernard.iremon...@intel.com
Signed-off-by: Kai Ji
---
doc/guides/sample_app_ug/multi_proces
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash & aes operation when creating the session. This
patch add in qat_ipsec_mb_lib driver parameter to allow QAT PMD to
switch APIs between openssl and intel ipsec-mb library.
Signed-off-by: Kai Ji
Signed-of
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash & aes operation when creating the session. This
patch add in qat_ipsec_mb_lib driver parameter to allow QAT PMD to
switch APIs between openssl and intel ipsec-mb library.
Signed-off-by: Kai Ji
Signed-of
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash & aes operation when creating the session. This
patch add in qat_ipsec_mb_lib driver parameter to allow QAT PMD to
switch APIs between openssl and intel ipsec-mb library.
Signed-off-by: Kai Ji
Signed-of
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash & aes operation when creating the session. This
patch add in qat_ipsec_mb_lib driver parameter to allow QAT PMD to
switch APIs between openssl and intel ipsec-mb library.
Signed-off-by: Kai Ji
Signed-of
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash & aes operation when creating the session. This
patch is to transfer such dependency from openssl to intel-ipsec-mb.
Signed-off-by: Kai Ji
Signed-off-by: Fan Zhang
---
drivers/crypto/qat/qat_sym_sessi
Add in build option for QAT pmd use intel ipsec-mb lib
instead openssl for precompute partial hash & aes.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 12
meson_options.txt | 2 ++
2 files changed, 14 insertions(+)
diff --git a/drivers/common
This patch updates asymmetric DSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign
test to two indiviual dsa sign and dsa verfiy tests.
Signed-off-by: Kai Ji
---
app/test/test_cryptodev_asym.c | 91 --
drivers/crypto/openssl
This patch updates asymmetric DH routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 186 ++-
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch updates asymmetric RSA routine in crypto openssl pmd
to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 7 +
drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++
drivers/crypto/openssl/rte_openssl_pmd_ops.c
This patch update the symmetric HMAC routine in crypto openssl
pmd to adopt openssl 3.0 EVP apis.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/openssl_pmd_private.h | 4 +
drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++-
2 files changed, 181 insertions(+), 10
Enable openssl_api_compat cflag to suppress deprecated api warning
messages in crypto pmd drivers: ccp, openssl and qat.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 1 +
drivers/crypto/ccp/meson.build | 1 +
drivers/crypto/openssl/meson.build | 1 +
3 files changed, 3
This patch set update openssl pmd deprecated APIs to EVP
APIs where supported in openssl 3.0 lib.
Depends-on: series-22684 ("cryptodev: move dh type from xform to dh op")
Kai Ji (5):
drivers/crypto: suppress openssl deprecated api warning messages
crypto/openssl: 3.0 EVP upda
This patch update the asymmetric RSA and DH routine in crypto
openssl pmd to adopt openssl 3.0 EVP library.
Signed-off-by: Kai Ji
---
drivers/crypto/openssl/compat.h | 43 ++-
drivers/crypto/openssl/openssl_pmd_private.h | 11 +
drivers/crypto/openssl/rte_openssl_pmd.c | 288
This patch fix the cipher & auth offset and length values when convert
mbuf to vector chain for QAT build op.
Fixes: a815a04cea05 ("crypto/qat: support symmetric build op request")
Signed-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 20 ++--
This patch fix the cipher offset and length values when convert
mbuf to vector chain for QAT build op.
Fixes: a815a04cea05 ("crypto/qat: support symmetric build op request")
Signed-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 12 ++--
1 file changed, 6
ned-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 3 +++
drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 3 +++
drivers/crypto/qat/dev/qat_sym_pmd_gen1.c| 3 +++
drivers/crypto/qat/qat_sym.c | 8
4 files changed, 13 insertions(+), 4 deletions(-)
di
This patch fix the process type handling in QAT PMDs where
only primary and secondary process are supported in qat
build request
Signed-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 3 +++
drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 3 +++
drivers/crypto/qat/dev
This patch setup OPENSSL_API_COMPAT to suppress deprecated compile
warning messages in ccp, openssl and qat PMDs, also update the symmetric
EVP routine in crypto openssl pmd to adopt openssl 3.0 library.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/common/qat/meson.build
This patch adds the SGL out of place support to QAT PMD
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 28 --
drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 14 -
drivers/crypto/qat/dev/qat_sym_pmd_gen1.c| 55 +---
3
This patch unifies QAT's raw dp api implementations
to the same enqueue/dequeue methods used in crypto operations.
The specific functions for different QAT generation are updated
respectively. The qat_sym_hw_dp.c is removed as no longer required.
Signed-off-by: Kai Ji
Acked-by: Fan
This patch enable the op_build_request function in
qat_enqueue_op_burst, and the qat_dequeue_process_response
function in qat_dequeue_op_burst.
The op_build_request invoked in crypto build request op is based
on crypto operations setup'd during session init.
Signed-off-by: Kai Ji
Acked-by
This patch removes qat_asym_pmd.c and integrates all the
functions into qat_asym.c. The unified/integrated asym crypto
pmd functions should make them easier to maintain.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/common/qat/meson.build| 2 +-
drivers/crypto/qat/qat_asym.c
This patch removes qat_sym_pmd.c and integrates all the functions into
qat_sym.c. The unified/integrated qat sym crypto pmd functions should
make them easier to maintain.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/common/qat/meson.build | 4 +-
drivers/common/qat
This patch reworks the asymmetric crypto data path
implementation in QAT driver. The changes include asymmetric
crypto data path separation for QAT hardware generations, and
code optimisation of the device capabilities declaration.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/common
This patch introduces a set of set_session methods to QAT
generations. In addition, the reuse of QAT session between
generations is prohibit as the support of min_qat_dev_gen_id'
is removed.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/crypto/qat/dev/qat_asym_pmd_gen1.c
This patch adds common inline functions for QAT symmetric
crypto driver to process crypto op, and the implementation of
build op request function for QAT generation 1.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 832 ++-
drivers
This patch introduce build request and dequeue op function
pointers to the qat queue pair implementation. The function
poniters are assigned during qat session generation based on input
crypto operation request.
Signed-off-by: Kai Ji
Acked-by: Fan Zhang
---
drivers/common/qat/qat_qp.c
- rebase to the lastest for-main
v5:
- rebase to the latest for-main
- patchset reconstruct
v4:
- patchset break down and reconstruct
v3:
- sperate a single patch 6 to two different patches
v2:
- review comments addressed
Kai Ji (9):
common/qat: define build request and dequeue ops
crypto
This patch unifies QAT's raw dp api implementations
to the same enqueue/dequeue methods used in crypto operations.
The specific functions for different QAT generation are updated
respectively. The qat_sym_hw_dp.c is removed as no longer required.
Signed-off-by: Kai Ji
---
drivers/commo
This patch adds the SGL out of place support to QAT PMD
Signed-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 28 --
drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 14 -
drivers/crypto/qat/dev/qat_sym_pmd_gen1.c| 55 +---
3 files changed, 83
This patch enable the op_build_request function in
qat_enqueue_op_burst, and the qat_dequeue_process_response
function in qat_dequeue_op_burst.
The op_build_request invoked in crypto build request op is based
on crypto operations setup'd during session init.
Signed-off-by: Kai Ji
---
dr
This patch removes qat_asym_pmd.c and integrates all the
functions into qat_asym.c. The unified/integrated asym crypto
pmd functions should make them easier to maintain.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build| 2 +-
drivers/crypto/qat/qat_asym.c | 180
This patch removes qat_sym_pmd.c and integrates all the functions into
qat_sym.c. The unified/integrated qat sym crypto pmd functions should
make them easier to maintain.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 4 +-
drivers/common/qat/qat_device.c | 4
This patch reworks the asymmetric crypto data path
implementation in QAT driver. The changes include asymmetric
crypto data path separation for QAT hardware generations, and
code optimisation of the device capabilities declaration.
Signed-off-by: Kai Ji
---
drivers/common/qat/qat_qp.c | 5
This patch introduces a set of set_session methods to QAT
generations. In addition, the reuse of QAT session between
generations is prohibit as the support of min_qat_dev_gen_id'
is removed.
Signed-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_asym_pmd_gen1.c | 9 +-
drivers/crypto/qa
This patch adds common inline functions for QAT symmetric
crypto driver to process crypto op, and the implementation of
build op request function for QAT generation 1.
Signed-off-by: Kai Ji
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 832 ++-
drivers/crypto/qat/dev
This patch introduce build request and dequeue op function
pointers to the qat queue pair implementation. The function
poniters are assigned during qat session generation based on input
crypto operation request.
Signed-off-by: Kai Ji
---
drivers/common/qat/qat_qp.c | 10 --
drivers
the latest for-main
- patchset reconstruct
v4:
- patchset break down and reconstruct
v3:
- sperate a single patch 6 to two different patches
v2:
- review comments addressed
Kai Ji (9):
common/qat: define build request and dequeue ops
crypto/qat: support symmetric build op request
crypto
1 - 100 of 252 matches
Mail list logo