Hi Stephen,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, December 19, 2023 10:49 PM
> To: Anoob Joseph
> Cc: Radu Nicolau ; Akhil Goyal
> ; Konstantin Ananyev
> ; Jerin Jacob Kollanukkaran
> ; dev@dpdk.org
>
Use rte_pktmbuf_free_bulk() API instead of looping through the packets
and freeing individually.
Signed-off-by: Anoob Joseph
Suggested-by: Stephen Hemminger
---
examples/ipsec-secgw/ipsec-secgw.h | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec
len input
Akhil Goyal (1):
common/cnxk: fix memory leak
Anoob Joseph (6):
crypto/cnxk: use common macro
crypto/cnxk: return microcode completion code
common/cnxk: update opad-ipad gen to handle TLS
common/cnxk: add TLS record contexts
crypto/cnxk: separate IPsec from security common
From: Akhil Goyal
dev_init() acquires some resources which need to be cleaned
in case a failure is observed afterwards.
Fixes: c045d2e5cbbc ("common/cnxk: add CPT configuration")
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_cpt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
Having different macros for same purpose may cause issues if one is
updated without updating the other. Use same macro by including the
header.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers
From: Tejasree Kondoj
Falling back to SG mode for cn9k lookaside IPsec
if headroom is not available.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h
b/
Return microcode completion code in case of errors. This allows
applications to check the failure reasons in more granularity.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/cnxk
From: Gowrishankar Muthukrishnan
Fix ECDH pubkey verify in cn9k.
Fixes: baae0994fa96 ("crypto/cnxk: support ECDH")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/cr
From: Aakash Sasidharan
With zero length input, digest generation fails with incorrect
value. Fix this by completely avoiding the gather component
when the input packet has zero data length.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_se.h | 2 +-
1 file changed, 1 insertion(
From: Vidya Sagar Velumuri
Add Rx inject fastpath API.
Add devargs to specify an LF to be used for Rx inject.
When the RX inject feature flag is enabled:
1. Reserve a CPT LF to use for RX Inject mode.
2. Enable RXC and disable full packet mode for that LF.
Signed-off-by: Anoob Joseph
Signed
From: Rahul Bhansali
Add Rx inject config for feature enable/disable, and store
Rx chan value per port.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_idev.c | 44 +
drivers/common/cnxk/roc_idev.h | 5
drivers/common/cnxk/roc_idev_priv.h |
From: Rahul Bhansali
- Update chan in CPT inst from port's Rx chan
- Set Rx inject config in Idev struct
Signed-off-by: Rahul Bhansali
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 4 +++-
drivers/crypto/cnxk/cn10k_ipsec.c | 3 +++
drivers/crypto/cnxk/cnxk_cryptodev.h | 1 +
dri
From: Vidya Sagar Velumuri
Enable Rx inject feature for 103XX
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_cryptodev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev.c
b/drivers/crypto/cnxk/cnxk_cryptodev.c
index b168
IPsec and TLS
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 13 ++--
drivers/common/cnxk/cnxk_security.h | 17 +++--
drivers/common/cnxk/version.map | 1 +
drivers/crypto/cnxk/cn10k_cryptodev_ops.c
For TLS opcodes, ipad is at the offset 64 as compared to the packed
implementation for IPsec. Extend the function to handle TLS contexts as
well.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 15 ---
drivers/common/cnxk
Add TLS record read and write contexts.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_cpt.h | 4 +-
drivers/common/cnxk/roc_ie_ot_tls.h | 199
drivers/common/cnxk/roc_se.h| 11 ++
3 files changed, 211
The current structs and functions assume only IPsec offload. Separate it
out to allow for addition of TLS.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev.c | 2 +-
drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 127
From: Vidya Sagar Velumuri
Add TLS record session ops for creating and destroying security
sessions. Add support for both read and write sessions.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 8 +
drivers/crypto/cnxk
From: Vidya Sagar Velumuri
Add support for TLS record handling in datapath.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 57 +++-
drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 7 +
drivers/crypto/cnxk/cn10k_tls_ops.h
Add PMD APIs to allow applications to directly submit CPT instructions
to hardware.
Signed-off-by: Anoob Joseph
---
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf.in | 1 +
doc/guides/rel_notes/release_24_03.rst| 1 +
drivers/crypto/cnxk
From: Tejasree Kondoj
Replacing PDCP opcode with PDCP chain opcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 331 +-
drivers/common/cnxk/roc_se.h | 18 +-
drivers/crypto/cnxk/cnxk_se.h | 96 +-
3 files changed, 135 insertions
From: Vidya Sagar Velumuri
Add TLS 1.2 record read and write capability.
Add DTLS 1.2 record read and write capability.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/rel_notes/release_24_03.rst| 2 +
drivers/common/cnxk/hw/cpt.h
From: Vidya Sagar Velumuri
Add support for TLS-1.3.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_ie_ot_tls.h | 50 +--
drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 3 +-
drivers/crypto/cnxk/cn10k_tls.c | 159 +-
3 files changed, 136
From: Vidya Sagar Velumuri
Validate the cipher and auth combination to allow only the
ones supported by hardware.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_tls.c | 35 -
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/driver
From: Vidya Sagar Velumuri
Add TLS 1.3 record read and write capability
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/rel_notes/release_24_03.rst| 4 +-
.../crypto/cnxk/cnxk_cryptodev_capabilities.c | 92 +++
2 files changed, 94 insertions(+), 2 deletions(-)
diff
From: Vidya Sagar Velumuri
Use a single function for opad and ipad generation for IPsec, TLS and
flexi crypto.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 65 ++---
drivers/common/cnxk/cnxk_security.h | 5 ---
drivers/common/cnxk/roc_s
From: Tejasree Kondoj
Adding CPT SG mode debug dump.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 135 +-
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 7 ++
2 files changed, 141 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cnx
v2
- Addressed checkpatch issue
- Addressed build error with stdatomic
Aakash Sasidharan (1):
crypto/cnxk: enable digest gen for zero len input
Akhil Goyal (1):
common/cnxk: fix memory leak
Anoob Joseph (6):
crypto/cnxk: use common macro
crypto/cnxk: return microcode completion code
From: Akhil Goyal
dev_init() acquires some resources which need to be cleaned
in case a failure is observed afterwards.
Fixes: c045d2e5cbbc ("common/cnxk: add CPT configuration")
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_cpt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
Having different macros for same purpose may cause issues if one is
updated without updating the other. Use same macro by including the
header.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers
From: Tejasree Kondoj
Falling back to SG mode for cn9k lookaside IPsec
if headroom is not available.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h
b/
Return microcode completion code in case of errors. This allows
applications to check the failure reasons in more granularity.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/cnxk
From: Gowrishankar Muthukrishnan
Fix ECDH pubkey verify in cn9k.
Fixes: baae0994fa96 ("crypto/cnxk: support ECDH")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/cr
From: Aakash Sasidharan
With zero length input, digest generation fails with incorrect
value. Fix this by completely avoiding the gather component
when the input packet has zero data length.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_se.h | 2 +-
1 file changed, 1 insertion(
From: Vidya Sagar Velumuri
Add Rx inject fastpath API.
Add devargs to specify an LF to be used for Rx inject.
When the RX inject feature flag is enabled:
1. Reserve a CPT LF to use for RX Inject mode.
2. Enable RXC and disable full packet mode for that LF.
Signed-off-by: Anoob Joseph
Signed
From: Rahul Bhansali
Add Rx inject config for feature enable/disable, and store
Rx chan value per port.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_idev.c | 44 +
drivers/common/cnxk/roc_idev.h | 5
drivers/common/cnxk/roc_idev_priv.h |
From: Rahul Bhansali
- Update chan in CPT inst from port's Rx chan
- Set Rx inject config in Idev struct
Signed-off-by: Rahul Bhansali
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 4 +++-
drivers/crypto/cnxk/cn10k_ipsec.c | 3 +++
drivers/crypto/cnxk/cnxk_cryptodev.h | 1 +
dri
From: Vidya Sagar Velumuri
Enable Rx inject feature for 103XX
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_cryptodev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev.c
b/drivers/crypto/cnxk/cnxk_cryptodev.c
index b168
IPsec and TLS
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 13 ++--
drivers/common/cnxk/cnxk_security.h | 17 +++--
drivers/common/cnxk/version.map | 1 +
drivers/crypto/cnxk/cn10k_cryptodev_ops.c
For TLS opcodes, ipad is at the offset 64 as compared to the packed
implementation for IPsec. Extend the function to handle TLS contexts as
well.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 15 ---
drivers/common/cnxk
Add TLS record read and write contexts.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_cpt.h | 4 +-
drivers/common/cnxk/roc_ie_ot_tls.h | 199
drivers/common/cnxk/roc_se.h| 11 ++
3 files changed, 211
The current structs and functions assume only IPsec offload. Separate it
out to allow for addition of TLS.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev.c | 2 +-
drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 127
From: Vidya Sagar Velumuri
Add TLS record session ops for creating and destroying security
sessions. Add support for both read and write sessions.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 8 +
drivers/crypto/cnxk
From: Vidya Sagar Velumuri
Add support for TLS record handling in datapath.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 57 +++-
drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 7 +
drivers/crypto/cnxk/cn10k_tls_ops.h
From: Vidya Sagar Velumuri
Add TLS 1.2 record read and write capability.
Add DTLS 1.2 record read and write capability.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/rel_notes/release_24_03.rst| 2 +
drivers/common/cnxk/hw/cpt.h
Add PMD APIs to allow applications to directly submit CPT instructions
to hardware.
Signed-off-by: Anoob Joseph
---
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf.in | 1 +
doc/guides/rel_notes/release_24_03.rst| 1 +
drivers/crypto/cnxk
From: Tejasree Kondoj
Replacing PDCP opcode with PDCP chain opcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 331 +-
drivers/common/cnxk/roc_se.h | 18 +-
drivers/crypto/cnxk/cnxk_se.h | 96 +-
3 files changed, 135 insertions
From: Vidya Sagar Velumuri
Validate the cipher and auth combination to allow only the
ones supported by hardware.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_tls.c | 35 -
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/driver
From: Vidya Sagar Velumuri
Use a single function for opad and ipad generation for IPsec, TLS and
flexi crypto.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 65 ++---
drivers/common/cnxk/cnxk_security.h | 5 ---
drivers/common/cnxk/roc_s
From: Vidya Sagar Velumuri
Add support for TLS-1.3.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_ie_ot_tls.h | 50 +--
drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 3 +-
drivers/crypto/cnxk/cn10k_tls.c | 159 +-
3 files changed, 136
From: Vidya Sagar Velumuri
Add TLS 1.3 record read and write capability
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/rel_notes/release_24_03.rst| 4 +-
.../crypto/cnxk/cnxk_cryptodev_capabilities.c | 92 +++
2 files changed, 94 insertions(+), 2 deletions(-)
diff
From: Tejasree Kondoj
Adding CPT SG mode debug dump.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 135 +-
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 7 ++
2 files changed, 141 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cnx
Hi Suanming,
Good catch. Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Suanming Mou
> Sent: Wednesday, January 3, 2024 9:24 AM
> To: Ciara Power
> Cc: dev@dpdk.org
> Subject: [EXT] [PATCH] app/test-crypto-perf: fix invalid mbuf next operation
>
> External Email
>
> --
is commit converts the return value to be zero or greater than zero. That
> will
> make sure the sum of results be correct.
>
> Fixes: df52cb3b6e13 ("app/crypto-perf: move verify as single test type")
>
> Signed-off-by: Suanming Mou
Acked-by: Anoob Joseph
Hi Suanming,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Suanming Mou
> Sent: Wednesday, January 3, 2024 6:06 PM
> To: Anoob Joseph
> Cc: dev@dpdk.org; Ciara Power
> Subject: RE: [EXT] [PATCH] app/test-crypto-perf: fix invalid mbuf next
&
gt; Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool")
>
> Signed-off-by: Suanming Mou
Acked-by: Anoob Joseph
Hi Suanming,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Suanming Mou
> Sent: Wednesday, January 3, 2024 9:26 AM
> To: Ciara Power
> Cc: dev@dpdk.org
> Subject: [EXT] [PATCH 2/2] app/test-crypto-perf: fix encrypt operation verify
>
> External Email
>
> -
verify as single test type")
>
> Signed-off-by: Suanming Mou
Acked-by: Anoob Joseph
akash Shukla
> Acked-by: Chengwen Feng
Acked-by: Anoob Joseph
Hi Suanming,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Suanming Mou
> Sent: Friday, January 5, 2024 12:26 PM
> To: Anoob Joseph ; ciara.po...@intel.com
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [EXT] [PATCH] app/test-crypto-perf: add misse
Anoob Joseph (6):
crypto/cnxk: use common macro
crypto/cnxk: return microcode completion code
common/cnxk: update opad-ipad gen to handle TLS
common/cnxk: add TLS record contexts
crypto/cnxk: separate IPsec from security common code
crypto/cnxk: add PMD APIs for raw submission t
From: Akhil Goyal
dev_init() acquires some resources which need to be cleaned
in case a failure is observed afterwards.
Fixes: c045d2e5cbbc ("common/cnxk: add CPT configuration")
Signed-off-by: Akhil Goyal
---
drivers/common/cnxk/roc_cpt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
Having different macros for same purpose may cause issues if one is
updated without updating the other. Use same macro by including the
header.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers
From: Tejasree Kondoj
Falling back to SG mode for cn9k lookaside IPsec
if headroom is not available.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/crypto/cnxk/cn9k_ipsec_la_ops.h
b/
Return microcode completion code in case of errors. This allows
applications to check the failure reasons in more granularity.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/cnxk
From: Gowrishankar Muthukrishnan
Fix ECDH pubkey verify in cn9k.
Fixes: baae0994fa96 ("crypto/cnxk: support ECDH")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/cr
From: Aakash Sasidharan
With zero length input, digest generation fails with incorrect
value. Fix this by completely avoiding the gather component
when the input packet has zero data length.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_se.h | 2 +-
1 file changed, 1 insertion(
From: Rahul Bhansali
Add Rx inject config for feature enable/disable, and store
Rx chan value per port.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_idev.c | 44 +
drivers/common/cnxk/roc_idev.h | 5
drivers/common/cnxk/roc_idev_priv.h |
From: Vidya Sagar Velumuri
Enable Rx inject feature for 103XX
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_cryptodev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev.c
b/drivers/crypto/cnxk/cnxk_cryptodev.c
index b168
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/cryptodevs/cnxk.rst | 12 ++
doc/guides/cryptodevs/features/cn10k.ini | 1 +
doc/guides/rel_notes/release_24_03.rst | 4 +
drivers/common/cnxk/hw/cpt.h | 9 ++
drivers/c
From: Rahul Bhansali
- Update chan in CPT inst from port's Rx chan
- Set Rx inject config in Idev struct
Signed-off-by: Rahul Bhansali
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 4 +++-
drivers/crypto/cnxk/cn10k_ipsec.c | 3 +++
drivers/crypto/cnxk/cnxk_cryptodev.h | 1 +
dri
For TLS opcodes, ipad is at the offset 64 as compared to the packed
implementation for IPsec. Extend the function to handle TLS contexts as
well.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 15 ---
drivers/common/cnxk
Add TLS record read and write contexts.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_cpt.h | 4 +-
drivers/common/cnxk/roc_ie_ot_tls.h | 199
drivers/common/cnxk/roc_se.h| 11 ++
3 files changed, 211
From: Vidya Sagar Velumuri
Add TLS record session ops for creating and destroying security
sessions. Add support for both read and write sessions.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 8 +
drivers/crypto/cnxk
IPsec and TLS
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 13 ++--
drivers/common/cnxk/cnxk_security.h | 17 +++--
drivers/common/cnxk/version.map | 1 +
drivers/crypto/cnxk/cn10k_cryptodev_ops.c
From: Vidya Sagar Velumuri
Add TLS 1.2 record read and write capability.
Add DTLS 1.2 record read and write capability.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/rel_notes/release_24_03.rst| 2 +
drivers/common/cnxk/hw/cpt.h
The current structs and functions assume only IPsec offload. Separate it
out to allow for addition of TLS.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev.c | 2 +-
drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 127
From: Vidya Sagar Velumuri
Add support for TLS record handling in datapath.
Signed-off-by: Anoob Joseph
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 57 +++-
drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 7 +
drivers/crypto/cnxk/cn10k_tls_ops.h
Add PMD APIs to allow applications to directly submit CPT instructions
to hardware.
Signed-off-by: Anoob Joseph
---
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf.in | 1 +
doc/guides/rel_notes/release_24_03.rst| 1 +
drivers/crypto/cnxk
From: Tejasree Kondoj
Replacing PDCP opcode with PDCP chain opcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 331 +-
drivers/common/cnxk/roc_se.h | 18 +-
drivers/crypto/cnxk/cnxk_se.h | 96 +-
3 files changed, 135 insertions
From: Vidya Sagar Velumuri
Validate the cipher and auth combination to allow only the
ones supported by hardware.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_tls.c | 35 -
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/driver
From: Vidya Sagar Velumuri
Use a single function for opad and ipad generation for IPsec, TLS and
flexi crypto.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 65 ++---
drivers/common/cnxk/cnxk_security.h | 5 ---
drivers/common/cnxk/roc_s
From: Vidya Sagar Velumuri
Add support for TLS-1.3.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_ie_ot_tls.h | 50 +--
drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 3 +-
drivers/crypto/cnxk/cn10k_tls.c | 159 +-
3 files changed, 136
From: Vidya Sagar Velumuri
Add TLS 1.3 record read and write capability
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/rel_notes/release_24_03.rst| 4 +-
.../crypto/cnxk/cnxk_cryptodev_capabilities.c | 92 +++
2 files changed, 94 insertions(+), 2 deletions(-)
diff
From: Tejasree Kondoj
Adding CPT SG mode debug dump.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 135 +-
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 7 ++
2 files changed, 141 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cnx
>
> External Email
>
> --
> Replace use of __alignof__(T) with C11 alignof(T) to improve portability
> between toolchains.
>
> Signed-off-by: Tyler Retzlaff
Acked-by: Anoob Joseph
50a1 ("dma/cnxk: rework DMA driver")
Signed-off-by: Anoob Joseph
---
doc/guides/cryptodevs/cnxk.rst | 2 +-
doc/guides/eventdevs/cnxk.rst | 4 ++--
doc/guides/mempool/cnxk.rst| 2 +-
doc/guides/mldevs/cnxk.rst | 2 +-
doc/guides/nics/cnxk.rst | 8
CI
- Moved update to usertools as separate patch
Anoob Joseph (2):
dma/odm: add framework for ODM DMA device
dma/odm: add hardware defines
Gowrishankar Muthukrishnan (3):
dma/odm: add dev init and fini
dma/odm: add device ops
dma/odm: add stats
Vidya Sagar Velumuri (2):
dma/odm: add copy a
Add framework for Odyssey ODM DMA device.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
MAINTAINERS | 6 +++
drivers/dma/meson.build | 1 +
drivers/dma/odm/meson.build | 14 +++
drivers/dma/odm/odm.h
Add ODM registers and structures. Add mailbox structs as well.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
drivers/dma/odm/odm.h | 106 +
drivers/dma/odm/odm_priv.h | 49
From: Gowrishankar Muthukrishnan
Add ODM device init and fini.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
drivers/dma/odm/meson.build | 2 +-
drivers/dma/odm/odm.c| 97
drivers
From: Gowrishankar Muthukrishnan
Add DMA device control ops.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
drivers/dma/odm/odm.c| 144 ++-
drivers/dma/odm/odm.h| 54
From: Gowrishankar Muthukrishnan
Add DMA dev stats.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
drivers/dma/odm/odm_dmadev.c | 63 ++--
1 file changed, 61 insertions(+), 2 deletions(-)
diff
From: Vidya Sagar Velumuri
Add ODM copy and copy SG ops.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
drivers/dma/odm/odm_dmadev.c | 236 +++
1 file changed, 236 insertions(+)
diff --git a
From: Vidya Sagar Velumuri
Add all remaining ops such as fill, burst_capacity etc. Also update the
documentation.
Signed-off-by: Anoob Joseph
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Vidya Sagar Velumuri
---
MAINTAINERS| 1 +
doc/guides/dmadevs
s is suppressed as the updated struct rte_crypto_fp_ops is an internal
> structure and not to be used by application directly.
>
Series Acked-by: Anoob Joseph
>
> Added support to allow segmented buffers for IPsec and tls-record security
> offload cases.
>
> Signed-off-by: Akhil Goyal
Acked-by: Anoob Joseph
>
> Fix dequeue operation for ECDH pubkey verify.
>
> Fixes: baae0994fa96 ("crypto/cnxk: support ECDH")
> Fixes: 5c9025583167 ("crypto/cnxk: fix CN9K ECDH public key verification")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
modex groups test
> app/crypto-perf: remove redundant local varriable
> app/crypto-perf: fix result location for asymmetric test
> app/crypto-perf: add function to check asymmetric operation
> app/crypto-perf: support ECDSA
>
Series Acked-by: Anoob Joseph
d variable in modex test data
> test/crypto: use common test function for mod tests
> test/crypto: add modex tests for zero padded operands
Series Acked-by: Anoob Joseph
501 - 600 of 1921 matches
Mail list logo