[PATCH v2 7/7] crypto/cnxk: copy 8B iv into sess in aes ctr

2025-06-09 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan Copy 8 bytes of the IV into the iv field within the session for the AES CTR algorithm. Signed-off-by: Nithinsen Kaithakadan --- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 7 --- drivers/crypto/cnxk/cn20k_ipsec_la_ops.h | 7 --- 2 files changed, 8 insertions(

[PATCH v2 6/7] common/cnxk: update qsize in CPT iq enable

2025-06-09 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan Reconfigure qsize in each CPT iq enable call. Fixes: 3bf87839559 ("common/cnxk: move instruction queue enable to ROC") Cc: sta...@dpdk.org Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/roc_cpt.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 5/7] crypto/cnxk: support asymmetric sessionless mode

2025-06-09 Thread Tejasree Kondoj
From: Rupesh Chiluka Add support for sessionless asymmetric operations in cnxk CPT PMD. Signed-off-by: Rupesh Chiluka Signed-off-by: Tejasree Kondoj Signed-off-by: Vidya Sagar Velumuri --- doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/cryptodevs/features/cn9k.ini | 1

[PATCH v2 3/7] crypto/cnxk: extend check for max supported gather entries

2025-06-09 Thread Tejasree Kondoj
From: Rupesh Chiluka Extend check for max supported gather entries in CNXK CPT PMD. Signed-off-by: Rupesh Chiluka --- drivers/common/cnxk/roc_cpt_sg.h | 1 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 10 ++ drivers/crypto/cnxk/cn10k_tls_ops.h | 10 ++ drivers/cry

[PATCH v2 4/7] crypto/cnxk: add meta variable in CPT structure

2025-06-09 Thread Tejasree Kondoj
Adding meta variable in CPT high level structure to pass custom metadata to CN20K firmware. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.h b/drivers/crypto/cnxk

[PATCH v2 2/7] common/cnxk: fix salt handling with aes-ctr

2025-06-09 Thread Tejasree Kondoj
Kaithakadan Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/cnxk_security.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/common/cnxk/cnxk_security.c b/drivers/common/cnxk/cnxk_security.c index ea3b87e65c..0e6777e6ca 100644 --- a/drivers/common/cnxk/cnxk_security.c

[PATCH v2 1/7] crypto/cnxk: fix compilation error

2025-06-09 Thread Tejasree Kondoj
Fixing compilation failure by including required headers. Fixes: 26bb5c4de63e ("crypto/cnxk: add CPT raw submission PMD API") Cc: sta...@dpdk.org Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/driv

[PATCH v2 0/7] fixes and new features to cnxk crypto PMD

2025-06-09 Thread Tejasree Kondoj
/cnxk: copy 8B iv into sess in aes ctr Rupesh Chiluka (2): crypto/cnxk: extend check for max supported gather entries crypto/cnxk: support asymmetric sessionless mode Tejasree Kondoj (2): crypto/cnxk: fix compilation error crypto/cnxk: add meta variable in CPT structure doc/guides

[PATCH v2 15/25] crypto/cnxk: add Rx inject in security lookaside

2025-06-03 Thread Tejasree Kondoj
Add Rx inject fastpath API for cn20k Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 165 -- 1 file changed, 156 insertions(+), 9 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b

[PATCH v2 11/25] crypto/cnxk: add security session destroy

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for rte_security session destroy for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 17 +++- drivers/crypto/cnxk/cn20k_ipsec.c | 51 ++- 2 files changed, 64 insertions(+), 4 deleti

[PATCH v2 21/25] crypto/cnxk: add TLS post process

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add TLS post processing for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 160 ++ 1 file changed, 160 insertions(+) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/cnxk/cn20k_cr

[PATCH v2 01/25] crypto/cnxk: probe cn20k device

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add probe for cn20k crypto device Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev.c | 12 +- drivers/crypto/cnxk/cn20k_cryptodev.c | 152 ++ drivers/crypto/cnxk/cn20k_cryptodev.h | 13 +++ drivers/crypto/cnxk/meso

[PATCH v2 12/25] crypto/cnxk: move code to common

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Move common code between cn10k and cn20k to common Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 14 -- drivers/crypto/cnxk/cn10k_ipsec.c | 4 ++-- drivers/crypto/cnxk/cn10k_tls.c | 4 ++-- drivers

[PATCH v2 04/25] crypto/cnxk: add cn20k datapath skeleton

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeleton for cn20k enqueue-dequeue functions Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 1 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 29 +++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 1 + 3 file

[PATCH v2 10/25] crypto/cnxk: add security session creation

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add rte_security session creation for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 22 +- drivers/crypto/cnxk/cn20k_cryptodev_sec.h | 33 +++ drivers/crypto/cnxk/cn20k_ipsec.c | 250 +- 3 file

[PATCH v2 25/25] doc: update cn20k CPT documentation

2025-06-03 Thread Tejasree Kondoj
Updating documentation for cn20k CPT support. Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst | 26 +- doc/guides/cryptodevs/features/cn20k.ini | 113 +++ doc/guides/rel_notes/release_25_07.rst | 3 + 3 files changed, 137 insertions(+), 5

[PATCH v2 17/25] crypto/cnxk: add TLS read session

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add session creation for TLS read for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 4 + drivers/crypto/cnxk/cn20k_cryptodev_sec.h | 12 + drivers/crypto/cnxk/cn20k_tls.c | 463 +- 3 files c

[PATCH v2 20/25] crypto/cnxk: add TLS datapath

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add enqueue and dequeue support for TLS for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 14 ++ drivers/crypto/cnxk/cn20k_tls_ops.h | 250 ++ 2 files changed, 264 insertions(+) create mode 10064

[PATCH v2 00/25] add CN20K support to cnxk crypto PMD

2025-06-03 Thread Tejasree Kondoj
This series adds CN20K support to cnxk crypto PMD. v2: * Fixed individual patch compilation * Fixed unnecessary code movement * Updated patch titles * Added release notes Tejasree Kondoj (3): crypto/cnxk: move debug dumps to common crypto/cnxk: add Rx inject in security lookaside doc

[PATCH v2 02/25] crypto/cnxk: add cn20k ops skeleton

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add ops skeletion for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 3 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 92 +++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 23 ++ drivers/crypto/cnxk/me

[PATCH v2 08/25] crypto/cnxk: move debug dumps to common

2025-06-03 Thread Tejasree Kondoj
Move the crypto instruction dumps to common Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 125 +++--- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 7 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 101

[PATCH v2 05/25] crypto/cnxk: add cn20k lmtst routines

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add lmtst routines for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.h | 7 +-- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 53 +++ 2 files changed, 57 insertions(+), 3 deletions(-) diff --git a/drivers/co

[PATCH v2 23/25] crypto/cnxk: support raw API for cn20k

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add raw API support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 388 +- 1 file changed, 381 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/c

[PATCH v2 13/25] crypto/cnxk: add IPsec session update

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for IPsec session update and IPsec stats get for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 41 +++ drivers/crypto/cnxk/cn20k_ipsec.c | 39 + 2 files changed, 6

[PATCH v2 06/25] crypto/cnxk: add cn20k enqueue path

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add cryptodev enqueue function support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 192 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 11 +- 2 files changed, 193 insertions(+), 10 deletions(-) d

[PATCH v2 09/25] crypto/cnxk: add cn20k security skeletion

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeletion for rte_security for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 2 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 39 + drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 8 +++ drivers/crypto/cnxk/cn

[PATCH v2 14/25] crypto/cnxk: add security datapath

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for enqueue and dequeue of rte_security for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 108 +++- drivers/crypto/cnxk/cn20k_ipsec_la_ops.h | 199 ++ drivers/crypto/cnxk/cnxk_crypto

[PATCH v2 24/25] crypto/cnxk: add model check for cn20k

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add model checks for cn20k. Enable crypto and security capabilities for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_cryptodev.c | 14 -- .../crypto/cnxk/cnxk_cryptodev_capabilities.c| 10 +- drivers/crypt

[PATCH v2 22/25] crypto/cnxk: add TLS session update

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for TLS session update for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 3 +++ drivers/crypto/cnxk/cn20k_tls.c | 15 ++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/dr

[PATCH v2 19/25] crypto/cnxk: add TLS session destroy

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add TLS session destroy for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 3 + drivers/crypto/cnxk/cn20k_tls.c | 84 ++- 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v2 18/25] crypto/cnxk: add TLS write session

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add session creation for TLS write for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_tls.c | 329 +++- 1 file changed, 327 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_tls.c b/drivers/cryp

[PATCH v2 16/25] crypto/cnxk: add TLS skeleton

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeleton for TLS support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_ie_ow_tls.h | 233 drivers/crypto/cnxk/cn20k_tls.c | 56 +++ drivers/crypto/cnxk/cn20k_tls.h | 40 + drivers/crypto/c

[PATCH v2 07/25] crypto/cnxk: add cn20k dequeue path

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add dequeue support in cryptodev for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 141 +- 1 file changed, 137 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/dri

[PATCH v2 03/25] crypto/cnxk: add dev info get

2025-06-03 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add dev info get for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/cnxk/cn20k_cryptodev_ops

[PATCH 14/25] crypto/cnxk: add rte security datapath handling

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for enqueue and dequeue of rte security for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 108 +++- drivers/crypto/cnxk/cn20k_ipsec_la_ops.h | 199 ++ drivers/crypto/cnxk/cnxk_crypto

[PATCH 8/9] common/cnxk: update qsize in CPT iq enable

2025-05-27 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan Reconfigure qsize in each CPT iq enable call. Fixes: 3bf87839559 ("common/cnxk: move instruction queue enable to ROC") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/roc_cpt.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/common/cnx

[PATCH 0/9] fixes and new features to cnxk crypto PMD

2025-05-27 Thread Tejasree Kondoj
qsize in CPT iq enable crypto/cnxk: copy 8B iv into sess in aes ctr Rupesh Chiluka (2): crypto/cnxk: extend check for max supported gather entries crypto/cnxk: add asym sessionless handling Tejasree Kondoj (2): crypto/cnxk: include required headers crypto/cnxk: add struct variable for

[PATCH 19/25] crypto/cnxk: add tls session destroy

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add tls session destroy for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 3 + drivers/crypto/cnxk/cn20k_tls.c | 84 ++- 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 20/25] crypto/cnxk: add enq and dequeue support for TLS

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add enqueue and dequeue support for TLS for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 14 ++ drivers/crypto/cnxk/cn20k_tls_ops.h | 250 ++ 2 files changed, 264 insertions(+) create mode 10064

[PATCH 24/25] crypto/cnxk: add model check for cn20k

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add model checks for cn20k. Enable crypto and security capabilities for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_cryptodev.c | 14 -- .../crypto/cnxk/cnxk_cryptodev_capabilities.c| 10 +- drivers/crypt

[PATCH 22/25] crypto/cnxk: add tls session update

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for TLS session update for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 3 +++ drivers/crypto/cnxk/cn20k_tls.c | 15 ++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/dr

[PATCH 7/9] crypto/cnxk: add support for sessionless asym

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for sessionless asymmetric operations for cnxk Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 72 ++- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 57 +- drivers/crypto/cnxk/cnxk_cryp

[PATCH 9/9] crypto/cnxk: copy 8B iv into sess in aes ctr

2025-05-27 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan Copy 8 bytes of the IV into the iv field within the session for the AES CTR algorithm. Signed-off-by: Nithinsen Kaithakadan --- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 7 --- drivers/crypto/cnxk/cn20k_ipsec_la_ops.h | 7 --- 2 files changed, 8 insertions(

[PATCH 6/9] crypto/cnxk: add asym sessionless handling

2025-05-27 Thread Tejasree Kondoj
From: Rupesh Chiluka Add asymmetric sessionless handling for cnxk Signed-off-by: Rupesh Chiluka --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 19 +-- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 20 ++-- 2 files changed, 35 insertions(+), 4 deletions(-) diff -

[PATCH 4/9] crypto/cnxk: extend check for max supported gather entries

2025-05-27 Thread Tejasree Kondoj
From: Rupesh Chiluka Extend check for max supported gather entries in CNXK CPT PMD. Signed-off-by: Rupesh Chiluka --- drivers/common/cnxk/roc_cpt_sg.h | 1 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 10 ++ drivers/crypto/cnxk/cn10k_tls_ops.h | 10 ++ drivers/cry

[PATCH 5/9] crypto/cnxk: add struct variable for custom metadata

2025-05-27 Thread Tejasree Kondoj
Adding struct variable for passing custom metadata to microcode. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.h b/drivers/crypto/cnxk/cnxk_cryptodev_ops.h index

[PATCH 3/9] common/cnxk: set correct salt value for ctr algos

2025-05-27 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan This patch includes fix for setting correct salt value for CTR algorithm. Fixes: 532963b8070 ("crypto/cnxk: move IPsec SA creation to common") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/cnxk_security.c | 5 + 1 file changed, 5 insertions(+) d

[PATCH 2/9] common/cnxk: fix salt handling with aes-ctr

2025-05-27 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan This patch includes fix for setting correct salt value for CTR algorithm. Fixes: 78d03027f2cc ("common/cnxk: add IPsec common code") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/cnxk_security.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/

[PATCH 1/9] crypto/cnxk: include required headers

2025-05-27 Thread Tejasree Kondoj
Including required headers. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h b/drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h index 02278605a2..46861ab2cf 100644 --- a

[PATCH 07/25] crypto/cnxk: add cryptodev dequeue support for cn20k

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add dequeue support in cryptodev for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 141 +- 1 file changed, 137 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/dri

[PATCH 11/25] crypto/cnxk: add security session destroy

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for rte security session destroy for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 17 +++- drivers/crypto/cnxk/cn20k_ipsec.c | 51 ++- 2 files changed, 64 insertions(+), 4 deleti

[PATCH 15/25] crypto/cnxk: add Rx inject in security lookaside

2025-05-27 Thread Tejasree Kondoj
Add Rx inject fastpath API for cn20k Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 186 ++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 8 + drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 35 3 files

[PATCH 18/25] crypto/cnxk: add tls read session creation

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add session creation for tls read for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_tls.c | 329 +++- 1 file changed, 327 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_tls.c b/drivers/crypt

[PATCH 21/25] crypto/cnxk: tls post process

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add tls post process Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 160 ++ 1 file changed, 160 insertions(+) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/cnxk/cn20k_cryptodev_ops.c

[PATCH 10/25] crypto/cnxk: add security session creation

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add rte security session creation for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 22 +- drivers/crypto/cnxk/cn20k_cryptodev_sec.h | 33 +++ drivers/crypto/cnxk/cn20k_ipsec.c | 250 +- 3 file

[PATCH 25/25] doc: update CN20K CPT documentation

2025-05-27 Thread Tejasree Kondoj
Updating documentation for CN20K CPT support. Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst | 26 +- doc/guides/cryptodevs/features/cn20k.ini | 113 +++ 2 files changed, 134 insertions(+), 5 deletions(-) create mode 100644 doc/guides

[PATCH 04/25] crypto/cnxk: add skeletion for enq deq functions

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeletion for cn20k enq deq functions Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 1 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 29 +++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 1 + 3 files chang

[PATCH 23/25] crypto/cnxk: support raw API for cn20k

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add raw API support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 388 +- 1 file changed, 381 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/c

[PATCH 16/25] crypto/cnxk: add skeleton for tls

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeleton for tls support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_ie_ow_tls.h | 233 drivers/crypto/cnxk/cn20k_tls.c | 56 +++ drivers/crypto/cnxk/cn20k_tls.h | 40 + drivers/crypto/c

[PATCH 17/25] crypto/cnxk: add tls write session creation

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for tls read session creation for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 4 + drivers/crypto/cnxk/cn20k_cryptodev_sec.h | 12 + drivers/crypto/cnxk/cn20k_tls.c | 463 +- 3

[PATCH 13/25] crypto/cnxk: add rte sec session update

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for IPsec session update and IPsec stats get for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 41 +++ drivers/crypto/cnxk/cn20k_ipsec.c | 39 + 2 files changed, 6

[PATCH 12/25] crypto/cnxk: move code to common

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Move common code between cn10k and cn20k to common Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 14 -- drivers/crypto/cnxk/cn10k_ipsec.c | 4 ++-- drivers/crypto/cnxk/cn10k_tls.c | 4 ++-- drivers

[PATCH 08/25] crypto/cnxk: move debug dumps to common

2025-05-27 Thread Tejasree Kondoj
Move the crypto instruction dumps to common Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 125 +++--- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 7 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 101

[PATCH 09/25] crypto/cnxk: add rte security skeletion for cn20k

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeletion for rte sec for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 2 + drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 106 ++ drivers/crypto/cnxk/cn20k_cryptodev_sec.h | 19 drivers/crypto

[PATCH 06/25] crypto/cnxk: add enqueue function support

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add cryptodev enqueue function support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 2 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 195 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 2 +- dr

[PATCH 05/25] crypto/cnxk: add lmtst routines for cn20k

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add lmtst routines for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.h | 7 +-- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 53 +++ 2 files changed, 57 insertions(+), 3 deletions(-) diff --git a/drivers/co

[PATCH 03/25] crypto/cnxk: add dev info get

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add dev info get for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/cnxk/cn20k_cryptodev_ops

[PATCH 02/25] crypto/cnxk: add ops skeleton for cn20k

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add ops skeletion for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 3 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 92 +++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 23 ++ drivers/crypto/cnxk/me

[PATCH 01/25] crypto/cnxk: add probe for cn20k crypto device

2025-05-27 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add probe for cn20k crypto device Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev.c | 12 +- drivers/crypto/cnxk/cn20k_cryptodev.c | 152 ++ drivers/crypto/cnxk/cn20k_cryptodev.h | 13 +++ drivers/crypto/cnxk/meso

[PATCH 00/25] add CN20K support to cnxk crypto PMD

2025-05-27 Thread Tejasree Kondoj
This series adds CN20K support to cnxk crypto PMD. Tejasree Kondoj (3): crypto/cnxk: move debug dumps to common crypto/cnxk: add Rx inject in security lookaside doc: update CN20K CPT documentation Vidya Sagar Velumuri (22): crypto/cnxk: add probe for cn20k crypto device crypto/cnxk

[PATCH 2/6] crypto/cnxk: add lookaside IPsec CPT LF stats

2025-05-26 Thread Tejasree Kondoj
Adding global CPT LF stats for lookaside IPsec. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_ipsec.c| 4 drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/crypto/cnxk/cn10k_ipsec.c b/drivers/crypto/cnxk

[PATCH 1/6] crypto/cnxk: update the sg list population

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri update the last seg with length before populating the scatter list Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_tls_ops.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/cnxk/cn10k_tls_ops.h b/drivers/c

[PATCH 6/6] crypto/cnxk: enable IV from application support

2025-05-26 Thread Tejasree Kondoj
Enabling IV from application as the default option. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn9k_ipsec.c | 19 +-- drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 5 + .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 6 ++ 3 files changed, 4

[PATCH 5/6] crypto/cnxk: add check for max supported gather entries

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add check for max supported gather entries. Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt_sg.h | 1 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 10 ++ drivers/crypto/cnxk/cn10k_tls_ops.h | 10 ++ 3 files changed, 2

[PATCH 3/6] crypto/cnxk: fix qp stats PMD API

2025-05-26 Thread Tejasree Kondoj
Fixing qp stats PMD API. Fixes: bf52722b9377 ("crypto/cnxk: add PMD API to get queue stats") 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

[PATCH 4/6] crypto/cnxk: fail Rx inject configure if not supported

2025-05-26 Thread Tejasree Kondoj
From: Aakash Sasidharan Rx inject is supported only with CPT05 microcode version. sg_ver2 indicates if CPT05 is loaded. Fail the rx inject configuration with ENOTSUP error if sg_ver2 is not supported. Signed-off-by: Aakash Sasidharan --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 ++ 1

[PATCH 0/6] fixes and improvements to cnxk crypto PMD

2025-05-26 Thread Tejasree Kondoj
This patch adds fixes and improvements to cnxk crypto PMD. Aakash Sasidharan (1): crypto/cnxk: fail Rx inject configure if not supported Tejasree Kondoj (3): crypto/cnxk: add lookaside IPsec CPT LF stats crypto/cnxk: fix qp stats PMD API crypto/cnxk: enable IV from application support

[PATCH v2 12/40] crypto/cnxk: add enqueue function support

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add cryptodev enqueue function support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 2 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 193 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 2 +- dr

[PATCH v2 23/40] crypto/cnxk: add tls write session creation

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for tls read session creation for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 4 + drivers/crypto/cnxk/cn20k_cryptodev_sec.h | 12 + drivers/crypto/cnxk/cn20k_tls.c | 463 +- 3

[PATCH v2 27/40] crypto/cnxk: tls post process

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add tls post process Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 160 ++ 1 file changed, 160 insertions(+) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/cnxk/cn20k_cryptodev_ops.c

[PATCH v2 06/40] crypto/cnxk: enable IV from application support

2025-05-26 Thread Tejasree Kondoj
Enabling IV from application as the default option. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn9k_ipsec.c | 19 +-- drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 5 + .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 6 ++ 3 files changed, 4

[PATCH v2 08/40] crypto/cnxk: add ops skeleton for cn20k

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add ops skeletion for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 3 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 92 +++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 23 ++ drivers/crypto/cnxk/me

[PATCH v2 31/40] crypto/cnxk: add model check for cn20k

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add model checks for cn20k. Enable crypto and security capabilities for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_cryptodev.c | 14 -- .../crypto/cnxk/cnxk_cryptodev_capabilities.c| 10 +- drivers/crypt

[PATCH v2 21/40] crypto/cnxk: add Rx inject in security lookaside

2025-05-26 Thread Tejasree Kondoj
Add Rx inject fastpath API for cn20k Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 186 ++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 8 + drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 35 3 files

[PATCH v2 36/40] crypto/cnxk: add asym sessionless handling

2025-05-26 Thread Tejasree Kondoj
From: Rupesh Chiluka Add asymmetric sessionless handling for cnxk Signed-off-by: Rupesh Chiluka --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 19 +-- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 20 ++-- 2 files changed, 35 insertions(+), 4 deletions(-) diff -

[PATCH v2 05/40] crypto/cnxk: add check for max supported gather entries

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add check for max supported gather entries. Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt_sg.h | 1 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 10 ++ drivers/crypto/cnxk/cn10k_tls_ops.h | 10 ++ 3 files changed, 2

[PATCH v2 17/40] crypto/cnxk: add security session destroy

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for rte security session destroy for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_sec.c | 17 +++- drivers/crypto/cnxk/cn20k_ipsec.c | 51 ++- 2 files changed, 64 insertions(+), 4 deleti

[PATCH v2 10/40] crypto/cnxk: add skeletion for enq deq functions

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add skeletion for cn20k enq deq functions Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev.c | 1 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 29 +++ drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 1 + 3 files chang

[PATCH v2 02/40] crypto/cnxk: add lookaside IPsec CPT LF stats

2025-05-26 Thread Tejasree Kondoj
Adding global CPT LF stats for lookaside IPsec. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_ipsec.c| 4 drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/crypto/cnxk/cn10k_ipsec.c b/drivers/crypto/cnxk

[PATCH v2 13/40] crypto/cnxk: add cryptodev dequeue support for cn20k

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add dequeue support in cryptodev for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 141 +- 1 file changed, 137 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/dri

[PATCH v2 00/40] fixes and new features to cnxk crypto PMD

2025-05-26 Thread Tejasree Kondoj
-ctr common/cnxk: set correct salt value for ctr algos common/cnxk: update qsize in CPT iq enable crypto/cnxk: copy 8B iv into sess in aes ctr Rupesh Chiluka (2): crypto/cnxk: extend check for max supported gather entries crypto/cnxk: add asym sessionless handling Tejasree Kondoj (8

[PATCH v2 40/40] crypto/cnxk: copy 8B iv into sess in aes ctr

2025-05-26 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan Copy 8 bytes of the IV into the iv field within the session for the AES CTR algorithm. Signed-off-by: Nithinsen Kaithakadan --- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 7 --- drivers/crypto/cnxk/cn20k_ipsec_la_ops.h | 7 --- 2 files changed, 8 insertions(

[PATCH v2 38/40] doc: update CN20K CPT documentation

2025-05-26 Thread Tejasree Kondoj
Updating documentation for CN20K CPT support. Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst | 26 +- doc/guides/cryptodevs/features/cn20k.ini | 113 +++ 2 files changed, 134 insertions(+), 5 deletions(-) create mode 100644 doc/guides

[PATCH v2 35/40] crypto/cnxk: add struct variable for custom metadata

2025-05-26 Thread Tejasree Kondoj
Adding struct variable for passing custom metadata to microcode. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.h b/drivers/crypto/cnxk/cnxk_cryptodev_ops.h index

[PATCH v2 39/40] common/cnxk: update qsize in CPT iq enable

2025-05-26 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan Reconfigure qsize in each CPT iq enable call. Fixes: 3bf87839559 ("common/cnxk: move instruction queue enable to ROC") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/roc_cpt.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/common/cnx

[PATCH v2 37/40] crypto/cnxk: add support for sessionless asym

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add support for sessionless asymmetric operations for cnxk Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 72 ++- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 57 +- drivers/crypto/cnxk/cnxk_cryp

[PATCH v2 34/40] crypto/cnxk: extend check for max supported gather entries

2025-05-26 Thread Tejasree Kondoj
From: Rupesh Chiluka Extend check for max supported gather entries in CNXK CPT PMD. Signed-off-by: Rupesh Chiluka --- drivers/common/cnxk/roc_cpt_sg.h | 1 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 10 ++ drivers/crypto/cnxk/cn10k_tls_ops.h | 10 ++ drivers/cry

[PATCH v2 30/40] crypto/cnxk: support raw API for cn20k

2025-05-26 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Add raw API support for cn20k Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 384 +- 1 file changed, 377 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/cnxk/cn20k_cryptodev_ops.c b/drivers/crypto/c

[PATCH v2 33/40] common/cnxk: set correct salt value for ctr algos

2025-05-26 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan This patch includes fix for setting correct salt value for CTR algorithm. Fixes: 532963b8070 ("crypto/cnxk: move IPsec SA creation to common") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/cnxk_security.c | 5 + 1 file changed, 5 insertions(+) d

[PATCH v2 32/40] common/cnxk: fix salt handling with aes-ctr

2025-05-26 Thread Tejasree Kondoj
From: Nithinsen Kaithakadan This patch includes fix for setting correct salt value for CTR algorithm. Fixes: 78d03027f2cc ("common/cnxk: add IPsec common code") Signed-off-by: Nithinsen Kaithakadan --- drivers/common/cnxk/cnxk_security.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/

  1   2   3   4   5   6   >