Add DOCSIS security test cases to the cryptodev scheduler test suite.
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
app/test/test_cryptodev.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_crypto
n size i.e. maximum session size
across all workers
- creation of security sessions on each worker
- deletion of security sessions on each worker
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
doc/guides/rel_notes/release_23_11.rst| 4 +
drivers/crypto/schedu
files
* Fix typo in commit message
Series-acked-by: Ciara Power
David Coyle (2):
crypto/scheduler: support DOCSIS security protocol
test/crypto: add DOCSIS security tests for cryptodev scheduler
app/test/test_cryptodev.c | 12 +-
doc/guides/rel_notes/release_23_11.rst
Add DOCSIS security test cases to the cryptodev scheduler test suite.
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
app/test/test_cryptodev.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_crypto
n size i.e. maximum session size
across all workers
- creation of security sessions on each worker
- deletion of security sessions on each worker
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
doc/guides/rel_notes/release_23_11.rst| 4 +
drivers/crypto/schedu
:
* Improve inclusion of rte_security header files
* Fix typo in commit message
David Coyle (2):
crypto/scheduler: support DOCSIS security protocol
test/crypto: add DOCSIS security tests for cryptodev scheduler
Add IPSec, PDCP and DOCSIS security test cases to the cryptodev
scheduler test suite.
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
app/test/test_cryptodev.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app
pabilities
- retrieval of the security session size i.e. maximum session size
across all workers
- creation of security sessions on each worker
- deletion of security sessions on each worker
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
doc/guides/rel_notes/release_23_11.r
This patchset adds support to the cryptodev scheduler PMD and unit
tests for the existing security protocols in the security library,
namely IPSec, MACSec, PDCP and DOCSIS.
v2:
* Improve inclusion of rte_security header files
* Fix typo in commit message
David Coyle (2):
crypto/scheduler
Add IPSec, PDCP and DOCSIS security test cases to the cryptodev
scheduler test suite.
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
app/test/test_cryptodev.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.c b/app
pabilities
- retrieval of the security session size i.e. maximum session size
across all workers
- creation of security sessions on each worker
- deletion of security sessions on each worker
Signed-off-by: David Coyle
Signed-off-by: Kevin O'Sullivan
---
doc/guides/rel_notes/release_23_11.r
This patchset adds support to the cryptodev scheduler PMD and unit
tests for the existing security protocols in the security library,
namely IPSec, MACSec, PDCP and DOCSIS.
David Coyle (2):
crypto/scheduler: support security protocols
test/crypto: add security tests for cryptodev scheduler
architectures. The functionality can be included or excluded at
compilation time using the RTE_RING_PMGMT flag. If included, the new
API can be used to enable/disable the feature on a per-ring basis.
Other related settings can also be configured using the API.
Signed-off-by: David Coyle
---
lib/ring
now clearing the private session object.
Fixes: fda5216fba55 ("crypto/aesni_mb: support DOCSIS protocol")
Cc: sta...@dpdk.org
Signed-off-by: David Coyle
Acked-by: Pablo de Lara
---
v2:
* CC'ing sta...@dpdk.org
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 2 +-
1 file chang
now clearing the private session object.
Fixes: fda5216fba55 ("crypto/aesni_mb: support DOCSIS protocol")
Signed-off-by: David Coyle
---
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypt
This patch adds support for DOCSIS and PDCP security protocols to the
pmd-cyclecount mode of the crypto performance tool. Adding this support
involves freeing the correct session type (i.e. security or cryptodev
session) when the test ends, depending on the op_type specified.
Signed-off-by: David
("crypto/qat: support DOCSIS protocol")
Signed-off-by: David Coyle
---
v2:
* Added '#ifdef BUILD_QAT_SYM' guard around call to
qat_sym_preprocess_requests() in driver/common/qat_qp.c
drivers/common/qat/qat_qp.c | 4 ++
drivers/crypt
: David Coyle
---
.../cperf_test_pmd_cyclecount.c | 33 +--
1 file changed, 23 insertions(+), 10 deletions(-)
diff --git a/app/test-crypto-perf/cperf_test_pmd_cyclecount.c
b/app/test-crypto-perf/cperf_test_pmd_cyclecount.c
index 74371faa8..69f0943d1 100644
--- a/app/test
("crypto/qat: support DOCSIS protocol")
Signed-off-by: David Coyle
---
drivers/common/qat/qat_qp.c | 2 +
drivers/crypto/qat/qat_sym.c | 75
drivers/crypto/qat/qat_sym.h | 57 +++
3 files changed, 76 insertions(+), 58 deletion
,
including enabling the RTE_CRYPTODEV_FF_SECURITY feature, into one
'#ifdef AESNI_MB_DOCSIS_SEC_ENABLED' block
Fixes: fda5216fba55 ("crypto/aesni_mb: support DOCSIS protocol")
Signed-off-by: David Coyle
---
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 18 +-
1 file c
enabling the RTE_CRYPTODEV_FF_SECURITY feature, into one
'#ifdef RTE_LIBRTE_SECURITY' block
Fixes: 6f0ef237404b ("crypto/qat: support DOCSIS protocol")
Signed-off-by: David Coyle
Acked-by: Fiona Trahe
---
drivers/crypto/qat/qat_sym_pmd.c | 42 ++--
These patches make some improvements to the security instance setup for
the QAT SYM and AESNI-MB PMDs.
David Coyle (2):
crypto/qat: improve security instance setup
crypto/aesni-mb: improve security instance setup
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 18 +-
drivers/crypto/qat
5 ("crypto/aesni_mb: support DOCSIS protocol")
Signed-off-by: David Coyle
---
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c
b/drivers/crypto/aesni_mb/rte_aesni_mb_p
quot;crypto/qat: support DOCSIS protocol")
Signed-off-by: David Coyle
---
drivers/crypto/qat/qat_sym_pmd.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/crypto/qat/qat_sym_pmd.c b/drivers/crypto/qat/qat_sym_pmd.c
index c7e323cce..7c760f9d2 100644
---
These patches make some minor improvements to the security instance
setup for the QAT SYM and AESNI-MB PMDs.
David Coyle (2):
crypto/qat: improve security instance setup
crypto/aesni_mb: improve security instance setup
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 13 -
drivers
ned-off-by: David Coyle
---
drivers/crypto/qat/qat_sym.c | 8
drivers/crypto/qat/qat_sym.h | 13 +++--
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c
index 6d568ab8f..fe5c85c34 100644
--- a/drivers/
Signed-off-by: David Coyle
---
doc/guides/cryptodevs/qat.rst | 2 ++
drivers/crypto/qat/qat_sym.c | 12 +++-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index 931a18f9a..b9f8c37ea 100644
--- a/doc/guides/
These patches improve the DOCSIS session creating in the QAT and
AESNI-MB PMDs
David Coyle (2):
crypto/qat: improve DOCSIS session creation
crypto/aesni_mb: improve DOCSIS session creation
.../crypto/aesni_mb/rte_aesni_mb_pmd_ops.c| 11 ---
drivers/crypto/qat/qat_sym_session.c
with
DOCSIS session info, in case any data was left over from the last time
it was used
- it simplifies the DOCSIS parameter setting, which was overly
complicated
Fixes: 6f0ef237404b ("crypto/qat: support DOCSIS protocol")
Signed-off-by: David Coyle
---
drivers/crypto/qat/qat_sym
tocol")
Signed-off-by: David Coyle
---
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c
b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c
index ed93daec7..2362f0c3c 10
Set the source mbuf data and packet lengths correctly for DOCSIS
performance tests.
Fixes: d4a131a9498d ("test/crypto-perf: support DOCSIS protocol")
Signed-off-by: David Coyle
---
app/test-crypto-perf/cperf_ops.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test-c
.
Fixes: d4a131a9498d ("test/crypto-perf: support DOCSIS protocol")
Signed-off-by: David Coyle
---
app/test-crypto-perf/main.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index edeea9c1b..8f8e580e4 10
security tests.
David Coyle (2):
test/crypto: enable security feature for security tests
app/crypto-perf: enable security feature for security tests
app/test-crypto-perf/main.c | 7 +--
app/test/test_cryptodev.c | 22 ++
2 files changed, 23 insertions(+), 6
: ea31f2b4f547 ("test/crypto: add DOCSIS security cases")
Signed-off-by: David Coyle
---
app/test/test_cryptodev.c | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 42e47059a..3d3548bb4 100644
!= RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO);
The tests have been updated not to run the DOCSIS (or PDCP) security
tests during cryptodev_cpu_aesni_mb_autotest, with the decision based on
improved PMD security capability checks.
Fixes: ea31f2b4f547 ("test/crypto: add DOCSIS security cases")
Signed-off
encrypt
--cipher-key-sz 16 --cipher-iv-sz 16 --burst-sz 32 --total-ops 2000
--buffer-sz 1024 --silent --docsis-hdr-sz 17
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
Acked-by: Akhil Goyal
---
app/test-crypto-perf/cperf_ops.c | 82 ++--
app/test
Add support to the QAT SYM PMD for the DOCSIS protocol, through the
rte_security API. This, therefore, includes adding support for the
rte_security API to this PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
doc/guides/cryptodevs/features/qat.ini| 1 +
doc/guides
Add support to the AESNI-MB PMD for the DOCSIS protocol, through the
rte_security API. This, therefore, includes adding support for the
rte_security API to this PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
doc/guides/cryptodevs/aesni_mb.rst| 8 +
doc
Add unit tests for DOCSIS capabilitity checks.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_security.c | 88
1 file changed, 88 insertions(+)
diff --git a/app/test/test_security.c b/app/test/test_security.c
index
Add a note to the rte_crypto_sym_op->auth.data fields to state that
for DOCSIS security protocol, these are used to specify the offset and
length of data over which the CRC is calculated.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
Acked-by: Akhil Goyal
---
Add uplink and downlink DOCSIS unit test cases and vectors, to test
the combined DOCSIS Crypto-CRC support that has been added to the
rte_security library.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
Acked-by: Akhil Goyal
---
app/test/test_cryptodev.c
Add support for DOCSIS protocol to rte_security library. This support
currently comprises the combination of Crypto and CRC operations.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
Acked-by: Akhil Goyal
---
doc/guides/prog_guide/rte_security.rst | 114
ypto PMD code changes
* added crypto unit tests
* added security unit tests
v1:
* added proposed API changes
* added security capabilities to aesni_mb crypto PMD
David Coyle (7):
security: add support for DOCSIS protocol
cryptodev: add a note regarding DOCSIS protocol support
crypto/aesni_mb
Update Security library, AESNI-MB crypto PMD, QAT crypto PMD,
dpdk-test-crypto-perf tool and release note documentation for DOCSIS
protocol support.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
doc/guides/cryptodevs/aesni_mb.rst | 8 ++
doc/guides/cryptodevs
encrypt
--cipher-key-sz 16 --cipher-iv-sz 16 --burst-sz 32 --total-ops 2000
--buffer-sz 1024 --silent --docsis-hdr-sz 17
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test-crypto-perf/cperf_ops.c | 82 ++--
app/test-crypto-perf/cperf_options.h
Add unit tests for DOCSIS capabilitity checks.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_security.c | 88
1 file changed, 88 insertions(+)
diff --git a/app/test/test_security.c b/app/test/test_security.c
index
Add a note to the rte_crypto_sym_op->auth.data fields to state that
for DOCSIS security protocol, these are used to specify the CRC offset
and length.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
lib/librte_cryptodev/rte_crypto_sym.h | 14 ++
1 file changed,
Add support to the QAT SYM PMD for the DOCSIS protocol, through the
rte_security API. This, therefore, includes adding support for the
rte_security API to this PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
drivers/common/qat/Makefile | 3 +
drivers
Add support to the AESNI-MB PMD for the DOCSIS protocol, through the
rte_security API. This, therefore, includes adding support for the
rte_security API to this PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
.../crypto/aesni_mb/aesni_mb_pmd_private.h| 19
Add uplink and downlink DOCSIS unit test cases and vectors, to test
the combined DOCSIS Crypto-CRC support that has been added to the
rte_security library.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_cryptodev.c | 513
Add support for DOCSIS protocol to rte_security library. This support
currently comprises the combination of Crypto and CRC operations.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
lib/librte_security/rte_security.c | 5
lib/librte_security/rte_security.h | 38
it tests
* added security unit tests
v1:
* added proposed API changes
* added security capabilities to aesni_mb crypto PMD
David Coyle (8):
security: add support for DOCSIS protocol
cryptodev: add a note regarding DOCSIS protocol support
crypto/aesni_mb: add support for DOCSIS protocol
crypto/
Add unit tests for DOCSIS capabilitity checks.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_security.c | 139 +++
1 file changed, 139 insertions(+)
diff --git a/app/test/test_security.c b/app/test/test_security.c
index
Add uplink and downlink DOCSIS unit test cases and vectors, to test
the combined DOCSIS Crypto-CRC support that has been added to the
rte_security and rte_cryptodev libraries.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_cryptodev.c | 552
Add support to the AESNI-MB PMD for the DOCSIS protocol, through the
rte_security API. This, therefore, includes adding support for the
rte_security API to this PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
.../crypto/aesni_mb/aesni_mb_pmd_private.h| 19
PMD code changes
* added crypto unit tests
* added security unit tests
David Coyle (6):
cryptodev: add security operation to crypto operation
security: add support for DOCSIS protocol
crypto/aesni_mb: add support for DOCSIS protocol
crypto/qat: add support for DOCSIS protocol
test/crypto
Add support to the QAT SYM PMD for the DOCSIS protocol, through the
rte_security API. This, therefore, includes adding support for the
rte_security API to this PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
drivers/common/qat/Makefile | 3 +
drivers
include CRC length and offset. The security
operation is accessed via a crypto operation.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
lib/librte_security/rte_security.c | 7 ++
lib/librte_security/rte_security.h | 116 -
2 files changed, 120
Add a new security operation field to the crypto operation to allow
protocol specific parameters be defined for a crypto operation.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
lib/librte_cryptodev/rte_crypto.h| 19 +--
lib/librte_cryptodev
next version.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
drivers/crypto/aesni_mb/meson.build | 2 +-
.../crypto/aesni_mb/rte_aesni_mb_pmd_ops.c| 63 +++
2 files changed, 64 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/aesni_mb
Add a new security operation structure to the crypto operation to allow
protocol specific parameters defined in rte_security be defined for a
crypto operation.
Please note this is API changes only. Implementation will follow in
next version.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o
Intel IPSec Multi-Buffer library.
However, other DOCSIS protocol functions could be optimized too in the
future using the same rte_security API for DOCSIS (e.g. Header Checksum
(HCS) calculation).
v1:
* added proposed API changes
* added security capabilities to aesni_mb crypto PMD
David Coyle (3
Add support for DOCSIS protocol to rte_security library. This support
currently comprises the combination of Crypto and CRC operations.
Please note this is API changes only. Implementation will follow in
next version.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
lib
Update documentation for the AESNI-MB Multi-Function raw device
PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
doc/api/doxy-api-index.md | 3 +-
doc/api/doxy-api.conf.in | 1 +
doc/guides/rawdevs/aesni_mb_mfn.rst| 219
Add unit tests for the AESNI-MB Multi-Function raw device PMD.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_rawdev.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/app/test/test_rawdev.c b/app/test/test_rawdev.c
index 524a9d5f3
Add an AESNI-MB Multi-Function raw device PMD, for utilizing
multi-function capabilities of the Intel IPSec Multi Buffer
library. This PMD uses the multi-function interface to allow
combined operations be sent to the Intel IPSec Multi Buffer
library.
Signed-off-by: David Coyle
Signed-off-by
: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
config/common_base| 5 +
drivers/meson.build | 5 +
drivers/raw/Makefile | 1 +
drivers/raw/common/Makefile | 8 +
drivers/raw/common
.
v3:
* removed support from crypto-perf tool for multi-function processing.
* renamed driver to rawdev_mfn_aesni_mb.
* renamed files/directories/functions/etc. of new driver to have
aesni_mb_mfn_ prefix.
* resolved review comments.
* updated documentation.
David Coyle (4):
raw/common: add multi-
associated with that. Currently the
following are supported:
docsis-cipher-crc,,
pon-cipher-crc-bip,
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test-crypto-perf/Makefile | 5 +
app/test-crypto-perf/cperf_ops.c | 265
app/test
Adding unit tests for the AESNI-MB raw device.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
app/test/test_rawdev.c | 16
1 file changed, 16 insertions(+)
diff --git a/app/test/test_rawdev.c b/app/test/test_rawdev.c
index 524a9d5f3..badb6a756 100644
--- a
Adding an AESNI-MB raw device, thereby exposing AESNI-MB to the
rawdev API. The AESNI-MB raw device will use the multi-function
interface to allow combined operations be sent to the AESNI-MB
software library.
Signed-off-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
config/common_base
-by: David Coyle
Signed-off-by: Mairtin o Loingsigh
---
In particular, looking for feedback on the meson script changes
that were required to build the drivers/raw/common/multi_fn
directory. Thank you.
config/common_base| 5 +
drivers/meson.build
T HW |
| SW LIB | ||
+----+ ++
David Coyle (4):
raw/common: add multi-function interface
raw/aesni_mb: add aesni_mb raw device
test/rawdev: add aesni_mb raw device tests
app/crypto-perf: add support for multi-function processing
Introduction
This RFC introduces a new DPDK library, rte_accelerator.
The main aim of this library is to provide a flexible and extensible way of
combining one or more packet-processing functions into a single operation,
thereby allowing these to be performed in parallel in optimiz
Current code only sets mac address of first VF. Fix code so that it
continues through the loop and sets the mac address of each VF.
Fixes: c9a4779135c9 ("examples/vm_power_mgr: set MAC address of VF")
Signed-off-by: David Coyle
---
examples/vm_power_manager/main.c | 5 ++---
1 file
75 matches
Mail list logo