[PATCH v4 2/2] test/crypto: add DOCSIS security tests for cryptodev scheduler

2023-09-19 Thread David Coyle
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

[PATCH v4 1/2] crypto/scheduler: support DOCSIS security protocol

2023-09-19 Thread David Coyle
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

[PATCH v4 0/2] crypto/scheduler: add support for DOCSIS security protocol

2023-09-19 Thread David Coyle
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

[PATCH v3 2/2] test/crypto: add DOCSIS security tests for cryptodev scheduler

2023-09-14 Thread David Coyle
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

[PATCH v3 1/2] crypto/scheduler: support DOCSIS security protocol

2023-09-14 Thread David Coyle
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

[PATCH v3 0/2] crypto/scheduler: add support for DOCSIS security protocol

2023-09-14 Thread David Coyle
: * 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

[PATCH v2 2/2] test/crypto: add security tests for cryptodev scheduler

2023-08-11 Thread David Coyle
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

[PATCH v2 1/2] crypto/scheduler: support security protocols

2023-08-11 Thread David Coyle
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

[PATCH v2 0/2] crypto/scheduler: add support for security protocols

2023-08-11 Thread David Coyle
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

[PATCH 2/2] test/crypto: add security tests for cryptodev scheduler

2023-08-09 Thread David Coyle
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

[PATCH 1/2] crypto/scheduler: support security protocols

2023-08-09 Thread David Coyle
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

[PATCH 0/2] crypto/scheduler: add support for security protocols

2023-08-09 Thread David Coyle
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

[RFC PATCH] ring: adding TPAUSE instruction to ring dequeue

2023-05-03 Thread David Coyle
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

[dpdk-dev] [PATCH v2] crypto/aesni_mb: fix incorrect clearing of security session

2020-10-06 Thread David Coyle
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

[dpdk-dev] [PATCH v1] crypto/aesni_mb: fix incorrect clearing of security session

2020-10-06 Thread David Coyle
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

[dpdk-dev] [PATCH v2] app/crypto-perf: support security protocol in PMDCC mode

2020-07-21 Thread David Coyle
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

[dpdk-dev] [PATCH v2] crypto/qat: add DOCSIS performance optimization

2020-07-21 Thread David Coyle
("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

[dpdk-dev] [PATCH v1] app/crypto-perf: support security protocol in PMDCC mode

2020-07-20 Thread David Coyle
: 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

[dpdk-dev] [PATCH v1] crypto/qat: add DOCSIS performance optimization

2020-07-20 Thread David Coyle
("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

[dpdk-dev] [PATCH v2 2/2] crypto/aesni-mb: improve security instance setup

2020-07-20 Thread David Coyle
, 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

[dpdk-dev] [PATCH v2 1/2] crypto/qat: improve security instance setup

2020-07-20 Thread David Coyle
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 ++--

[dpdk-dev] [PATCH v2 0/2] improve security instance setup

2020-07-20 Thread David Coyle
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

[dpdk-dev] [PATCH v1 2/2] crypto/aesni_mb: improve security instance setup

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1 1/2] crypto/qat: improve security instance setup

2020-07-16 Thread David Coyle
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 ---

[dpdk-dev] [PATCH v1 0/2] improve security instance setup

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1] crypto/qat: use better variable names in CRC functions

2020-07-16 Thread David Coyle
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/

[dpdk-dev] [PATCH v1] crypto/qat: check for multi-segment buffers for DOCSIS

2020-07-16 Thread David Coyle
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/

[dpdk-dev] [PATCH v1 0/2] improve DOCSIS session creation

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1 1/2] crypto/qat: improve DOCSIS session creation

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1 2/2] crypto/aesni_mb: improve DOCSIS session creation

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1] app/crypto-perf: set mbuf lengths correctly for DOCSIS tests

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1 2/2] app/crypto-perf: enable security feature for security tests

2020-07-16 Thread David Coyle
. 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

[dpdk-dev] [PATCH v1 0/2] enable security feature for security tests

2020-07-16 Thread David Coyle
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

[dpdk-dev] [PATCH v1 1/2] test/crypto: enable security feature for security tests

2020-07-16 Thread David Coyle
: 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

[dpdk-dev] [PATCH v1] test/crypto: fix AESNI-MB CPU tests

2020-07-16 Thread David Coyle
!= 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

[dpdk-dev] [PATCH v4 7/7] app/crypto-perf: add support for DOCSIS protocol

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v4 4/7] crypto/qat: add support for DOCSIS protocol

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v4 3/7] crypto/aesni_mb: add support for DOCSIS protocol

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v4 6/7] test/security: add DOCSIS capability check tests

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v4 2/7] cryptodev: add a note regarding DOCSIS protocol support

2020-07-03 Thread David Coyle
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 ---

[dpdk-dev] [PATCH v4 5/7] test/crypto: add DOCSIS security test cases

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v4 1/7] security: add support for DOCSIS protocol

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v4 0/7] add support for DOCSIS protocol

2020-07-03 Thread David Coyle
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

[dpdk-dev] [PATCH v3 8/8] doc: add doc updates for DOCSIS security protocol

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 7/8] app/crypto-perf: add support for DOCSIS protocol

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 6/8] test/security: add DOCSIS capability check tests

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 2/8] cryptodev: add a note regarding DOCSIS protocol support

2020-06-30 Thread David Coyle
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,

[dpdk-dev] [PATCH v3 4/8] crypto/qat: add support for DOCSIS protocol

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 3/8] crypto/aesni_mb: add support for DOCSIS protocol

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 5/8] test/crypto: add DOCSIS security test cases

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 1/8] security: add support for DOCSIS protocol

2020-06-30 Thread David Coyle
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

[dpdk-dev] [PATCH v3 0/8] add support for DOCSIS protocol

2020-06-30 Thread David Coyle
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/

[dpdk-dev] [PATCH v2 6/6] test/security: add DOCSIS capability check tests

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH v2 5/6] test/crypto: add DOCSIS security test cases

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH v2 3/6] crypto/aesni_mb: add support for DOCSIS protocol

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH v2 0/6] add support for DOCSIS protocol

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH v2 4/6] crypto/qat: add support for DOCSIS protocol

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH v2 2/6] security: add support for DOCSIS protocol

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH v2 1/6] cryptodev: add security operation to crypto operation

2020-06-23 Thread David Coyle
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

[dpdk-dev] [PATCH 3/3] crypto/aesni_mb: add support for DOCSIS protocol

2020-06-04 Thread David Coyle
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

[dpdk-dev] [PATCH 2/3] cryptodev: add security operation to crypto operation

2020-06-04 Thread David Coyle
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

[dpdk-dev] [PATCH 0/3] add support for DOCSIS protocol to security library

2020-06-04 Thread David Coyle
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

[dpdk-dev] [PATCH 1/3] security: add support for DOCSIS protocol

2020-06-04 Thread David Coyle
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

[dpdk-dev] [PATCH v3 4/4] doc: update docs for aesni_mb_mfn raw device PMD

2020-04-10 Thread David Coyle
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

[dpdk-dev] [PATCH v3 3/4] test/rawdev: add aesni_mb_mfn raw device tests

2020-04-10 Thread David Coyle
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

[dpdk-dev] [PATCH v3 2/4] raw/aesni_mb_mfn: add aesni_mb_mfn raw device PMD

2020-04-10 Thread David Coyle
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

[dpdk-dev] [PATCH v3 1/4] raw/common: add multi-function interface

2020-04-10 Thread David Coyle
: 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

[dpdk-dev] [PATCH v3 0/4] add AESNI-MB rawdev for multi-function processing

2020-04-10 Thread David Coyle
. 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-

[dpdk-dev] [PATCH v2 4/4] app/crypto-perf: add support for multi-function processing

2020-04-03 Thread David Coyle
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

[dpdk-dev] [PATCH v2 3/4] test/rawdev: add aesni_mb raw device tests

2020-04-03 Thread David Coyle
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

[dpdk-dev] [PATCH v2 2/4] raw/aesni_mb: add aesni_mb raw device

2020-04-03 Thread David Coyle
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

[dpdk-dev] [PATCH v2 1/4] raw/common: add multi-function interface

2020-04-03 Thread David Coyle
-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

[dpdk-dev] [PATCH v2 0/4] introduce multi-function processing support

2020-04-03 Thread David Coyle
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

[dpdk-dev] [RFC] Accelerator API to chain packet processing functions

2020-02-04 Thread David Coyle
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

[dpdk-dev] [PATCH] examples/vm_power_manager: fix set VF MAC address

2018-01-23 Thread David Coyle
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