This patch adds checking if RAW API is supported at the start
of the test command "cryptodev_qat_raw_api_autotest".
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 43 ++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git
This patch adds checking if RAW API is supported at the start
of the test command "cryptodev_qat_raw_api_autotest".
Signed-off-by: Adam Dybkowski
Acked-by: Fan Zhang
---
app/test/test_cryptodev.c | 34 +-
1 file changed, 33 insertions(+), 1 deletio
This patch extends the DPDK 21.05 release notes with the QAT GEN3
compression update.
Signed-off-by: Adam Dybkowski
---
doc/guides/rel_notes/release_21_05.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_05.rst
b/doc/guides/rel_notes/release_21_05
This patch fixes the NULL auth generation case where the request
shouldn't contain the authentication result address. Allows to run
ipsec_autotest with a QAT device.
Fixes: 65beb9abca6d ("crypto/qat: fix null auth when using VFIO")
Signed-off-by: Adam Dybkowski
---
drivers/crypt
e PMD cleaning phase.
Fixes: a124830a6f00 ("compress/qat: enable dynamic huffman encoding")
Fixes: 352332744c3a ("compress/qat: add dynamic SGL allocation")
Signed-off-by: Adam Dybkowski
---
drivers/compress/qat/qat_comp.c | 7 +-
drivers/compress
This patch increases the intermediate buffer size used for the
compression on QAT GEN3 to accommodate new hardware versions.
Fixes: a124830a6f00 ("compress/qat: enable dynamic huffman encoding")
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_device.h | 2 +-
1 file
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 3 +-
drivers/crypto/qat/qat_sym.c | 72
Adam Dybkowski (1):
crypto/qat: support Single-Pass GMAC on QAT GEN3
drivers/common/qat/qat_qp.c | 3 +-
drivers/crypto/qat/qat_sym.c | 72 +++-
drivers/crypto/qat/qat_sym.h | 66 -
drivers/crypto/qat/qat_sym_pmd.c | 6
This patch adds closing of the PMD after running the benchmark.
Signed-off-by: Adam Dybkowski
---
app/test-crypto-perf/main.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 49af812d8b
This patch adds closing of the PMD after running the tests.
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index f91debc168..d68855c442 100644
--- a/app/test
This patch adds closing of the PMD after running the tests.
--
v3:
* move the call from ut_teardown to testsuite_teardown
v2:
* display error message on close error
Adam Dybkowski (2):
test/crypto: close PMD after tests
app/crypto-perf: close PMD after benchmark run
app/test-crypto-perf
This patch adds closing of the PMD after running the benchmark.
Signed-off-by: Adam Dybkowski
---
app/test-crypto-perf/main.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 49af812d8..70cb04a21
This patch adds closing of the PMD after running the tests.
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index f91debc16..ea965a64a 100644
--- a/app/test
This patch adds closing of the PMD after running the tests.
--
v2:
* display error message on close error
Adam Dybkowski (2):
test/crypto: close PMD after tests
app/crypto-perf: close PMD after benchmark run
app/test-crypto-perf/main.c | 15 +--
app/test/test_cryptodev.c
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 3 +-
drivers/crypto/qat/qat_sym.c | 64
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
--
v2:
* fix minor building and style issues
Adam Dybkowski (1):
crypto/qat: support Single-Pass GMAC on QAT GEN3
drivers/common/qat/qat_qp.c
This patch implements Single-Pass AES-GMAC possible on QAT GEN3
which improves the performance. On GEN1 and GEN2 the previous
chained method is used.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 3 +-
drivers/crypto/qat/qat_sym.c | 64
This patch adds closing of the PMD after running the benchmark.
Signed-off-by: Adam Dybkowski
---
app/test-crypto-perf/main.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 49af812d8..c1d338fa4 100644
This patch adds closing of the PMD after running the tests.
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index f91debc16..7dcd255de 100644
--- a/app/test
ernels 5.9 and later.
Signed-off-by: Adam Dybkowski
Acked-by: Anatoly Burakov
---
doc/guides/cryptodevs/qat.rst | 64 +++
1 file changed, 35 insertions(+), 29 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index 7c5629319.
ernels 5.9 and later.
v2:
* add example command with disable_denylist option
v3:
* simplify binding/unbinding command examples by using python scripts
* remove the description of old binding method
v4:
* rebase
v5:
* rebase against github dpdk main branch
Adam Dybkowski (1):
doc: documen
ernels 5.9 and later.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 63 +++
1 file changed, 34 insertions(+), 29 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index e5d2cf499..dbbdec1c7 100644
--- a/
ernels 5.9 and later.
v2:
* add example command with disable_denylist option
v3:
* simplify binding/unbinding command examples by using python scripts
* remove the description of old binding method
v4:
* rebase
Adam Dybkowski (1):
doc: document vfio-pci usage with QAT PMD
doc/guides/cryptode
This reverts commit cryptodev: fix ABI compatibility for ChaCha20-Poly1305 as
the
rte_cryptodev_info_get function versioning was a temporary solution
to maintain ABI compatibility for ChaCha20-Poly1305 and is not
needed in 20.11.
Adam Dybkowski (1):
cryptodev: remove v20 ABI compatibility
y1305")
Signed-off-by: Adam Dybkowski
Reviewed-by: Arek Kusztal
Acked-by: Arek Kusztal
---
lib/librte_cryptodev/meson.build | 1 -
lib/librte_cryptodev/rte_cryptodev.c | 150 +-
lib/librte_cryptodev/rte_cryptodev.h | 34 +---
.../rte_cryptodev_v
, the configuration value RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES
was renamed to RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS.
Adam Dybkowski (1):
crypto/scheduler: rename slave to worker
---
v2:
Update release notes.
Remove deprecation notice.
---
app/test-crypto-perf/main.c | 2 +-
app/test/test_cryptodev.c
, the configuration value RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES
was renamed to RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS.
Signed-off-by: Adam Dybkowski
Acked-by: Fan Zhang
---
app/test-crypto-perf/main.c | 2 +-
app/test/test_cryptodev.c | 20 +-
doc/guides/cryptodevs/qat.rst
ernels 5.9 and later.
v2:
* add example command with disable_denylist option
v3:
* simplify binding/unbinding command examples by using python scripts
* remove the description of old binding method
Adam Dybkowski (1):
doc: document vfio-pci usage with QAT PMD
doc/guides/cryptodevs/qa
ernels 5.9 and later.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 63 +++
1 file changed, 34 insertions(+), 29 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index e5d2cf499..dbbdec1c7 100644
--- a/
ernels 5.9 and later.
v2:
* add example command with disable_denylist option
Adam Dybkowski (1):
doc: document vfio-pci usage with QAT PMD
doc/guides/cryptodevs/qat.rst | 36 ---
1 file changed, 25 insertions(+), 11 deletions(-)
--
2.25.1
ernels 5.9 and later.
Signed-off-by: Adam Dybkowski
Acked-by: Fiona Trahe
---
doc/guides/cryptodevs/qat.rst | 36 ---
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index e5d2cf499.
ernels 5.9 and later.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 33 ++---
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index e5d2cf499..bd4743aa7 100644
--- a/
, the configuration value RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES
was renamed to RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS.
Signed-off-by: Adam Dybkowski
---
app/test-crypto-perf/main.c | 2 +-
app/test/test_cryptodev.c | 20 +-
doc/guides/cryptodevs/qat.rst | 2 +-
doc/guides
y1305")
Signed-off-by: Adam Dybkowski
Reviewed-by: Arek Kusztal
---
lib/librte_cryptodev/meson.build | 1 -
lib/librte_cryptodev/rte_cryptodev.c | 147 +-
lib/librte_cryptodev/rte_cryptodev.h | 34 +---
.../rte_cryptodev_version.map
This patch updates 20.08 release notes inside
the part that describe changes in Intel QuickAssist PMD.
Fixes: faa57df0b458 ("crypto/qat: support ChaCha20-Poly1305")
Fixes: 9904ff684981 ("common/qat: improve multi-process handling")
Signed-off-by: Adam Dybkowski
Acked-by: F
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
Signed-off-by: Adam Dybkowski
Acked-by: Fiona Trahe
---
doc/guides/cryptodevs/qat.rst | 7 +--
doc/guides/rel_notes/release_20_08.rst | 2 ++
drivers/common/qat
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
v2:
* rename the device
v3:
* improve release notes
v4:
* simplify release notes
v5:
* split actual implementation patch and additional release notes update
Adam Dybkowski (2
This patch adds a deprecation notice about upcoming changes
in public API of the Scheduler PMD.
Signed-off-by: Adam Dybkowski
Acked-by: Fan Zhang
---
doc/guides/rel_notes/deprecation.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc
This patch fixes the uninitialized variable bug in QAT PMD.
Fixes: 9f27a860dc16 ("crypto/qat: move generic qp function to qp file")
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/qat/
This patch replaces the usage of master/slave in QAT PMD and
Scheduler PMD as well as in their docs. Also the test app was
modified to use the new wording.
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 16 +-
doc/guides/cryptodevs/qat.rst
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
v2:
* rename the device
v3:
* improve release notes
v4:
* simplify release notes
Adam Dybkowski (1):
common/qat: support GEN2 QAT device 200xx
doc/guides/cryptodevs/qat.rst
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 7 +--
doc/guides/rel_notes/release_20_08.rst | 8 +---
drivers/common/qat/qat_device.c| 6
This patch removes unused fields from structs qat_qp and
qat_qp_config, together with their initializations.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 1 -
drivers/common/qat/qat_qp.h | 8 +---
drivers/compress/qat/qat_comp_pmd.c | 1 -
drivers/crypto
This patch separates QAT PMD paragraphs in the release notes
into three parts, for QAT Symmetric Crypto PMD, QAT Asymmetric
Crypto PMD and QAT Compression PMD.
Signed-off-by: Adam Dybkowski
---
doc/guides/rel_notes/release_20_08.rst | 10 +-
1 file changed, 9 insertions(+), 1 deletion
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 7 +--
doc/guides/rel_notes/release_20_08.rst | 2 ++
drivers/common/qat/qat_device.c| 6
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
Adam Dybkowski (2):
common/qat: support GEN2 QAT device 200xx
doc: update QAT PMD release notes
doc/guides/cryptodevs/qat.rst | 7 +--
doc/guides/rel_notes
This patch updates the minimum driver version that supports
Intel QuickAssist device D15xx.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index
The patch reverts the commit that updated Intel QuickAssist GEN3
marketing name. The change was not backported and has to be withdrawn.
v2:
* add cover letter with more explanation
Adam Dybkowski (1):
compress/qat: revert change in GEN3 marketing name
doc/guides/cryptodevs/qat.rst | 6
This reverts commit 9cd9d3e702fba4700539c1a2eddac13dd14ecf70.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 6 +++---
drivers/compress/qat/qat_comp_pmd.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
Signed-off-by: Adam Dybkowski
---
doc/guides/compressdevs/qat_comp.rst | 3 ++-
doc/guides/cryptodevs/qat.rst | 8 ++--
doc/guides/rel_notes/release_20_08.rst | 5
This adds pci detection and documentation for Intel GEN2
QuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).
--
v2:
* update the marketing name
Adam Dybkowski (1):
common/qat: support GEN2 QAT device 200xx
doc/guides/compressdevs/qat_comp.rst | 3 ++-
doc/guides/cryptodevs/qat.rst
This patch fixes the increment field of the AES-XTS cipher key size.
Fixes: 7d5ef3bb32cd ("crypto/qat: support XTS")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
drivers/crypto/qat/qat_sym_capabilities.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This adds pci detection and documentation for Intel GEN2
QuickAssist device C34xx (PF Did 0x18ee, VF Did 0x18ef).
Signed-off-by: Adam Dybkowski
---
doc/guides/compressdevs/qat_comp.rst | 3 ++-
doc/guides/cryptodevs/qat.rst | 8 ++--
doc/guides/rel_notes/release_20_08.rst | 5
This reverts commit 9cd9d3e702fba4700539c1a2eddac13dd14ecf70.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 6 +++---
drivers/compress/qat/qat_comp_pmd.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides
This patch adds the verification of the element size of the
mempool provided for the session creation. Returns the error
if the element size is too small to hold the session object.
Signed-off-by: Adam Dybkowski
---
lib/librte_cryptodev/rte_cryptodev.c | 45 +++-
1 file
This patch adds the verification of the crypto session IOVA
that should be known (not zero) to proceed with the
session initialisation. In case of unknown IOVA
the error code -EINVAL is returned.
Signed-off-by: Adam Dybkowski
---
drivers/crypto/qat/qat_sym_session.c | 10 +-
1 file
This patch fixes the element size of the mempool used
for allocating asym crypto sessions and their private data.
Fixes: 2c6dab9cd93d ("test/crypto: add RSA and Mod tests")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev_asym.c | 5 +++--
1 file
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
Acked-by: Fiona Trahe
Acked-by: Anoob Joseph
---
lib/librte
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
v2:
* add info about HMAC-SHA-1-96
v3:
* fix multi-line comment formatting
v4:
* fix wording
Adam Dybkowski (1):
cryptodev: fix SHA-1 digest enum comment
lib/librte_cryptodev
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
lib/librte_cryptodev/rte_crypto_sym.h | 6 --
1 file
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
v2:
* add info about HMAC-SHA-1-96
v3:
* fix multi-line comment formatting
Adam Dybkowski (1):
cryptodev: fix SHA-1 digest enum comment
lib/librte_cryptodev/rte_crypto_sym.h | 6
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
v2:
* add info about HMAC-SHA-1-96
Adam Dybkowski (1):
cryptodev: fix SHA-1 digest enum comment
lib/librte_cryptodev/rte_crypto_sym.h | 5 +++--
1 file changed, 3 insertions(+), 2
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
lib/librte_cryptodev/rte_crypto_sym.h | 5 +++--
1 file
This patch fixes improper SHA-1 digest size in the enum comment.
Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
lib/librte_cryptodev/rte_crypto_sym.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
di
This patch fixes Coverity issue #357770 by removing the non-essential
check for NULL pointer.
Fixes: c13cecf60f12 ("compress/qat: support IM buffer too small operation")
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
rt IM buffer too small operation")
Signed-off-by: Adam Dybkowski
---
Requires applying other patch first: http://patches.dpdk.org/patch/69765/
---
drivers/common/qat/qat_qp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/common/qat/qat_qp.c b/drivers/
This patch fixes missing queue head update that occured when
a multiple-request dynamic Huffman compression operation was not
complete within one qat_dequeue_op_burst function call.
Fixes: c13cecf60f12 ("compress/qat: support IM buffer too small operation")
Signed-off-by: Adam
ation")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
app/test-crypto-perf/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 52a1860fb..7bb286ccb 100644
--- a/app/test-crypto-perf/main.c
+++
This patch adds new tests for verification of the "internal
QAT IM buffer too small" case handling. These unit tests aren't
specific to the QAT PMD only - they pass or skip on other PMDs like
ISAL and ZLIB (depending on particular PMD capabilities).
Signed-off-by: Adam Dybkowski
their results are then combined and copied into
the output buffer. This is not possible if any checksum calculation
was requested - in such case the code falls back to fixed compression
as before.
Signed-off-by: Adam Dybkowski
Acked-by: Fiona Trahe
---
doc/guides/compressdevs/qat_comp.rst | 3
adding a new test suite separate for QAT-specific tests
Adam Dybkowski (2):
compress/qat: im buffer too small - split op
test/compress: im buffer too small - add unit tests
app/test/test_compressdev.c| 1185 ++--
doc/guides/compressdevs/qat_comp.rst |3 -
doc
This patch adds support for plain SHA-1, SHA-224, SHA-256,
SHA-384 and SHA-512 hashes to QAT PMD.
Signed-off-by: Adam Dybkowski
Acked-by: Fiona Trahe
---
doc/guides/cryptodevs/features/qat.ini| 5 +
doc/guides/cryptodevs/qat.rst | 5 +
doc/guides/rel_notes/release_20_05.rst
This patch adds support for plain SHA-1, SHA-224, SHA-256,
SHA-384 and SHA-512 hashes to QAT PMD.
v2:
* simplify the tests, rebase the code on top of Pablo De Lara Guarch patches
* update the release notes
Adam Dybkowski (1):
crypto/qat: support plain SHA1..SHA512 hashes
doc/guides
This patch adds support for plain SHA-1, SHA-224, SHA-256,
SHA-384 and SHA-512 hashes to QAT PMD.
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev_hash_test_vectors.h | 10 ++
doc/guides/cryptodevs/features/qat.ini | 5 +
doc/guides/cryptodevs/qat.rst | 5
This patch adds a new test suite for verification of the "internal
QAT IM buffer too small" case handling. These unit tests are
specific to the QAT PMD only - that's why they are contained in
a separate test suite.
Signed-off-by: Adam Dybkowski
---
app/test/test_compr
their results are then combined and copied into
the output buffer. This is not possible if any checksum calculation
was requested - in such case the code falls back to fixed compression
as before.
Signed-off-by: Adam Dybkowski
---
doc/guides/compressdevs/qat_comp.rst | 3 -
doc/guides
their results are then combined and copied into
the output buffer. This is not possible if any checksum calculation
was requested - in such case the code falls back to fixed compression
as before.
v2:
* various post-review small fixes
Adam Dybkowski (2):
compress/qat: im buffer too small - split
documentation
Adam Dybkowski (2):
common/qat: get version of QAT firmware
crypto/qat: handle mixed hash-cipher crypto on GEN2 QAT
doc/guides/cryptodevs/qat.rst | 13 ++--
doc/guides/rel_notes/release_20_05.rst | 7 ++
drivers/common/qat/qat_adf/icp_qat_fw.h | 2 +
drivers/common
This patch adds the function for retrieving QAT firmware
version, required to check the internal capabilities that
depend on the FW version.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_adf/icp_qat_fw.h | 2 +
drivers/common/qat/qat_qp.c | 93
This patch adds handling of mixed hash-cipher algorithms
available on GEN2 QAT in particular firmware versions.
Also the documentation is updated to show the mixed crypto
algorithms are supported on QAT GEN2.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 13
This patch adds new test suites for verification of the "internal
QAT IM buffer too small" case handling. These unit tests are
specific to the QAT PMD only - that's why they are contained in
new test suites (separate for positive and negative tests for
better maintability).
Sign
their results are then combined and copied into
the output buffer. This is not possible if any checksum calculation
was requested - in such case the code falls back to fixed compression
as before.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_qp.c | 231 --
drivers
This patch set adds handling of mixed hash-cipher algorithms
available on GEN2 QAT in particular firmware versions.
Also the documentation is updated to show the mixed crypto
algorithms are supported on QAT GEN2.
v2:
* minor fixes and improvements
v3:
* include missing header file
Adam
This patch adds the function for retrieving QAT firmware
version, required to check the internal capabilities that
depend on the FW version.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_adf/icp_qat_fw.h | 2 +
drivers/common/qat/qat_qp.c | 93
This patch adds handling of mixed hash-cipher algorithms
available on GEN2 QAT in particular firmware versions.
Also the documentation is updated to show the mixed crypto
algorithms are supported on QAT GEN2.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 9
This patch adds handling of mixed hash-cipher algorithms
available on GEN2 QAT in particular firmware versions.
Also the documentation is updated to show the mixed crypto
algorithms are supported on QAT GEN2.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 9
This patch adds the function for retrieving QAT firmware
version, required to check the internal capabilities that
depend on the FW version.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_adf/icp_qat_fw.h | 2 +
drivers/common/qat/qat_qp.c | 92
This patch set adds handling of mixed hash-cipher algorithms
available on GEN2 QAT in particular firmware versions.
Also the documentation is updated to show the mixed crypto
algorithms are supported on QAT GEN2.
v2:
* minor fixes and improvements
Adam Dybkowski (2):
common/qat: get version of
This patch adds the function for retrieving QAT firmware
version, required to check the internal capabilities that
depend on the FW version.
Signed-off-by: Adam Dybkowski
---
drivers/common/qat/qat_adf/icp_qat_fw.h | 2 +
drivers/common/qat/qat_qp.c | 89
This patch adds handling of mixed hash-cipher algorithms
available on GEN2 QAT in particular firmware versions.
Also the documentation is updated to show the mixed crypto
algorithms are supported on QAT GEN2.
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 9
From: Fiona Trahe
Avoid costly division, use shift instead.
Signed-off-by: Fiona Trahe
---
drivers/common/qat/qat_qp.c | 9 ++---
drivers/common/qat/qat_qp.h | 1 +
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c
inde
From: Fiona Trahe
To detect if sgl, use nb_segs > 1, instead of checking for next pointer,
as nb_segs is in first cache-line while next is in second cache-line.
Signed-off-by: Fiona Trahe
---
drivers/crypto/qat/qat_sym.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dri
From: Fiona Trahe
Improve case where application set m_dst to same as m_src
so really an in-place operation, though would have been treated
as out-of-place. No functional change but this path can now benefit
from DMA alignment.
Signed-off-by: Fiona Trahe
---
drivers/crypto/qat/qat_sym.c | 8 ++
This patch fixes the marketing name of the QAT GEN3 to P5xxx.
Fixes: aa983f03ad2e ("crypto/qat: handle Single Pass Crypto Requests on GEN3")
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
doc/guides/rel_notes/release_19_11.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletio
Cc: sta...@dpdk.org
Signed-off-by: Adam Dybkowski
---
doc/guides/cryptodevs/qat.rst | 6 +++---
drivers/compress/qat/qat_comp_pmd.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index 06985e319..1e83ed626 100
This patch adds range-checking of the device id passed from
the user app code. It prevents out-of-range array accesses
which in some situations resulted in an
application crash (segfault).
Fixes: 3dd4435cf473 ("cryptodev: fix checks related to device id")
Cc: sta...@dpdk.org
Signed-of
Remove one AES GCM scatter-gather unit test repetition
and enable this test on QAT (after a fix included in the commit
b26ef1a11f21).
---
v2:
* Repair referenced commit id.
Adam Dybkowski (1):
test/crypto: remove repeated test and enable on QAT
app/test/test_cryptodev.c | 7 ---
1 file
Remove one AES GCM scatter-gather unit test repetition
and enable this test on QAT (after a fix included in the commit
b26ef1a11f21).
Fixes: 157d0b11d204 ("test/crypto: add capability checks")
Fixes: b26ef1a11f21 ("test/crypto: fix missing operation status check")
Signed-of
Remove one AES GCM scatter-gather unit test repetition
and enable this test on QAT (after a fix included in the commit
b26ef1a11f21).
Fixes: 280dce9a0f6d ("test/crypto: add capability checks")
Fixes: b26ef1a11f21 ("test/crypto: fix missing operation status check")
Signed-of
these PMDs:
null, aesni_mb, aesni_gcm, openssl, qat, sw_snow3g, sw_kasumi, sw_zuc.
Signed-off-by: Adam Dybkowski
---
app/test/test_cryptodev.c | 1132 +---
app/test/test_cryptodev_blockcipher.c |2 +-
app/test/test_cryptodev_des_test_vectors.h |6 +-
3
1 - 100 of 188 matches
Mail list logo