[dpdk-dev] [PATCH v2 6/6] examples/ipsec-secgw: clear soft expiry configuration

2021-09-07 Thread Anoob Joseph
the functionality, remove the same by clearing life configuration. Signed-off-by: Anoob Joseph --- examples/ipsec-secgw/ipsec.c | 5 - examples/ipsec-secgw/ipsec.h | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c

Re: [dpdk-dev] [EXT] Re: [PATCH] RFC: ethdev: add reassembly offload

2021-09-08 Thread Anoob Joseph
Hi Ferruh, Rosen, Andrew, Please see inline. Thanks, Anoob > Subject: [EXT] Re: [PATCH] RFC: ethdev: add reassembly offload > > External Email > > -- > On 8/23/2021 11:02 AM, Akhil Goyal wrote: > > Reassembly is a costly opera

Re: [dpdk-dev] [PATCH 1/8] cryptodev: separate out internal structures

2021-09-08 Thread Anoob Joseph
Hi Akhil, Please see inline. Thanks, Anoob > Subject: [PATCH 1/8] cryptodev: separate out internal structures > > A new header file rte_cryptodev_core.h is added and all internal data > structures which need not be exposed directly to application are moved to > this file. These structures are m

[PATCH v4] app/test-security-perf: add security perf app

2022-11-03 Thread Anoob Joseph
core, the number of sessions would be evenly distributed across all cores. The application would test with all combinations of cipher & auth algorithms supported by the PMD. Signed-off-by: Aakash Sasidharan Signed-off-by: Anoob Joseph --- v4: * Fixed documentation v3: * Rebased v2: * Rebased o

RE: [PATCH 0/2] app/testseventdev: crypto producer fixes

2022-11-03 Thread Anoob Joseph
ucer > Series Acked-by: Anoob Joseph

RE: [PATCH v2 0/3] app/testseventdev: crypto producer fixes

2022-11-07 Thread Anoob Joseph
s > app/testeventdev: fix asymmetric last stage handling > app/testeventdev: fix timestamp with crypto producer > Series Acked-by: Anoob Joseph

[PATCH] test/crypto: reset device after asym tests

2022-11-11 Thread Anoob Joseph
Reset the crypto device after asym tests so that the state from asymmetric tests won't affect the tests executed later. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev_asym.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/app/test/test_cryptodev_asym.c b/app

RE: [PATCH] cryptodev: add algo enums to string conversion APIs

2022-12-12 Thread Anoob Joseph
added for getting the algorithm strings based on enum values. > > Signed-off-by: Akhil Goyal Acked-by: Anoob Joseph

[PATCH] app/crypto-perf: fix number of segments

2022-12-19 Thread Anoob Joseph
-by: Anoob Joseph Signed-off-by: Akhil Goyal --- app/test-crypto-perf/cperf_test_common.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index 00aadc9a47..cc03b33ac5 100644 --- a/app/t

RE: [RFC 0/1] lib: add pdcp protocol

2022-12-20 Thread Anoob Joseph
Hi Akhil, Thanks for the review. Please see inline. Thanks Anoob > -Original Message- > From: Akhil Goyal > Sent: Tuesday, December 13, 2022 12:32 PM > To: Anoob Joseph ; Thomas Monjalon > ; Jerin Jacob Kollanukkaran ; > Konstantin Ananyev ; Bernard > Iremonger

[PATCH 1/5] net: add PDCP header

2022-12-22 Thread Anoob Joseph
From: Volodymyr Fialko Added PDCP protocol header to be used for supporting PDCP protocol processing. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar K Signed-off-by: Volodymyr Fialko --- doc/api/doxy-api-index.md | 3 +- lib/net/meson.build | 1 + lib/net/rte_pdcp_hdr.h

[PATCH 0/5] lib: add pdcp protocol

2022-12-22 Thread Anoob Joseph
uplication is enabled, duplicate PDCP PDUs * - When lower layers confirm reception of a PDCP PDU, * it should be communicated to PDCP layer so that * PDCP can drop the corresponding SDU */ } }

[PATCH 3/5] app/test: add lib pdcp tests

2022-12-22 Thread Anoob Joseph
Add tests to verify lib PDCP operations. Tests leverage existing PDCP test vectors. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar K Signed-off-by: Volodymyr Fialko --- app/test/meson.build | 1 + app/test/test_cryptodev.h | 3 + app/test/test_pdcp.c | 663

[PATCH 2/5] lib: add pdcp protocol

2022-12-22 Thread Anoob Joseph
-off-by: Anoob Joseph Signed-off-by: Kiran Kumar K Signed-off-by: Volodymyr Fialko --- doc/api/doxy-api-index.md |3 +- doc/api/doxy-api.conf.in |1 + lib/meson.build |1 + lib/pdcp/meson.build |8 + lib/pdcp/pdcp_crypto.c| 240 lib/pdcp/pdcp_crypto.h

[PATCH 5/5] doc: add PDCP library guide

2022-12-22 Thread Anoob Joseph
Add guide for PDCP library. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar K Signed-off-by: Volodymyr Fialko --- .../img/pdcp_functional_overview.svg | 1 + doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/pdcp_lib.rst| 211

[PATCH 4/5] app/test: pdcp HFN tests in combined mode

2022-12-22 Thread Anoob Joseph
From: Volodymyr Fialko Add tests to verify HFN/SN behaviour. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar K Signed-off-by: Volodymyr Fialko --- app/test/test_pdcp.c | 390 --- 1 file changed, 363 insertions(+), 27 deletions(-) diff --git a

[PATCH 1/3] app/crypto-perf: use right API to free session

2023-01-02 Thread Anoob Joseph
Use the right API for session freeing. Sessions can be asymmetric, symmetric or security. Fixes: 28dde5da503e ("app/crypto-perf: support lookaside IPsec") Fixes: a538d1d2d01e ("test/crypto-perf: extend asymmetric crypto throughput test") Signed-off-by: Anoob Joseph ---

[PATCH 2/3] app/crypto-perf: fix invalid SPI

2023-01-02 Thread Anoob Joseph
As per IPsec specification (RFC 4303) SPI zero is reserved. Using lcore_id directly would mean SPI 0 would also be attempted. This may lead to failure on an otherwise compliant implementation. Fixes: 28dde5da503e ("app/crypto-perf: support lookaside IPsec") Signed-off-by: Anoob Joseph

[PATCH 3/3] app/crypto-perf: fix IPsec direction

2023-01-02 Thread Anoob Joseph
ince the same check would be required in datapath, introduce a new flag in options for the same. Fixes: 28dde5da503e ("app/crypto-perf: support lookaside IPsec") Signed-off-by: Anoob Joseph --- app/test-crypto-perf/cperf_ops.c | 35 +++- app/test-cryp

[PATCH] cryptodev: increase default max nb queue pairs

2023-01-03 Thread Anoob Joseph
pairs it wishes to use. Only the upper bound is changed from 8 to 64. Allow PMDs such as crypto_armv8 to run on larger number of cores. Signed-off-by: Anoob Joseph --- lib/cryptodev/cryptodev_pmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cryptodev/cryptodev_pmd.h b

RE: [PATCH] cryptodev: increase default max nb queue pairs

2023-01-09 Thread Anoob Joseph
, Anoob > -Original Message- > From: Ruifeng Wang > Sent: Tuesday, January 10, 2023 12:12 PM > To: Anoob Joseph ; Akhil Goyal ; > Gagandeep Singh ; hemant.agra...@nxp.com; Kai Ji > ; Pablo de Lara ; Matan > Azrad ; Zhangfei Gao ; Fan > Zhang > Cc: Ashwin Sekhar T

Re: [dpdk-dev] [PATCH 0/2] support block cipher DIGEST_ENCRYPTED mode

2021-03-15 Thread Anoob Joseph
Series Acked-by: Anoob Joseph > > This series adds support for block cipher DIGEST_ENCRYPTED mode in > OCTEON TX, OCTEON TX2 PMDs and sample unit test application. > > Tejasree Kondoj (2): > common/cpt: support DIGEST_ENCRYPTED mode > test/crypto: support block cipher

Re: [dpdk-dev] [PATCH] crypto/octeontx2: remove redundant code

2021-03-17 Thread Anoob Joseph
Acked-by: Anoob Joseph > > Removing redundant field in a union. > > Signed-off-by: Tejasree Kondoj > ---

[dpdk-dev] [PATCH] doc: update limitations of OCTEON TX crypto PMDs

2021-03-26 Thread Anoob Joseph
Update known limitations of OCTEON TX crypto PMDs. Signed-off-by: Anoob Joseph --- doc/guides/cryptodevs/octeontx.rst | 6 ++ doc/guides/cryptodevs/octeontx2.rst | 6 ++ 2 files changed, 12 insertions(+) diff --git a/doc/guides/cryptodevs/octeontx.rst b/doc/guides/cryptodevs

[PATCH] app/crypto-perf: remove redundant function return

2022-07-20 Thread Anoob Joseph
Remove redundant function return value. The function is used in datapath and the return value is not checked in any of the existing callers. Signed-off-by: Anoob Joseph --- app/test-crypto-perf/cperf_ops.c | 36 +--- app/test-crypto-perf/cperf_ops.h | 2 +- 2 files

[PATCH] test/crypto: add AES-CCM test vectors

2022-07-26 Thread Anoob Joseph
From: Archana Muniganti Added ESP tunnel mode known vectors for AES-CCM along with combined mode support. Signed-off-by: Archana Muniganti --- app/test/test_cryptodev.c | 8 ++ app/test/test_cryptodev_security_ipsec.c | 3 + app/test/test_cryptodev_security_ipsec.h

[PATCH 00/18] Fixes and improvements in cnxk crypto PMDs

2022-08-08 Thread Anoob Joseph
New features added: - AES-CCM with lookaside IPsec operations - DOCSIS algos with lookaside crypto operations - Redesigned datapath for improving performance Anoob Joseph (11): crypto/cnxk: remove zero IV crypto/cnxk: limit the meta buf cache to 128 crypto/cnxk: add separate path for

[PATCH 01/18] crypto/cnxk: add AES-CCM support

2022-08-08 Thread Anoob Joseph
From: Archana Muniganti Add lookaside IPsec AES-CCM support in CN9K & CN10K PMDs. Signed-off-by: Archana Muniganti --- doc/guides/rel_notes/release_22_11.rst| 4 ++ drivers/common/cnxk/cnxk_security.c | 38 -- drivers/common/cnxk/roc_cpt.h | 13 ++

[PATCH 02/18] crypto/cnxk: add burst enqueue for event crypto

2022-08-08 Thread Anoob Joseph
From: Volodymyr Fialko Added support for burst enqueue for cn10k event crypto adapter. Instruction will be grouped based on the queue pair and sent in a burst. Signed-off-by: Volodymyr Fialko --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 141 +++--- drivers/crypto/cnxk/cn10k_

[PATCH 03/18] crypto/cnxk: remove zero IV

2022-08-08 Thread Anoob Joseph
Zeroising AES-CMAC IV would be done in microcode. Extra clearing in DPDK is not required. Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk

[PATCH 04/18] crypto/cnxk: limit the meta buf cache to 128

2022-08-08 Thread Anoob Joseph
Limit meta buf pool cache size as 128. Having 512 as the cache size would cause more time for refill. Signed-off-by: Anoob Joseph Signed-off-by: Volodymyr Fialko --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 05/18] crypto/cnxk: add separate path for pdcp chain opcode

2022-08-08 Thread Anoob Joseph
Add separate datapath for PDCP chain opcode. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 7 +- drivers/crypto/cnxk/cnxk_se.h| 229 +++ drivers/crypto/cnxk/meson.build | 4 +- 3 files changed, 196 insertions(+), 44

[PATCH 06/18] crypto/cnxk: add separate datapath for pdcp cipher operation

2022-08-08 Thread Anoob Joseph
Add separate datapath for PDCP opcode performing cipher operation. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 19 --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 27 +--- drivers/crypto/cnxk/cnxk_se.h | 177 +++--- 3 files changed

[PATCH 07/18] crypto/cnxk: remove MAC len check for AEAD

2022-08-08 Thread Anoob Joseph
For both AES-GCM and ChaChaPoly, digest size must be non-zero. So remove the conditional handling in the datapath. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/cnxk

[PATCH 08/18] crypto/cnxk: fix endianness in anti-replay

2022-08-08 Thread Anoob Joseph
From: Tejasree Kondoj Fixing anti-replay endianness issue in lookaside IPsec. Fixes: c1eac1b966c2 ("crypto/cnxk: add anti-replay as per new firmware") Cc: ktejas...@marvell.com Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 21 +++-- 1 file chang

[PATCH 09/18] crypto/cnxk: remove extra indirection for FC and Kasumi

2022-08-08 Thread Anoob Joseph
Fill FC params routine now caters to only KASUMI & FC_GEN. Call appropriate functions directly. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 51 +++ 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se

[PATCH 10/18] crypto/cnxk: remove extra digest len check

2022-08-08 Thread Anoob Joseph
When the flag ROC_SE_VALID_MAC_BUF is set, digest length will be non-zero. Remove extra check in datapath. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto

[PATCH 11/18] crypto/cnxk: avoid accessing se ctx in aes gcm path

2022-08-08 Thread Anoob Joseph
Field op_minor is required only for digest encrypted cases with chained ops. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index 64a66ef911

[PATCH 12/18] crypto/cnxk: remove auth iv from kasumi cipher

2022-08-08 Thread Anoob Joseph
Auth IV is not applicable for kasumi cipher operation. Remove the same. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index 55f411d50c

[PATCH 13/18] crypto/cnxk: enable IE engine for Chacha-Poly

2022-08-08 Thread Anoob Joseph
From: Tejasree Kondoj Change engine group of Chacha20-Poly1305 as it is supported on IE engines also. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/driv

[PATCH 14/18] crypto/cnxk: use dedicated dp threads depending on operation

2022-08-08 Thread Anoob Joseph
Identify the datapath thread to be used during session create. This can be used to call right function early on to avoid multiple session specific checks in datapath functions. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 29 + drivers/crypto/cnxk

[PATCH 15/18] crypto/cnxk: remove unused ctx buf len

2022-08-08 Thread Anoob Joseph
Ctx len buf field is unused. Remove it. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/roc_se.h | 45 +++ drivers/crypto/cnxk/cnxk_se.h | 27 +++-- 2 files changed, 33 insertions(+), 39 deletions(-) diff --git a/drivers/common/cnxk/roc_se.h

[PATCH 16/18] drivers: change crypto adapter datapath error print to debug

2022-08-08 Thread Anoob Joseph
From: Shijith Thotton Errors in crypto adapter datapath can be handled gracefully. So the error print can be moved under debug. Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_platform.h| 2 ++ drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +- 2 files changed, 3 insertions(+

[PATCH 17/18] crypto/cnxk: update flow label copy capability

2022-08-08 Thread Anoob Joseph
From: Vamsi Attunuru Update flow label copy capability in IPsec options. Signed-off-by: Vamsi Attunuru --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptod

[PATCH 18/18] crypto/cnxk: add support for DOCSIS algorithm

2022-08-08 Thread Anoob Joseph
From: Volodymyr Fialko Add support for offloading RTE_CRYPTO_CIPHER_AES_DOCSISBPI and RTE_CRYPTO_CIPHER_DES_DOCSISBPI algorithms to symmetric crypto session. Signed-off-by: Volodymyr Fialko --- doc/guides/cryptodevs/features/cn9k.ini | 2 + doc/guides/rel_notes/release_22_11.rst

[PATCH v2 00/18] Fixes and improvements in cnxk crypto PMDs

2022-08-09 Thread Anoob Joseph
New features added: - AES-CCM with lookaside IPsec operations - DOCSIS algos with lookaside crypto operations - Redesigned datapath for improved performance Changes in v2: - Addressed failures with GCC 4.8 Anoob Joseph (11): crypto/cnxk: remove zero IV crypto/cnxk: limit the meta buf

[PATCH v2 01/18] crypto/cnxk: add AES-CCM support

2022-08-09 Thread Anoob Joseph
From: Archana Muniganti Add lookaside IPsec AES-CCM support in CN9K & CN10K PMDs. Signed-off-by: Archana Muniganti --- doc/guides/rel_notes/release_22_11.rst| 4 ++ drivers/common/cnxk/cnxk_security.c | 38 -- drivers/common/cnxk/roc_cpt.h | 13 ++

[PATCH v2 02/18] crypto/cnxk: add burst enqueue for event crypto

2022-08-09 Thread Anoob Joseph
From: Volodymyr Fialko Added support for burst enqueue for cn10k event crypto adapter. Instruction will be grouped based on the queue pair and sent in a burst. Signed-off-by: Volodymyr Fialko --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 141 +++--- drivers/crypto/cnxk/cn10k_

[PATCH v2 03/18] crypto/cnxk: remove zero IV

2022-08-09 Thread Anoob Joseph
Zeroising AES-CMAC IV would be done in microcode. Extra clearing in DPDK is not required. Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk

[PATCH v2 04/18] crypto/cnxk: limit the meta buf cache to 128

2022-08-09 Thread Anoob Joseph
Limit meta buf pool cache size as 128. Having 512 as the cache size would cause more time for refill. Signed-off-by: Anoob Joseph Signed-off-by: Volodymyr Fialko --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH v2 05/18] crypto/cnxk: add separate path for pdcp chain opcode

2022-08-09 Thread Anoob Joseph
Add separate datapath for PDCP chain opcode. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 7 +- drivers/crypto/cnxk/cnxk_se.h| 229 +++ drivers/crypto/cnxk/meson.build | 4 +- 3 files changed, 196 insertions(+), 44

[PATCH v2 06/18] crypto/cnxk: add separate datapath for pdcp cipher operation

2022-08-09 Thread Anoob Joseph
Add separate datapath for PDCP opcode performing cipher operation. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 19 --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 27 +--- drivers/crypto/cnxk/cnxk_se.h | 177 +++--- 3 files changed

[PATCH v2 07/18] crypto/cnxk: remove MAC len check for AEAD

2022-08-09 Thread Anoob Joseph
For both AES-GCM and ChaChaPoly, digest size must be non-zero. So remove the conditional handling in the datapath. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/cnxk

[PATCH v2 08/18] crypto/cnxk: fix endianness in anti-replay

2022-08-09 Thread Anoob Joseph
From: Tejasree Kondoj Fixing anti-replay endianness issue in lookaside IPsec. Fixes: c1eac1b966c2 ("crypto/cnxk: add anti-replay as per new firmware") Cc: ktejas...@marvell.com Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 21 +++-- 1 file chang

[PATCH v2 09/18] crypto/cnxk: remove extra indirection for FC and Kasumi

2022-08-09 Thread Anoob Joseph
Fill FC params routine now caters to only KASUMI & FC_GEN. Call appropriate functions directly. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 55 +++ 1 file changed, 17 insertions(+), 38 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se

[PATCH v2 10/18] crypto/cnxk: remove extra digest len check

2022-08-09 Thread Anoob Joseph
When the flag ROC_SE_VALID_MAC_BUF is set, digest length will be non-zero. Remove extra check in datapath. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto

[PATCH v2 11/18] crypto/cnxk: avoid accessing se ctx in aes gcm path

2022-08-09 Thread Anoob Joseph
Field op_minor is required only for digest encrypted cases with chained ops. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index f382194c27

[PATCH v2 12/18] crypto/cnxk: remove auth iv from kasumi cipher

2022-08-09 Thread Anoob Joseph
Auth IV is not applicable for kasumi cipher operation. Remove the same. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index a75e98362d

[PATCH v2 13/18] crypto/cnxk: enable IE engine for Chacha-Poly

2022-08-09 Thread Anoob Joseph
From: Tejasree Kondoj Change engine group of Chacha20-Poly1305 as it is supported on IE engines also. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/driv

[PATCH v2 14/18] crypto/cnxk: use dedicated dp threads depending on operation

2022-08-09 Thread Anoob Joseph
Identify the datapath thread to be used during session create. This can be used to call right function early on to avoid multiple session specific checks in datapath functions. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 29 + drivers/crypto/cnxk

[PATCH v2 15/18] crypto/cnxk: remove unused ctx buf len

2022-08-09 Thread Anoob Joseph
Ctx len buf field is unused. Remove it. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/roc_se.h | 45 +++ drivers/crypto/cnxk/cnxk_se.h | 27 +++-- 2 files changed, 33 insertions(+), 39 deletions(-) diff --git a/drivers/common/cnxk/roc_se.h

[PATCH v2 16/18] drivers: change crypto adapter datapath error print to debug

2022-08-09 Thread Anoob Joseph
From: Shijith Thotton Errors in crypto adapter datapath can be handled gracefully. So the error print can be moved under debug. Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_platform.h| 2 ++ drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +- 2 files changed, 3 insertions(+

[PATCH v2 17/18] crypto/cnxk: update flow label copy capability

2022-08-09 Thread Anoob Joseph
From: Vamsi Attunuru Update flow label copy capability in IPsec options. Signed-off-by: Vamsi Attunuru --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptod

[PATCH v2 18/18] crypto/cnxk: add support for DOCSIS algorithm

2022-08-09 Thread Anoob Joseph
From: Volodymyr Fialko Add support for offloading RTE_CRYPTO_CIPHER_AES_DOCSISBPI and RTE_CRYPTO_CIPHER_DES_DOCSISBPI algorithms to symmetric crypto session. Signed-off-by: Volodymyr Fialko --- doc/guides/cryptodevs/features/cn9k.ini | 2 + doc/guides/rel_notes/release_22_11.rst

[PATCH 0/1] Add security perf application

2022-08-10 Thread Anoob Joseph
core, the number of sessions would be evenly distributed across all cores. The application would test with all combinations of cipher & auth algorithms supported by the PMD. The app is similar to 'test-flow-perf' tool which captures the rate at which flow rules can be created and destro

[PATCH 1/1] app/test-security-perf: add security perf app

2022-08-10 Thread Anoob Joseph
Add app to test rte_security session create/destroy rates. Signed-off-by: Anoob Joseph Signed-off-by: Aakash Sasidharan --- MAINTAINERS | 6 + app/meson.build | 1 + app/test-security-perf/meson.build | 14 + app/test

RE: [EXT] [PATCH 2/4] cryptodev: add SM3 hash algorithm

2022-08-17 Thread Anoob Joseph
Hi Arek, Please see inline. Thanks, Anoob > > External Email > > -- > SM3 is a cryptographic hash function used in the Chinese National Standard. > > - Added SM3 algorithm > > Signed-off-by: Arek Kusztal > --- [snip] > a/

RE: [PATCH 0/1] Add security perf application

2022-08-19 Thread Anoob Joseph
ommand line options (which is currently at 37) as we add more options for measuring security perf. > This way we can leverage it for crypto sessions also. > > > > Anoob Joseph (1): > > app/test-security-perf: add security perf app > > > > MAINTAINERS

[PATCH] rcu: fix build failure with debug dp log level

2022-08-29 Thread Anoob Joseph
ot; PRIu64, |^~ Fixes: 30a1de105a5f ("lib: remove unneeded header includes") Cc: sean.morris...@intel.com Signed-off-by: Anoob Joseph --- lib/rcu/rte_rcu_qsbr.h | 4 1 file changed, 4 insertions(+) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/

[PATCH] test/cryptodev: ensure structs are updated in unison

2022-09-01 Thread Anoob Joseph
The structs are directly indexed for generating standard vectors. Add asserts to make sure structs are not updated in isolation. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test

RE: [EXT] [PATCH] examples/ipsec-secgw: add check for unprotected port mask

2022-02-18 Thread Anoob Joseph
amples/ipsec-secgw/ipsec-secgw.c | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Anoob Joseph

RE: [EXT] [PATCH] test/crypto: remove mod exp smaller modulus cases

2022-02-23 Thread Anoob Joseph
Hi Arek, I agree that these cases may not be particularly useful from cryptographic standpoint, but how do we say from what values a PMD "must" support? Are you having some trouble supporting some of these values? Should we consider extending capabilities to help with this rather than just remo

RE: [EXT] [PATCH] test/crypto: remove mod exp smaller modulus cases

2022-02-23 Thread Anoob Joseph
Roy Fan > Sent: Wednesday, February 23, 2022 4:05 PM > To: Anoob Joseph ; Kusztal, ArkadiuszX > > Cc: Akhil Goyal ; Umesh Kartha > ; Ramkumar Balu ; > dev@dpdk.org > Subject: RE: [EXT] [PATCH] test/crypto: remove mod exp smaller modulus > cases > > Hi Anoob, > &g

RE: [EXT] [PATCH] test/crypto: remove mod exp smaller modulus cases

2022-02-23 Thread Anoob Joseph
h. Thanks, Anoob > -Original Message- > From: Zhang, Roy Fan > Sent: Wednesday, February 23, 2022 8:22 PM > To: Akhil Goyal ; Anoob Joseph > ; Kusztal, ArkadiuszX > Cc: Umesh Kartha ; Ramkumar Balu > ; dev@dpdk.org > Subject: RE: [EXT] [PATCH] test/crypto: remo

[PATCH] app/crypto-perf: add IPsec ops population routine

2022-03-04 Thread Anoob Joseph
and op preparation into two loops to allow 2 rte_rdtsc_precise() calls to capture cycles consumed for memcpying the vector. Checking the cycle count from the loop would mean more calls to the same API. Signed-off-by: Anoob Joseph --- app/test-crypto-perf/cperf_ops.c

[dpdk-dev] [PATCH] common/cpt: add checks for offset overflow

2021-05-10 Thread Anoob Joseph
Add checks to catch overflow of any offsets. Offset control word specifies, 1. 16 bits encryption offset 2. 8 bits IV offset 3. 8 bits auth offset Signed-off-by: Anoob Joseph --- drivers/common/cpt/cpt_ucode.h | 59 ++ 1 file changed, 59 insertions

Re: [dpdk-dev] [EXT] Re: [PATCH] common/cpt: add checks for offset overflow

2021-05-11 Thread Anoob Joseph
Hi Thomas, > Should it be merged in DPDK 21.05-rc3, or wait for 21.08? Either is fine. This patch is just adding some extra parameter checks. Thanks, Anoob > -Original Message- > From: Thomas Monjalon > Sent: Tuesday, May 11, 2021 6:59 PM > To: Jerin Jacob Kollanukkaran

[dpdk-dev] [PATCH 00/11] Add CPT in Marvell CNXK common driver

2021-06-02 Thread Anoob Joseph
to enable inline IPsec functionality. Similarly, CPT can associate with SSO (rte_eventdev) to enable crypto adapter. Based on CNXK common driver, new crypto PMDs would be added under 'crypto/cnxk'. Aakash Sasidharan (2): common/cnxk: add CPT diagnostics common/cnxk: add CPT LF fl

[dpdk-dev] [PATCH 01/11] common/cnxk: add CPT HW defines

2021-06-02 Thread Anoob Joseph
From: Vidya Sagar Velumuri Add CPT hardware definitions. CPT is the hardware block on cnxk family of processors, that can be used to offload cryptographic operations. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/hw/cpt.h | 201

[dpdk-dev] [PATCH 02/11] common/cnxk: add CPT dev config routines

2021-06-02 Thread Anoob Joseph
Add routines to init, fini, configure & clear CPT device. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/meson.build| 1 + drivers/common/cnxk/roc_api.h | 3 + drivers/common/cnxk/roc_cpt.c |

[dpdk-dev] [PATCH 03/11] common/cnxk: add mbox to configure RXC

2021-06-02 Thread Anoob Joseph
From: Vidya Sagar Velumuri Add mailbox to configure tiemouts and thresholds in CPT RXC unit. Signed-off-by: Aakash Sasidharan Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c | 27 +++ drivers/common/cnxk/roc_cpt.h | 10 ++ drivers/com

[dpdk-dev] [PATCH 04/11] common/cnxk: add CPT LF config

2021-06-02 Thread Anoob Joseph
From: Archana Muniganti Add routines to init & fini CPT LFs. CPT LFs are queues to the hardware enabling instruction submissions. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c |

[dpdk-dev] [PATCH 05/11] common/cnxk: add CPT diagnostics

2021-06-02 Thread Anoob Joseph
From: Aakash Sasidharan Add routines to fetch and dump CPT statistics and states. Signed-off-by: Aakash Sasidharan Signed-off-by: Srujana Challa --- drivers/common/cnxk/roc_cpt.c | 182 drivers/common/cnxk/roc_cpt.h | 2 + drivers/common/cnxk/ve

[dpdk-dev] [PATCH 06/11] common/cnxk: add CPT LF flush

2021-06-02 Thread Anoob Joseph
From: Aakash Sasidharan Add routine to flush context from CPT context processor cache. Signed-off-by: Aakash Sasidharan Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c | 18 ++ drivers/common/cnxk/roc_cpt.h | 1 + drivers/common/cnxk/version.map |

[dpdk-dev] [PATCH 07/11] common/cnxk: add SE microcode defines

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda Microcode SE opcodes support symmetric operations. Add defines and structs defined by microcode. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_api.h | 3 + drivers/common

[dpdk-dev] [PATCH 08/11] common/cnxk: add IE microcode defines

2021-06-02 Thread Anoob Joseph
From: Srujana Challa Microcode IE opcodes support IPsec operations. Add defines and structs defined by microcode. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/roc_api.h | 2 + drivers/common/cnxk/roc_ie.h | 19

[dpdk-dev] [PATCH 09/11] common/cnxk: add AE microcode defines

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda Microcode AE opcodes support asymmetric operations. Add defines and structs defined by microcode. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda --- drivers/common/cnxk/roc_ae.h | 56 +++ drivers

[dpdk-dev] [PATCH 10/11] common/cnxk: add lmtline init

2021-06-02 Thread Anoob Joseph
Add routine to initialize LMTLINE which facilitates instruction submission to CPT. Add common macros required in the enqueue operations. Signed-off-by: Anoob Joseph Signed-off-by: Ankur Dwivedi --- drivers/common/cnxk/roc_cpt.c | 20 drivers/common/cnxk/roc_cpt.h | 31

[dpdk-dev] [PATCH 11/11] common/cnxk: add fpm tables

2021-06-02 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda Add scalar FPM tables to be used for asymmetric operations. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda --- drivers/common/cnxk/meson.build |1 + drivers/common/cnxk/roc_ae_fpm_tables.c | 1140

[dpdk-dev] [PATCH 00/20] Add Marvell CNXK crypto PMDs

2021-06-02 Thread Anoob Joseph
on driver") Ankur Dwivedi (5): crypto/cnxk: add driver skeleton crypto/cnxk: add probe and remove crypto/cnxk: add device control ops crypto/cnxk: add symmetric crypto capabilities crypto/cnxk: add queue pair ops Anoob Joseph (5): crypto/cnxk: add session ops framework crypto/cnxk:

[dpdk-dev] [PATCH 01/20] crypto/cnxk: add driver skeleton

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add driver skeleton for crypto_cn9k & crypto_cn10k PMDs leveraging cnxk common framework. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- MAINTAINERS

[dpdk-dev] [PATCH 02/20] crypto/cnxk: add probe and remove

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add probe & remove for cn9k & cn10k crypto PMDs. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph > Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 93 ++- dri

[dpdk-dev] [PATCH 03/20] crypto/cnxk: add device control ops

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add ops for - dev_configure() - dev_start() - dev_stop() - dev_close() - dev_infos_get() Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 21

[dpdk-dev] [PATCH 04/20] crypto/cnxk: add symmetric crypto capabilities

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add symmetric crypto capabilities for cn9k & cn10k. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 4 + drivers/crypto/

[dpdk-dev] [PATCH 05/20] crypto/cnxk: add queue pair ops

2021-06-02 Thread Anoob Joseph
From: Ankur Dwivedi Add ops for - queue_pair_setup() - queue_pair_release() Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 4 +- drivers/crypto/cnxk

[dpdk-dev] [PATCH 06/20] crypto/cnxk: add session ops framework

2021-06-02 Thread Anoob Joseph
Add session ops - sym_session_get_size - sym_session_configure - sym_session_clear Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +- drivers/crypto/cnxk

[dpdk-dev] [PATCH 07/20] crypto/cnxk: add enqueue burst op

2021-06-02 Thread Anoob Joseph
Add enqueue_burst op in cn9k & cn10k. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c |

[dpdk-dev] [PATCH 08/20] crypto/cnxk: add dequeue burst op

2021-06-02 Thread Anoob Joseph
Add dequeue_burst op in cn9k & cn10k. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/cn10k.ini | 3 + doc/guides/cryptodevs/features/cn9k.ini | 3 + drivers/crypto/

[dpdk-dev] [PATCH 09/20] crypto/cnxk: add cipher operation in session

2021-06-02 Thread Anoob Joseph
Add support for cipher operation in session. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 3 + drivers/crypto/cnxk/cnxk_se.h| 386

[dpdk-dev] [PATCH 10/20] crypto/cnxk: add auth operation in session

2021-06-02 Thread Anoob Joseph
Add support for auth operations in session. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 13 ++ drivers/crypto/cnxk/cnxk_se.h| 283

<    4   5   6   7   8   9   10   11   12   13   >