After the session mempool creation API is changed, some
description is no longer valid. This patch fixes the
descriptions in both API comment and the programmer's guide.
Fixes: bdce2564dbf7 ("cryptodev: rework session framework")
Cc: gak...@marvell.com
Signed-off-by: Fan Zhang
Update email address.
Signed-off-by: Fan Zhang
---
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 1c9922123e..536e82fd4d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -441,7 +441,7 @@ F: doc/guides/sample_app_ug/bbdev_app.rst
Update maintainer and email address.
Signed-off-by: Fan Zhang
Signed-off-by: Kai ji
---
MAINTAINERS | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 26d3a7077c..20eb277b35 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -445,7
.
Signed-off-by: Fan Zhang
Signed-off-by: Akhil Goyal
---
app/test/test_ipsec_perf.c | 4 +-
doc/guides/prog_guide/cryptodev_lib.rst | 16 ++
doc/guides/rel_notes/deprecation.rst| 9
doc/guides/rel_notes/release_22_11.rst | 7 +++
drivers/crypto
.
With the change the session is no longer supported to be accessed
by multiple device drivers. For the same reason
rte_cryptodev_sym_session_init/clear APIs are deprecated as
rte_cryptodev_sym_session_create/free will initialize and
clear the driver specific data field.
Fan Zhang (3):
cryptodev
each cop based on the worker before
enqueue, and retrieve the original session after dequeue).
Signed-off-by: Fan Zhang
---
app/test/test_cryptodev.c | 4 +-
drivers/crypto/scheduler/scheduler_failover.c | 19 ++-
.../crypto/scheduler/scheduler_multicore.c| 17
Coverity issue: 379211
Fixes: 4414bb67010d ("vhost/crypto: fix build with GCC 12")
Cc: david.march...@redhat.com
Signed-off-by: Fan Zhang
---
v2:
fix format-warning
lib/vhost/vhost_crypto.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a
Coverity issue: 379211
Fixes: 4414bb67010d ("vhost/crypto: fix build with GCC 12")
Cc: david.march...@redhat.com
Signed-off-by: Fan Zhang
---
lib/vhost/vhost_crypto.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/lib/vhost/vhost_crypto.c b
Fixes: 3c79609fda7c ("vhost/crypto: handle virtually non-contiguous buffers")
Cc: roy.fan.zh...@intel.com
This patch fixes the vhost crypto compile file on GCC12.
Ref. https://bugs.dpdk.org/show_bug.cgi?id=1011
The fix involves replacing rte_memcpy to memcpy.
Signed-off-by: Fan Zhang
Since openssl 3.0 now deprecates the low level API QAT required to
perform partial hash operation when creating the session. This
patch is to transfer such dependency from openssl to intel-ipsec-mb.
Signed-off-by: Fan Zhang
---
drivers/common/qat/meson.build | 10 +++
drivers/crypto/qat
From: Kai Ji
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
ed-by: Fan Zhang
---
drivers/common/qat/meson.build | 2 +-
drivers/compress/qat/qat_comp_pmd.c | 12 +-
drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c | 2 +
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 214
drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 122 +++
dr
ai Ji
Acked-by: Fan Zhang
---
drivers/common/qat/qat_qp.c | 42 +-
drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 4 -
drivers/crypto/qat/qat_asym.c | 2 +-
drivers/crypto/qat/qat_asym.h | 22 -
drivers/crypto/qat/qat_sym.c
From: Kai Ji
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
From: Kai Ji
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
From: Kai Ji
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
From: Kai Ji
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_g
From: Kai Ji
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
From: Kai Ji
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
This patch reworks QAT symmetric crypto datapatch implementation where each
generation request building separated and the crypto operation under the
raw datapath api implementation are unified.
In addtion this patchset also enables QAT OOP support in raw datapath api
implementation.
v11:
- fixed
Add NULL cipher and auth support to AESNI-MB PMD type.
Signed-off-by: Fan Zhang
Signed-off-by: Declan Doherty
Signed-off-by: Radu Nicolau
---
v2:
- Added actual PMD support.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 18 ++
drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h | 37
Add myself as Crypto API, QAT, SW PMDs based on ipsec-mb,
NULL PMD, and crypto perf test maintainer. Also remove
Declan, Deepak, and John from the maintainers of these
areas.
Signed-off-by: Fan Zhang
Acked-by: Declan Doherty
Acked-by: Fiona Trahe
Acked-by: John Griffin
Acked-by: Pablo de Lara
Add myself as Crypto API, QAT, SW PMDs based on ipsec-mb,
NULL PMD, and crypto perf test maintainer. Also remove
Declan, Deepak, and John from the maintainers of these
areas.
Signed-off-by: Fan Zhang
Acked-by: Declan Doherty
Acked-by: Fiona Trahe
Acked-by: John Griffin
Acked-by: Pablo de Lara
Fixes: 261bbff75e34 ("examples: use separate crypto session mempools")
Cc: roy.fan.zh...@intel.com
Bugzilla Link: https://bugs.dpdk.org/show_bug.cgi?id=842
This patch fixes the missing device start for fips validation
sample app.
Signed-off-by: Fan Zhang
---
examples/fips_validat
This patch replaces the mixed QAT symmetric and asymmetric
support implementation by separate files with shared or
individual implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build
This patch adds the symmetric and asymmetric crypto data
structure and function prototypes for different QAT
generations.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/crypto/qat/README |7 -
drivers/crypto/qat/meson.build
This patch unifies the QAT symmetric and asymmetric device
private data structures and functions.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 2 +-
drivers/common/qat/qat_common.c | 15 ++
drivers/common/qat
This patch replaces the mixed QAT compression support
implementation by separate files with shared or individual
implementation for specific QAT generation.
Signed-off-by: Adam Dybkowski
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat
This patch adds the compression data structure and function
prototypes for different QAT generations.
Signed-off-by: Adam Dybkowski
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 2 -
.../common/qat/qat_adf
This patch replaces the mixed QAT queue pair configuration
implementation by separate files with shared or individual
implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 190
This patch adds the queue pair data structure and function
prototypes for different QAT generations.
Signed-off-by: Fan Zhang
---
drivers/common/qat/qat_qp.c | 3 ++
drivers/common/qat/qat_qp.h | 103
2 files changed, 71 insertions(+), 35 deletions
This patch replaces the mixed QAT device configuration
implementation by separate files with shared or
individual implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 66
This patch adds the data structure and function prototypes for
different QAT generations.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/qat_common.h | 14 --
drivers/common/qat/qat_device.c | 4
drivers/common/qat
more unified naming conventions.
v2:
- unified asym and sym data structures for qat.
- more refined per gen code split.
Fan Zhang (9):
common/qat: add gen specific data and function
common/qat: add gen specific device implementation
common/qat: add gen specific queue pair function
commo
From: Arek Kusztal
This patch unifies naming conventions across QAT PMD
files. It will help maintaining code and further
development.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/qat_common.c | 30 +-
drivers/common/qat
This patch replaces the mixed QAT symmetric and asymmetric
support implementation by separate files with shared or
individual implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build
This patch adds the symmetric and asymmetric crypto data
structure and function prototypes for different QAT
generations.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/crypto/qat/README |7 -
drivers/crypto/qat/meson.build
This patch unifies the QAT symmetric and asymmetric device
private data structures and functions.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 2 +-
drivers/common/qat/qat_common.c | 15 ++
drivers/common/qat
This patch replaces the mixed QAT compression support
implementation by separate files with shared or individual
implementation for specific QAT generation.
Signed-off-by: Adam Dybkowski
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat
This patch adds the compression data structure and function
prototypes for different QAT generations.
Signed-off-by: Adam Dybkowski
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 2 -
.../common/qat/qat_adf
This patch replaces the mixed QAT queue pair configuration
implementation by separate files with shared or individual
implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 193
This patch adds the queue pair data structure and function
prototypes for different QAT generations.
Signed-off-by: Fan Zhang
---
drivers/common/qat/qat_qp.c | 3 ++
drivers/common/qat/qat_qp.h | 103
2 files changed, 71 insertions(+), 35 deletions
This patch replaces the mixed QAT device configuration
implementation by separate files with shared or
individual implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 66
This patch adds the data structure and function prototypes for
different QAT generations.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/qat_common.h | 14 --
drivers/common/qat/qat_device.c | 4
drivers/common/qat
fined per gen code split.
Arek Kusztal (1):
common/qat: unify naming conventions in qat functions
Fan Zhang (9):
common/qat: add gen specific data and function
common/qat: add gen specific device implementation
common/qat: add gen specific queue pair function
common/qat: add gen spe
This patch updates the release note to describe qat refactor
changes made.
Signed-off-by: Fan Zhang
---
doc/guides/rel_notes/release_21_11.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_11.rst
b/doc/guides/rel_notes/release_21_11.rst
index
This patch replaces the mixed QAT symmetric and asymmetric
support implementation by separate files with shared or
individual implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build
This patch adds the symmetric and asymmetric crypto data
structure and function prototypes for different QAT
generations.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/crypto/qat/README |7 -
drivers/crypto/qat/meson.build
This patch unifies the QAT symmetric and asymmetric device
private data structures and functions.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 2 +-
drivers/common/qat/qat_device.h | 7 +-
drivers/crypto/qat
This patch replaces the mixed QAT compression support
implementation by separate files with shared or individual
implementation for specific QAT generation.
Signed-off-by: Adam Dybkowski
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat
This patch adds the compression data structure and function
prototypes for different QAT generations.
Signed-off-by: Adam Dybkowski
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 2 -
.../common/qat/qat_adf
This patch replaces the mixed QAT queue pair configuration
implementation by separate files with shared or individual
implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 193
This patch adds the queue pair data structure and function
prototypes for different QAT generations.
Signed-off-by: Fan Zhang
---
drivers/common/qat/qat_qp.c | 3 +++
drivers/common/qat/qat_qp.h | 45 +
2 files changed, 48 insertions(+)
diff --git a/drivers
This patch replaces the mixed QAT device configuration
implementation by separate files with shared or
individual implementation for specific QAT generation.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/dev/qat_dev_gen1.c | 66
This patch adds the data structure and function prototypes for
different QAT generations.
Signed-off-by: Arek Kusztal
Signed-off-by: Fan Zhang
Signed-off-by: Kai Ji
---
drivers/common/qat/qat_common.c | 8
drivers/common/qat/qat_common.h | 16 ++--
drivers/common/qat
generations' implementations.
Also adding the support to new features or new qat generation
hardware will have zero impact to existing functionalities.
Fan Zhang (10):
common/qat: add gen specific data and function
common/qat: add gen specific device implementation
common/qat: add gen spe
Fixes: c24489e479fd ("test/crypto: support PDCP short MAC-I")
Cc: g.si...@nxp.com
This patch fixes the pdcp short mac-i test by removing them
from snow3g and kasumi test suite and move to pdcp test suite.
This is to prevent incorrect failure for crypto device not
support pdcp.
Signed-o
roy.fan.zh...@intel.com
Signed-off-by: Fan Zhang
---
drivers/crypto/qat/qat_sym_hw_dp.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/crypto/qat/qat_sym_hw_dp.c
b/drivers/crypto/qat/qat_sym_hw_dp.c
index 4305579b54..ac9ac05363 100644
--- a/drivers/crypto/qat/qat_sym_hw_dp.c
+++ b/driv
From: Kai Ji
This patch enable out-of-place auth-cipher operations where
digest should be encrypted among with the rest of raw data.
It also adds support for partially encrypted digest when using
auth-cipher operations.
Fixes: 7c87e2d7b359 ("crypto/snow3g: use IPsec library")
Cc: pablo.de.lara.g
fixing
the issue the documentation is updated to state it.
Signed-off-by: Fan Zhang
---
doc/guides/cryptodevs/aesni_gcm.rst | 3 ++-
doc/guides/cryptodevs/aesni_mb.rst | 3 ++-
doc/guides/cryptodevs/kasumi.rst| 3 ++-
doc/guides/cryptodevs/snow3g.rst| 3 ++-
doc/guides/cryptodevs/zuc.rst
Add myself as Crypto API, QAT, SW PMDs based on ipsec-mb,
NULL PMD, and crypto perf test maintainer. Also remove
Declan, Deepak, and John from the maintainers of these
areas.
Signed-off-by: Fan Zhang
Acked-by: Declan Doherty
Acked-by: Fiona Trahe
Acked-by: John Griffin
---
MAINTAINERS | 19
Add myself to Crypto API, QAT, SW PMDs based on ipsec-mb, and
NULL PMD maintainer.
Signed-off-by: Fan Zhang
Acked-by: Declan Doherty
Acked-by: Fiona Trahe
Acked-by: John Griffin
---
V2:
- Remove Declan from crypto perf maintainer
MAINTAINERS | 19 ++-
1 file changed, 10
Add myself to Crypto API, QAT, SW PMDs based on ipsec-mb, and
NULL PMD maintainer.
Signed-off-by: Fan Zhang
---
MAINTAINERS | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5877a16971..11653b3dcd 100644
--- a/MAINTAINERS
This patch changes the experimental raw data path dequeue burst API.
Originally the API enforces the user to provide callback function
to get maximum dequeue count. This change gives the user one more
option to pass directly the expected dequeue count.
Signed-off-by: Fan Zhang
---
app/test
This patch changes the experimental raw data path dequeue burst API.
Originally the API enforces the user to provide callback function
to get maximum dequeue count. This change gives the user one more
option to pass directly the expected dequeue count.
Signed-off-by: Fan Zhang
---
app/test
This patch fixes the missed digest in buffer support to
QAT symmetric raw API. Originally digest in buffer is
supported only for wireless algorithms
Fixes: 728c76b0e50f ("crypto/qat: support raw datapath API")
Cc: roy.fan.zh...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Fan Zhang
--
This patch fixes bypassed out of place test for PMDs that support
it.
Fixes: 4868f6591c6f ("test/crypto: add cases for raw datapath API")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Fan Zhang
---
app/test/test_cryptodev.c | 3 ---
1 file changed, 3 deletions(-)
diff --git
This patch fixes the AESNI-MB PMD CPU crypto process function. Originally
the function tried to access crypto vector's aad buffer even it is not
needed.
Fixes: 8d928d47a29a ("cryptodev: change crypto symmetric vector structure")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Fan Zhang
This patch fixes the AESNI-MB PMD CPU crypto process function. Orignally
the function tried to access crypto vector's aad buffer even it is not
needed.
Fixes: 8d928d47a29a ("cryptodev: change crypto symmetric vector structure")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Fan Zhan
This patch fixes the GMAC SGL test that fails to bypass
unsupported PMDs.
Fixes: dcdd01691f39 ("test/crypto: add GMAC SGL")
Cc: pablo.de.lara.gua...@intel.com
Signed-off-by: Fan Zhang
---
v2:
- fix typo
app/test/test_cryptodev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletion
This ptach fixes the GMAC SGL test that fails to bypass
unsupported PMDs.
Fixes: dcdd01691f39 ("test/crypto: add GMAC SGL")
Cc: pablo.de.lara.gua...@intel.com
Signed-off-by: Fan Zhang
---
app/test/test_cryptodev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This patch fixes the missing version line in the response file.
Fixes: 793650184099 ("examples/fips_validation: fix version compatibility")
Cc: march...@marvell.com
Signed-off-by: Fan Zhang
---
examples/fips_validation/fips_validation.c | 2 +-
1 file changed, 1 insertion(+),
This patch fixes FIPS GCM test of the redundant plaintext string
write and insufficient test case support check for some corner
cases.
Fixes: d09abf2d1007 ("examples/fips_validation: update GCM test")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Fan Zhang
---
examples/fips_
This patch fixes two issues in FIPS validation sample application.
Fan Zhang (2):
fips_validation: fix missed version line
fips_validation: fix gcm test
examples/fips_validation/fips_validation.c | 2 +-
examples/fips_validation/fips_validation_gcm.c | 1 -
examples/fips_validation
This patch fixes FIPS GCM test of the redundant plaintext string
write and insufficient test case support check for some corner
cases.
Fixes: d09abf2d1007 ("examples/fips_validation: update GCM test")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Fan Zhang
---
examples/fips_
This patch fixes two issues in FIPS validation sample application.
Fan Zhang (2):
fips_validation: fix missed version line
fips_validation: fix gcm test
examples/fips_validation/fips_validation.c | 2 +-
examples/fips_validation/fips_validation_gcm.c | 1 -
examples/fips_validation
This patch fixes the missing version line in the response file.
Fixes: 793650184099 ("examples/fips_validation: fix version compatibility")
Cc: march...@marvell.com
Signed-off-by: Fan Zhang
---
examples/fips_validation/fips_validation.c | 2 +-
1 file changed, 1 insertion(+),
This patch adds the cryptodev raw API test support to unit test.
In addition a new test-case for QAT PMD for the test type is
enabled.
Signed-off-by: Fan Zhang
Acked-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 787 --
app/test/test_cryptodev.h
This patch adds raw data-path APIs for enqueue and dequeue
operations to cryptodev. The APIs support flexible user-define
enqueue and dequeue behaviors.
Signed-off-by: Fan Zhang
Signed-off-by: Piotr Bronowski
Acked-by: Adam Dybkowski
---
doc/guides/cryptodevs/features/default.ini| 1
This patch updates QAT PMD to add raw data-path API support.
Signed-off-by: Fan Zhang
Acked-by: Adam Dybkowski
---
doc/guides/cryptodevs/features/qat.ini | 1 +
doc/guides/rel_notes/release_20_11.rst | 4 +
drivers/crypto/qat/meson.build | 1 +
drivers/crypto/qat/qat_sym.h
This patch updates ``rte_crypto_sym_vec`` structure to add
support for both cpu_crypto synchrounous operation and
asynchronous raw data-path APIs. The patch also includes
AESNI-MB and AESNI-GCM PMD changes, unit test changes and
documentation updates.
Signed-off-by: Fan Zhang
---
app/test
the API to cryptodev.
- Added cryptodev feature flags.
v2:
- Used a structure to simplify parameters.
- Added unit tests.
- Added documentation.
Fan Zhang (4):
cryptodev: change crypto symmetric vector structure
cryptodev: add raw crypto data-path APIs
crypto/qat: add raw crypto data-path API supp
This patch adds the cryptodev raw API test support to unit test.
In addition a new test-case for QAT PMD for the test type is
enabled.
Signed-off-by: Fan Zhang
Acked-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 787 --
app/test/test_cryptodev.h
This patch updates ``rte_crypto_sym_vec`` structure to add
support for both cpu_crypto synchrounous operation and
asynchronous raw data-path APIs. The patch also includes
AESNI-MB and AESNI-GCM PMD changes, unit test changes and
documentation updates.
Signed-off-by: Fan Zhang
Acked-by: Adam
This patch adds raw data-path APIs for enqueue and dequeue
operations to cryptodev. The APIs support flexible user-define
enqueue and dequeue behaviors.
Signed-off-by: Fan Zhang
Signed-off-by: Piotr Bronowski
Acked-by: Adam Dybkowski
---
doc/guides/cryptodevs/features/default.ini| 1
This patch updates QAT PMD to add raw data-path API support.
Signed-off-by: Fan Zhang
Acked-by: Adam Dybkowski
---
doc/guides/cryptodevs/features/qat.ini | 1 +
doc/guides/rel_notes/release_20_11.rst | 4 +
drivers/crypto/qat/meson.build | 1 +
drivers/crypto/qat/qat_sym.h
cryptodev feature flags.
v2:
- Used a structure to simplify parameters.
- Added unit tests.
- Added documentation.
Fan Zhang (4):
cryptodev: change crypto symmetric vector structure
cryptodev: add raw crypto data-path APIs
crypto/qat: add raw crypto data-path API support
test/crypto: add
This patch adds raw data-path APIs for enqueue and dequeue
operations to cryptodev. The APIs support flexible user-define
enqueue and dequeue behaviors.
Signed-off-by: Fan Zhang
Signed-off-by: Piotr Bronowski
Acked-by: Adam Dybkowski
---
doc/guides/cryptodevs/features/default.ini| 1
This patch updates ``rte_crypto_sym_vec`` structure to add
support for both cpu_crypto synchrounous operation and
asynchronous raw data-path APIs. The patch also includes
AESNI-MB and AESNI-GCM PMD changes, unit test changes and
documentation updates.
Signed-off-by: Fan Zhang
Acked-by: Adam
This patch adds the cryptodev raw API test support to unit test.
In addtion a new test-case for QAT PMD for the test type is
enabled.
Signed-off-by: Fan Zhang
Acked-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 780 --
app/test/test_cryptodev.h
This patch updates QAT PMD to add raw data-path API support.
Signed-off-by: Fan Zhang
Acked-by: Adam Dybkowski
---
drivers/crypto/qat/meson.build | 1 +
drivers/crypto/qat/qat_sym.h | 11 +
drivers/crypto/qat/qat_sym_hw_dp.c | 959 +
drivers/crypto/qat
o simplify parameters.
- Added unit tests.
- Added documentation.
Fan Zhang (4):
cryptodev: change crypto symmetric vector structure
cryptodev: add raw crypto data-path APIs
crypto/qat: add raw crypto data-path API support
test/crypto: add unit-test for cryptodev raw API test
app/test/test_c
store the generated IV in the response file. This patch
also adds the support to that.
Signed-off-by: Fan Zhang
Signed-off-by: Weqaar Janjua
Acked-by: John Griffin
---
doc/guides/rel_notes/release_20_11.rst| 5 +
examples/fips_validation/fips_validation.h| 26
.
V3:
- Rebased on top of latest master.
V2:
- Fixed compile issue.
Fan Zhang (2):
fips_validation: add SGL support
fips_validation: update GCM test
doc/guides/rel_notes/release_20_11.rst| 5 +
doc/guides/sample_app_ug/fips_validation.rst | 6 +
examples/fips_validation
the application will automatically build chained mbufs
for the target cryptodev PMD to test.
Signed-off-by: Fan Zhang
Acked-by: John Griffin
---
doc/guides/sample_app_ug/fips_validation.rst | 6 +
examples/fips_validation/fips_validation.h | 3 +-
examples/fips_validation/main.c
driver.
Fixes: 939066d96563 ("vhost/crypto: add public function implementation")
Cc: roy.fan.zh...@intel.com
Signed-off-by: Fan Zhang
---
examples/vhost_crypto/main.c | 3 +-
lib/librte_vhost/rte_vhost_crypto.h| 12
lib/librte_vhost/rte_vhost_version.map |
device types.
- Added new API rte_vhost_crypto_driver_start to
distinguish between virtio-net and virtio-crypto built-in
drivers initialization.
v2:
- Removed socket.c setting vhost crypto features.
- Fixed incorrect feature flag.
- Rebased on top of latest master.
Fan Zhang (2):
vhost: add backend
This patch adds an internal driver start function with a newly
added backend type identifier as parameter. With this way
different built-in driver types (net, crypto) can be identified.
Signed-off-by: Fan Zhang
---
lib/librte_vhost/socket.c | 39 ---
lib
actor virtio ready check")
Cc: maxime.coque...@redhat.com
Signed-off-by: Fan Zhang
---
examples/vhost_crypto/main.c | 3 +-
lib/librte_vhost/rte_vhost_crypto.h| 12 +++
lib/librte_vhost/rte_vhost_version.map | 1 +
lib/librte_vhost/socket.c
This patch updates QAT PMD to add raw data-path API support.
Signed-off-by: Fan Zhang
---
drivers/crypto/qat/meson.build | 1 +
drivers/crypto/qat/qat_sym.h | 11 +
drivers/crypto/qat/qat_sym_hw_dp.c | 951 +
drivers/crypto/qat/qat_sym_pmd.c | 9
1 - 100 of 810 matches
Mail list logo