Re: [dpdk-dev] [PATCH 1/3] security: support pdcp protocol

2018-10-15 Thread Joseph
Hi Akhil, On 15-10-2018 18:33, Akhil Goyal wrote: > External Email > > On 10/9/2018 5:08 PM, Joseph, Anoob wrote: >> Hi Akhil, >> >> Please see inline. >> >> Thanks, >> Anoob >> On 08-10-2018 15:19, Akhil Goyal wrote: >>> Externa

Re: [dpdk-dev] [PATCH v4 1/3] security: support pdcp protocol

2018-10-15 Thread Joseph
Hi Akhil, https://tools.ietf.org/html/rfc4301#section-1 RFC says we need to use "IPsec" and not "IPSec". Can you fix this in the lines you have added? And do see inline for other comments. Thanks, Anoob On 15-10-2018 18:23, Akhil Goyal wrote: > External Email > > From: Akhil Goyal > > Packet

Re: [dpdk-dev] [PATCH v2 01/33] config: add Cavium OcteonTX crypto PMD skeleton

2018-09-18 Thread Joseph
Hi Akhil, On 18-09-2018 18:01, Akhil Goyal wrote: > External Email > > Hi Anoob, > > On 9/17/2018 7:43 PM, Joseph, Anoob wrote: >> Hi Akhil, >> >> >> On 17-09-2018 17:50, Akhil Goyal wrote: >>> External Email >>> >>> On 9/17/2018 5

[PATCH v2 1/2] security: add fallback security processing and Rx inject

2023-09-29 Thread Anoob Joseph
ack in eth port & queue based on rte_flow rules and packet parsing after security processing. The API would behave like a loopback but with the additional security processing. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- v2: * Added a new API for configuring security d

[PATCH v2 2/2] test/cryptodev: add Rx inject test

2023-09-29 Thread Anoob Joseph
with the expectation. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- app/test/test_cryptodev.c| 341 +++ app/test/test_cryptodev_security_ipsec.h | 1 + 2 files changed, 289 insertions(+), 53 deletions(-) diff --git a/app/test

[PATCH v3 1/2] security: add fallback security processing and Rx inject

2023-09-29 Thread Anoob Joseph
p; queue based on rte_flow rules and packet parsing after security processing. The API would behave like a loopback but with the additional security processing. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- v3: * Resolved compilation error with 32 bit build v2: * Added

[PATCH v3 2/2] test/cryptodev: add Rx inject test

2023-09-29 Thread Anoob Joseph
with the expectation. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- app/test/test_cryptodev.c| 340 +++ app/test/test_cryptodev_security_ipsec.h | 1 + 2 files changed, 288 insertions(+), 53 deletions(-) diff --git a/app/test

[PATCH v2 1/5] net: add headers for TLS/DTLS packets

2023-10-03 Thread Anoob Joseph
From: Akhil Goyal Added TLS and DTLS packet headers for L4 security applications. Signed-off-by: Akhil Goyal Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- doc/api/doxy-api-index.md | 2 ++ lib/net/meson.build | 2 ++ lib/net/rte_dtls.h| 61

[PATCH v2 0/5] add TLS record processing security offload

2023-10-03 Thread Anoob Joseph
). TLS 1.3 has content type as part of trailer which would be encrypted and would be removed by PMD. - Updated documentation (Harry) Akhil Goyal (1): net: add headers for TLS/DTLS packets Anoob Joseph (2): security: add TLS record processing security: support extra padding with TLS Vidya Sag

[PATCH v2 2/5] security: add TLS record processing

2023-10-03 Thread Anoob Joseph
1.2. Signed-off-by: Akhil Goyal Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- doc/guides/prog_guide/rte_security.rst | 62 ++ lib/security/rte_security.c| 4 + lib/security/rte_security.h| 110 + 3 files cha

[PATCH v2 3/5] security: support extra padding with TLS

2023-10-03 Thread Anoob Joseph
allow users to provide extra padding in units of 8B. It is an optional feature and any device that supports the same can declare so by making use of corresponding capability. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- lib/cryptodev/rte_crypto.h | 14 +- lib

[PATCH v2 4/5] security: support TLS record lifetime notification

2023-10-03 Thread Anoob Joseph
lifetime under the same. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- lib/cryptodev/rte_crypto.h | 11 ++- lib/security/rte_security.h | 18 ++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/lib/cryptodev/rte_crypto.h b/lib/cryptodev

[PATCH v2 5/5] cryptodev: add details of datapath handling of TLS records

2023-10-03 Thread Anoob Joseph
From: Vidya Sagar Velumuri TLS/DTLS record processing requires content type to be provided per packet (for record write operation). Extend usage of reserved fields in rte_crypto_op for the same purpose. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- doc/guides/prog_guide

[PATCH v4 1/2] security: add fallback security processing and Rx inject

2023-10-10 Thread Anoob Joseph
p; queue based on rte_flow rules and packet parsing after security processing. The API would behave like a loopback but with the additional security processing. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri Acked-by: Akhil Goyal --- v4: Updated release notes v3: * Resolved com

[PATCH v4 2/2] test/cryptodev: add Rx inject test

2023-10-10 Thread Anoob Joseph
with the expectation. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri Acked-by: Akhil Goyal --- app/test/test_cryptodev.c| 340 +++ app/test/test_cryptodev_security_ipsec.h | 1 + 2 files changed, 288 insertions(+), 53 deletions(-) diff --git

RE: [EXT] Re: [PATCH 1/2] ethdev: add IPsec event subtype range for PMD specific code

2023-10-10 Thread Anoob Joseph
r end */ > > + RTE_ETH_EVENT_IPSEC_PMD_ERROR_END = -1, > > /** Unknown event type */ > > RTE_ETH_EVENT_IPSEC_UNKNOWN = 0, > > /** Sequence number overflow */ > > > > I don't see any problem to extend event subtype with custom error range, > @Akhil, @Anoob what do you think? [Anoob] Thanks for looping in. I do not see an issue with the approach either. Acked-by: Anoob Joseph Thanks, Anoob

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

2022-10-21 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 --- v2: * Rebased on latest code. Made changes to accommodate

[PATCH] common/cnxk: fix build failure with rhel

2022-10-25 Thread Anoob Joseph
Fix compiler warning of uninitialized address. Fixes: a7033a2fb2bf ("common/cnxk: support custom UDP port values") Signed-off-by: Anoob Joseph --- drivers/common/cnxk/cnxk_security.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/cnxk/cnxk_

[RFC 0/1] lib: add pdcp protocol

2022-10-26 Thread Anoob Joseph
be communicated to PDCP layer so that * PDCP can drop the corresponding SDU */ } } Anoob Joseph (1): lib: add pdcp protocol doc/api/doxy-api-index.md | 3 +- doc/api/doxy-api.conf.in | 1 + lib/meson.build | 1 + lib/pd

[RFC 1/1] lib: add pdcp protocol

2022-10-26 Thread Anoob Joseph
(rte_pdcp_pkt_pre_process()) and one after crypto processing (rte_pdcp_pkt_post_process()). Since cryptodev dequeue can return crypto operations belonging to multiple entities, rte_pdcp_pkt_crypto_group() is added to help grouping crypto operations beloning to same entity. Signed-off-by: Anoob Joseph

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

2022-11-02 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 --- v3: * Rebased v2: * Rebased on latest code. Made ch

RE: [EXT] Re: [PATCH 1/5] net: add PDCP header

2023-01-18 Thread Anoob Joseph
Hi Thomas, Please see inline. Thanks, Anoob > Subject: [EXT] Re: [PATCH 1/5] net: add PDCP header > > External Email > > -- > 22/12/2022 10:25, Anoob Joseph: > > --- /dev/null > > +++ b/lib/

RE: [EXT] Re: [PATCH 1/5] net: add PDCP header

2023-01-23 Thread Anoob Joseph
Hi Thomas, Please see inline. Thanks, Anoob > Subject: Re: [EXT] Re: [PATCH 1/5] net: add PDCP header > > 18/01/2023 18:39, Anoob Joseph: > > > 22/12/2022 10:25, Anoob Joseph: > > > > --- /dev/null > > > > +++ b/lib/net/rte_pdcp_hdr.h > &g

[PATCH] cryptodev: add missing doc

2023-09-07 Thread Anoob Joseph
Description for rte_cryptodev_get_sec_ctx is missing. Add the same. Signed-off-by: Anoob Joseph --- lib/cryptodev/rte_cryptodev.h | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index ba730373fb..8876e0427f 100644 --- a

[PATCH 1/4] security: remove redundant cast

2023-09-07 Thread Anoob Joseph
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not required. Signed-off-by: Anoob Joseph --- lib/security/rte_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c index c4d64bb8e9..

[PATCH 2/4] test/crypto: remove redundant cast

2023-09-07 Thread Anoob Joseph
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not required. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_c

[PATCH 3/4] app/crypto-perf: remove redundant cast

2023-09-07 Thread Anoob Joseph
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not required. Signed-off-by: Anoob Joseph --- app/test-crypto-perf/cperf_ops.c | 12 ++-- app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 4 +--- app/test-crypto-perf/cperf_test_throughput.

[PATCH 4/4] examples/ipsec-secgw: remove redundant cast

2023-09-07 Thread Anoob Joseph
The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not required. Signed-off-by: Anoob Joseph --- examples/ipsec-secgw/ipsec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c index

[PATCH v2] cryptodev: add missing doc

2023-09-12 Thread Anoob Joseph
Description for rte_cryptodev_get_sec_ctx is missing. Add the same. Fixes: eadb4fa1e1fe ("cryptodev: support security APIs") Signed-off-by: Anoob Joseph --- lib/cryptodev/rte_cryptodev.h | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/cryptodev/rte_cryptodev.h b/lib

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

2023-09-13 Thread Anoob Joseph
Hi David, Please see inline. Thanks, Anoob > -Original Message- > From: Coyle, David > Sent: Monday, September 11, 2023 9:32 PM > To: Anoob Joseph ; dev@dpdk.org > Cc: Ji, Kai ; O'Sullivan, Kevin ; > Jerin Jacob Kollanukkaran > Subject: RE: [EXT] [PATCH v2

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

2023-09-18 Thread Anoob Joseph
ai...@intel.com; Anoob Joseph ; > kevin.osulli...@intel.com; David Coyle > Subject: [EXT] [PATCH v3 1/2] crypto/scheduler: support DOCSIS security > protocol > > External Email > > -- > Add support to the

RE: [PATCH v1 1/2] dmadev: offload to free source buffer

2023-09-18 Thread Anoob Joseph
Hi Amit, Thanks for adding the feature. Please see inline. With the mentioned fixes, Acked-by: Anoob Joseph Thanks, Anoob > -Original Message- > From: Amit Prakash Shukla > Sent: Thursday, September 7, 2023 1:41 PM > To: Chengwen Feng ; Kevin Laatz > ; Bruce Richar

RE: [PATCH v1 2/2] test/dma: add source buffer offload free test

2023-09-19 Thread Anoob Joseph
amsi Krishna Attunuru ; > g.si...@nxp.com; sachin.sax...@oss.nxp.com; hemant.agra...@nxp.com; > cheng1.ji...@intel.com; Nithin Kumar Dabilpuram > ; Anoob Joseph ; Amit > Prakash Shukla > Subject: [PATCH v1 2/2] test/dma: add source buffer offload free test > > Add a test cas

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

2023-09-19 Thread Anoob Joseph
59 ++- > drivers/crypto/scheduler/scheduler_pmd_ops.c | 370 +- > .../crypto/scheduler/scheduler_pmd_private.h | 155 +--- > .../crypto/scheduler/scheduler_roundrobin.c | 6 +- > 11 files changed, 668 insertions(+), 234 deletions(-) > > -- Series Acked-by: Anoob Joseph

RE: [RFC PATCH 2/3] security: add TLS record processing

2023-09-20 Thread Anoob Joseph
Hi Harry, Thanks for the review. Please see inline. Thanks, Anoob > -Original Message- > From: Van Haaren, Harry > Sent: Wednesday, September 20, 2023 2:53 PM > To: Anoob Joseph ; Thomas Monjalon > ; Akhil Goyal ; Jerin Jacob > Kollanukkaran ; Konstantin Ananyev >

RE: [RFC PATCH 2/3] security: add TLS record processing

2023-09-21 Thread Anoob Joseph
Hi Harry, Please see inline. Thanks, Anoob > -Original Message- > From: Van Haaren, Harry > Sent: Thursday, September 21, 2023 2:09 PM > To: Anoob Joseph > Cc: Hemant Agrawal ; dev@dpdk.org; Matz, > Olivier ; Vidya Sagar Velumuri > ; Thomas Monjalon ; > A

RE: [PATCH v2 00/15] fixes and improvements to cnxk crypto PMD

2023-09-26 Thread Anoob Joseph
> > This series adds improvements and support for raw cryptodev API in cnxk > crypto PMD. > > v2: > * Updated feature file for cn10k > * Updated commit message > > Aakash Sasidharan (1): > crypto/cnxk: add support for packets with cipher len zero > > Anoo

RE: [PATCH] test/pdcp: add data walkthrough test

2023-09-27 Thread Anoob Joseph
> > Enable data walkthrough test in combined mode. > The test covers data size ranging from 0B to 9000B both inclusive. > > Signed-off-by: Aakash Sasidharan Acked-by: Anoob Joseph

RE: [PATCH v3 0/2] offload support to free dma source buffer

2023-09-28 Thread Anoob Joseph
+- > lib/dmadev/rte_dmadev.h | 27 +++ > 2 files changed, 192 insertions(+), 1 deletion(-) > > -- > 2.25.1 Series Acked-by: Anoob Joseph

RE: [PATCH v3 2/2] test/dma: add source buffer offload free test

2023-09-28 Thread Anoob Joseph
> Signed-off-by: Amit Prakash Shukla Acked-by: Anoob Joseph

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

2021-06-17 Thread Anoob Joseph
Hi Akhil, Please see inline. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Wednesday, June 16, 2021 4:36 PM > To: Anoob Joseph ; Thomas Monjalon > > Cc: Ankur Dwivedi ; Jerin Jacob Kollanukkaran > ; Tejasree Kondoj ; > dev@dpdk.org; Anoob Jo

Re: [dpdk-dev] [PATCH 3/4] crypto/cnxk: add security session ops

2021-06-17 Thread Anoob Joseph
Hi Akhil, Please see inline. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Thursday, June 17, 2021 1:41 AM > To: Anoob Joseph ; Thomas Monjalon > > Cc: Tejasree Kondoj ; Jerin Jacob Kollanukkaran > ; Ankur Dwivedi ; > dev@dpdk.org; Anoob Jo

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

2021-06-24 Thread Anoob Joseph
ne IPsec required mboxes and framework - Added security common code - Added plt_dp_* log based on Akhil's comment Aakash Sasidharan (2): common/cnxk: add CPT diagnostics common/cnxk: add CPT LF flush Ankur Dwivedi (1): common/cnxk: add SE set key functions in roc Anoob Joseph (3): co

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

2021-06-24 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 | 291

[dpdk-dev] [PATCH v2 02/17] common/cnxk: update Rx inline IPsec mbox message format

2021-06-24 Thread Anoob Joseph
From: Srujana Challa Updates Rx inline IPSEC mailbox message format to make it sync with latest CPT PF driver. Signed-off-by: Srujana Challa --- drivers/common/cnxk/roc_mbox.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h

[dpdk-dev] [PATCH v2 03/17] common/cnxk: add CPT dev config routines

2021-06-24 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 v2 04/17] common/cnxk: add idev CPT set - get

2021-06-24 Thread Anoob Joseph
Add APIs to set & get CPT device. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/roc_cpt.c | 8 drivers/common/cnxk/roc_idev.c | 21 + drivers/common/cnxk/roc_idev.h | 3 +++ drivers/common/cnxk/roc_idev_priv.h | 2 ++ drivers/common/

[dpdk-dev] [PATCH v2 05/17] common/cnxk: add mbox to configure RXC

2021-06-24 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 v2 06/17] common/cnxk: add CPT LF config

2021-06-24 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 v2 07/17] common/cnxk: add CPT diagnostics

2021-06-24 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/meson.build | 1 + drivers/common/cnxk/roc_cpt.c | 29 +++ drivers/common/cnxk/roc_cpt.h | 3 + dr

[dpdk-dev] [PATCH v2 08/17] common/cnxk: add CPT LF flush

2021-06-24 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 v2 09/17] common/cnxk: add inline IPsec configuration mbox

2021-06-24 Thread Anoob Joseph
From: Vidya Sagar Velumuri Add mbox to configure inbound & outbound inline IPsec. Signed-off-by: Tejasree Kondoj Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c | 61 ++ drivers/common/cnxk/roc_cpt.h | 5 drivers/common

[dpdk-dev] [PATCH v2 10/17] common/cnxk: add SE microcode defines

2021-06-24 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 v2 11/17] common/cnxk: add IE microcode defines

2021-06-24 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 v2 12/17] common/cnxk: add AE microcode defines

2021-06-24 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 v2 13/17] common/cnxk: add lmtline init

2021-06-24 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 | 32

[dpdk-dev] [PATCH v2 14/17] common/cnxk: add fpm tables

2021-06-24 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 v2 15/17] common/cnxk: add EC grp static vectors

2021-06-24 Thread Anoob Joseph
From: Kiran Kumar Kokkilagadda EC group static vectors are required for CPT asymmetric operations. Signed-off-by: Anoob Joseph Signed-off-by: Kiran Kumar Kokkilagadda --- drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_ae.c| 142

[dpdk-dev] [PATCH v2 16/17] common/cnxk: add IPsec common code

2021-06-24 Thread Anoob Joseph
From: Srujana Challa Add code that can be leveraged across lookaside and inline IPsec on cn10k. Signed-off-by: Srujana Challa Signed-off-by: Nithin Dabilpuram Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/cnxk_security.c | 468 drivers/common/cnx

[dpdk-dev] [PATCH v2 17/17] common/cnxk: add SE set key functions in roc

2021-06-24 Thread Anoob Joseph
From: Ankur Dwivedi The set key functions are added in roc. Signed-off-by: Ankur Dwivedi --- drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_se.c| 342 drivers/common/cnxk/roc_se.h| 8 + drivers/common/cnxk/version.map | 2 +

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

2021-06-24 Thread Anoob Joseph
o/cnxk: add probe and remove crypto/cnxk: add device control ops crypto/cnxk: add queue pair ops crypto/cnxk: add symmetric crypto capabilities Anoob Joseph (5): crypto/cnxk: add session ops framework crypto/cnxk: add enqueue burst op crypto/cnxk: add dequeue burst op crypto/cnxk: add

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

2021-06-24 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 | 9 +++

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

2021-06-24 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 | 98 ++- dri

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

2021-06-24 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 v2 04/20] crypto/cnxk: add queue pair ops

2021-06-24 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 v2 05/20] crypto/cnxk: add session ops framework

2021-06-24 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 v2 06/20] crypto/cnxk: add enqueue burst op

2021-06-24 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 v2 07/20] crypto/cnxk: add dequeue burst op

2021-06-24 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 v2 08/20] crypto/cnxk: add cipher operation in session

2021-06-24 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| 106

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

2021-06-24 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| 194

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

2021-06-24 Thread Anoob Joseph
From: Archana Muniganti Add support for AEAD 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 | 3 ++ drivers/crypto/cnxk/cnxk_se.h| 64

[dpdk-dev] [PATCH v2 11/20] crypto/cnxk: add chained operation in session

2021-06-24 Thread Anoob Joseph
From: Archana Muniganti Add support for chained operations in session. 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 | 2 ++ doc/guides/cryptodevs/features/cn9k.ini

[dpdk-dev] [PATCH v2 12/20] crypto/cnxk: add flexi crypto cipher encrypt

2021-06-24 Thread Anoob Joseph
From: Archana Muniganti Add flexi crypto cipher encrypt in enqueue API. Flexi crypto opcode covers a broad set of ciphers including variants of AES. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto

[dpdk-dev] [PATCH v2 13/20] crypto/cnxk: add flexi crypto cipher decrypt

2021-06-24 Thread Anoob Joseph
From: Archana Muniganti Add flexi crypto cipher decrypt support in enqueue API. Flexi crypto opcode covers a broad set of ciphers including variants of AES. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc

[dpdk-dev] [PATCH v2 14/20] crypto/cnxk: add ZUC and SNOW3G encrypt

2021-06-24 Thread Anoob Joseph
From: Archana Muniganti Add PDCP opcode which handles ZUC and SNOW3G. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 268 +- 1 file changed

[dpdk-dev] [PATCH v2 15/20] crypto/cnxk: add ZUC and SNOW3G decrypt

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Add PDCP opcode which handles ZUC and SNOW3G. 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 | 2 + doc/guides/cryptodevs/features/cn9k.ini | 2

[dpdk-dev] [PATCH v2 16/20] crypto/cnxk: add KASUMI encrypt

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Add KASUMI encrypt support. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 196 ++ 1 file changed, 196 insertions

[dpdk-dev] [PATCH v2 17/20] crypto/cnxk: add KASUMI decrypt

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Add KASUMI decrypt support. 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 | 1 + doc/guides/cryptodevs/features/cn9k.ini | 1 + drivers/crypto

[dpdk-dev] [PATCH v2 18/20] crypto/cnxk: add digest support

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Add support for digest support for various algorithms. 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 | 17 ++ doc/guides/cryptodevs/features

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

2021-06-24 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 --- doc/guides/cryptodevs/cnxk.rst| 46 ++ doc/guides/rel_n

[dpdk-dev] [PATCH v2 20/20] test/crypto: enable cnxk crypto PMDs

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Enable tests 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 --- app/test/meson.build | 2 ++ app/test/test_cryptodev.c | 14 ++ app/

[dpdk-dev] [PATCH v2 0/4] Add rte_security in crypto_cn10k PMD

2021-06-24 Thread Anoob Joseph
tions). Depends-on: series-17482 ("Add CPT in Marvell CNXK common driver") Depends-on: series-17483 ("Add Marvell CNXK crypto PMDs") Changes in v2: - Rearranged capability additions & feature flag updates as suggested by Akhil - Rebased on v2 of dependant series Anoob J

[dpdk-dev] [PATCH v2 1/4] crypto/cnxk: add security ctx skeleton

2021-06-24 Thread Anoob Joseph
From: Srujana Challa Add security ctx in cn10k crypto PMD. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c| 9 ++ drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 47

[dpdk-dev] [PATCH v2 2/4] crypto/cnxk: add security session ops

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Add security session ops in cn10k crypto PMD. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_ipsec.c | 275

[dpdk-dev] [PATCH v2 3/4] crypto/cnxk: add security handling in datapath ops

2021-06-24 Thread Anoob Joseph
From: Tejasree Kondoj Add security handling in enqueue dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 78 ++- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 74

[dpdk-dev] [PATCH v2 4/4] crypto/cnxk: add security capabilities

2021-06-24 Thread Anoob Joseph
Add security capabilities supported by crypto cn10k PMD. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst| 24 + doc/guides/cryptodevs/features/cn10k.ini | 1 + drivers/crypto/cnxk

[dpdk-dev] [PATCH v2 0/4] Add asymmetric ops in crypto cnxk PMDs

2021-06-24 Thread Anoob Joseph
nds-on: series-17484 ("Add rte_security in crypto_cn10k PMD") Changes in v2: - Added documentation - Added asymmetric capabilities as separate patch Anoob Joseph (1): crypto/cnxk: add asymmetric capabilities Kiran Kumar K (3): crypto/cnxk: add asymmetric session ops crypto/cnx

[dpdk-dev] [PATCH v2 1/4] crypto/cnxk: add asymmetric session ops

2021-06-24 Thread Anoob Joseph
From: Kiran Kumar K Add asymmetric crypto session ops. Signed-off-by: Kiran Kumar K --- doc/guides/cryptodevs/features/cn10k.ini | 13 ++ doc/guides/cryptodevs/features/cn9k.ini | 13 ++ drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +-

[dpdk-dev] [PATCH v2 2/4] crypto/cnxk: add asymmetric datapath ops

2021-06-24 Thread Anoob Joseph
From: Kiran Kumar K Add asymmetric crypto datapath ops. Signed-off-by: Kiran Kumar K --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 27 ++ drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 29 +- drivers/crypto/cnxk/cnxk_ae.h | 625 ++ 3 files changed, 679

[dpdk-dev] [PATCH v2 3/4] crypto/cnxk: add asymmetric capabilities

2021-06-24 Thread Anoob Joseph
Add asymmetric capabilities supported. Signed-off-by: Anoob Joseph --- doc/guides/cryptodevs/cnxk.rst| 6 +++ drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 56 +++ 2 files changed, 62 insertions(+) diff --git a/doc/guides/cryptodevs/cnxk.rst b/doc

[dpdk-dev] [PATCH v2 4/4] test/crypto: add cnxk for asymmetric cases

2021-06-24 Thread Anoob Joseph
From: Kiran Kumar K Adding autotest for cn9k and cn10k. Signed-off-by: Kiran Kumar K --- app/test/test_cryptodev_asym.c | 30 ++ doc/guides/cryptodevs/cnxk.rst | 17 + 2 files changed, 47 insertions(+) diff --git a/app/test/test_cryptodev_asym.c b/a

[dpdk-dev] [PATCH v3 0/8] Add lookaside IPsec and asymmetric in cnxk crypto PMDs

2021-06-29 Thread Anoob Joseph
tions). Add support for asymmetric operations in crypto cnxk PMDs. Following operations are supported, - RSA - DSA - ECDSA - ECPM - Modular Exponentation Anoob Joseph (2): crypto/cnxk: add security capabilities crypto/cnxk: add asymmetric capabilities Kiran Kumar K (3): crypto/cnxk

[dpdk-dev] [PATCH v3 1/8] crypto/cnxk: add security ctx skeleton

2021-06-29 Thread Anoob Joseph
From: Srujana Challa Add security ctx in cn10k crypto PMD. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c| 9 ++ drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 47

[dpdk-dev] [PATCH v3 2/8] crypto/cnxk: add security session ops

2021-06-29 Thread Anoob Joseph
From: Tejasree Kondoj Add security session ops in cn10k crypto PMD. Signed-off-by: Anoob Joseph Signed-off-by: Archana Muniganti Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_ipsec.c | 275

[dpdk-dev] [PATCH v3 3/8] crypto/cnxk: add security handling in datapath ops

2021-06-29 Thread Anoob Joseph
From: Tejasree Kondoj Add security handling in enqueue dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 78 ++- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 74

[dpdk-dev] [PATCH v3 4/8] crypto/cnxk: add security capabilities

2021-06-29 Thread Anoob Joseph
Add security capabilities supported by crypto cn10k PMD. Signed-off-by: Anoob Joseph Signed-off-by: Srujana Challa Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst| 24 + doc/guides/cryptodevs/features/cn10k.ini | 1 + drivers/crypto/cnxk

[dpdk-dev] [PATCH v3 5/8] crypto/cnxk: add asymmetric session ops

2021-06-29 Thread Anoob Joseph
From: Kiran Kumar K Add asymmetric crypto session ops. Signed-off-by: Kiran Kumar K --- doc/guides/cryptodevs/features/cn10k.ini | 13 ++ doc/guides/cryptodevs/features/cn9k.ini | 13 ++ drivers/crypto/cnxk/cn10k_cryptodev.c | 2 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +-

[dpdk-dev] [PATCH v3 6/8] crypto/cnxk: add asymmetric datapath ops

2021-06-29 Thread Anoob Joseph
From: Kiran Kumar K Add asymmetric crypto datapath ops. Signed-off-by: Kiran Kumar K --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 27 ++ drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 29 +- drivers/crypto/cnxk/cnxk_ae.h | 625 ++ 3 files changed, 679

[dpdk-dev] [PATCH v3 7/8] crypto/cnxk: add asymmetric capabilities

2021-06-29 Thread Anoob Joseph
Add asymmetric capabilities supported. Signed-off-by: Anoob Joseph --- doc/guides/cryptodevs/cnxk.rst| 6 +++ drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 56 +++ 2 files changed, 62 insertions(+) diff --git a/doc/guides/cryptodevs/cnxk.rst b/doc

[dpdk-dev] [PATCH v3 8/8] test/crypto: add cnxk for asymmetric cases

2021-06-29 Thread Anoob Joseph
From: Kiran Kumar K Adding autotest for cn9k and cn10k. Signed-off-by: Kiran Kumar K --- app/test/test_cryptodev_asym.c | 30 ++ doc/guides/cryptodevs/cnxk.rst | 17 + doc/guides/rel_notes/release_21_08.rst | 4 3 files changed,

  1   2   3   4   5   6   7   8   9   10   >