Fixes and improvements in crypto cnxk
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest24 patches 1 replyIn review
- v224 patches 2 repliesSuperseded
- v124 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Addressed Akhil's commments on Rx inject patch
- Updated license year to 2024
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | common/cnxk: fix memory leakdrivers/ | +2 | 0 replies | |
| 2/24 | crypto/cnxk: use common macrodrivers/ | +3 | 0 replies | |
| 3/24 | crypto/cnxk: fallback to SG if headroom is not availabledrivers/ | +1 | 0 replies | |
| 4/24 | crypto/cnxk: return microcode completion codedrivers/ | +2 | 0 replies | |
| 5/24 | crypto/cnxk: fix ECDH pubkey verify in cn9kdrivers/ | +11 | 0 replies | |
| 6/24 | crypto/cnxk: enable digest gen for zero len inputdrivers/ | +1 | 0 replies | |
| 7/24 | crypto/cnxk: enable Rx inject in security lookasidedoc/ doc/ doc/ +17 more | +252 | 0 replies | |
| 8/24 | common/cnxk: add Rx inject configsdrivers/ drivers/ drivers/ +2 more | +61 | 0 replies | |
| 9/24 | crypto/cnxk: Rx inject config updatedrivers/ drivers/ drivers/ +1 more | +9 | 0 replies | |
| 10/24 | crypto/cnxk: enable Rx inject for 103drivers/ | +1 | 0 replies | |
| 11/24 | crypto/cnxk: rename security caps as IPsec security capsdrivers/ drivers/ drivers/ +8 more | +123 | 0 replies | |
| 12/24 | common/cnxk: update opad-ipad gen to handle TLSdrivers/ drivers/ | +10 | 0 replies | |
| 13/24 | common/cnxk: add TLS record contextsdrivers/ drivers/ drivers/ | +211 | 0 replies | |
| 14/24 | crypto/cnxk: separate IPsec from security common codedrivers/ drivers/ drivers/ +4 more | +218 | 0 replies | |
| 15/24 | crypto/cnxk: add TLS record session opsdrivers/ drivers/ drivers/ +1 more | +802 | 0 replies | |
| 16/24 | crypto/cnxk: add TLS record datapath handlingdrivers/ drivers/ drivers/ | +380 | 0 replies | |
| 17/24 | crypto/cnxk: add TLS capabilitydoc/ drivers/ drivers/ +1 more | +223 | 0 replies | |
| 18/24 | crypto/cnxk: add PMD APIs for raw submission to CPTdoc/ doc/ doc/ +7 more | +252 | 0 replies | |
| 19/24 | crypto/cnxk: replace PDCP with PDCP chain opcodedrivers/ drivers/ drivers/ | +135 | 0 replies | |
| 20/24 | crypto/cnxk: validate the combinations supported in TLSdrivers/ | +34 | 0 replies | |
| 21/24 | crypto/cnxk: use a single function for opad ipaddrivers/ drivers/ drivers/ +3 more | +61 | 0 replies | |
| 22/24 | crypto/cnxk: add support for TLS 1.3drivers/ drivers/ drivers/ | +136 | 0 replies | |
| 23/24 | crypto/cnxk: add TLS 1.3 capabilitydoc/ drivers/ | +94 | 0 replies | |
| 24/24 | crypto/cnxk: add CPT SG mode debugdrivers/ drivers/ | +141 | 0 replies |
Reviews trailers per patch
None of the 24 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Akhil Goyal |
|---|---|
| Series | A-b |
| 1/24 | |
| 2/24 | |
| 3/24 | |
| 4/24 | |
| 5/24 | |
| 6/24 | |
| 7/24 | |
| 8/24 | |
| 9/24 | |
| 10/24 | |
| 11/24 | |
| 12/24 | |
| 13/24 | |
| 14/24 | |
| 15/24 | |
| 16/24 | |
| 17/24 | |
| 18/24 | |
| 19/24 | |
| 20/24 | |
| 21/24 | |
| 22/24 | |
| 23/24 | |
| 24/24 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/24] Fixes and improvements in crypto cnxk
Add following features
- TLS record processing offload (TLS 1.2-1.3, DTLS 1.2)
- Rx inject to allow lookaside packets to be injected to ethdev Rx
- Use PDCP_CHAIN opcode instead of PDCP opcode for cipher-only and auth only cases
- PMD API to submit instructions directly to hardware
Changes in v3
- Addressed Akhil's commments on Rx inject patch
- Updated license year to 2024
Changes in 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 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 to CPT
Gowrishankar Muthukrishnan (1):
crypto/cnxk: fix ECDH pubkey verify in cn9k
Rahul Bhansali (2):
common/cnxk: add Rx inject configs
crypto/cnxk: Rx inject config update
Tejasree Kondoj (3):
crypto/cnxk: fallback to SG if headroom is not available crypto/cnxk: replace PDCP with PDCP chain opcode crypto/cnxk: add CPT SG mode debug
Vidya Sagar Velumuri (10):
crypto/cnxk: enable Rx inject in security lookaside crypto/cnxk: enable Rx inject for 103 crypto/cnxk: rename security caps as IPsec security caps crypto/cnxk: add TLS record session ops crypto/cnxk: add TLS record datapath handling crypto/cnxk: add TLS capability
crypto/cnxk: validate the combinations supported in TLS crypto/cnxk: use a single function for opad ipad crypto/cnxk: add support for TLS 1.3 crypto/cnxk: add TLS 1.3 capability
doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + doc/guides/cryptodevs/cnxk.rst | 12 + doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/rel_notes/release_24_03.rst | 7 + drivers/common/cnxk/cnxk_security.c | 65 +- drivers/common/cnxk/cnxk_security.h | 15 +- drivers/common/cnxk/hw/cpt.h | 12 +- drivers/common/cnxk/roc_cpt.c | 14 +- drivers/common/cnxk/roc_cpt.h | 7 +- drivers/common/cnxk/roc_cpt_priv.h | 2 +- drivers/common/cnxk/roc_idev.c | 44 + drivers/common/cnxk/roc_idev.h | 5 + drivers/common/cnxk/roc_idev_priv.h | 6 + drivers/common/cnxk/roc_ie_ot.c | 14 +- drivers/common/cnxk/roc_ie_ot_tls.h | 225 +++++ drivers/common/cnxk/roc_mbox.h | 2 + drivers/common/cnxk/roc_nix.c | 2 + drivers/common/cnxk/roc_nix_inl.c | 2 +- drivers/common/cnxk/roc_nix_inl_dev.c | 2 +- drivers/common/cnxk/roc_se.c | 379 +++----- drivers/common/cnxk/roc_se.h | 38 +- drivers/common/cnxk/version.map | 5 + drivers/crypto/cnxk/cn10k_cryptodev.c | 2 +- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 401 ++++++++- drivers/crypto/cnxk/cn10k_cryptodev_ops.h | 11 + drivers/crypto/cnxk/cn10k_cryptodev_sec.c | 134 +++ drivers/crypto/cnxk/cn10k_cryptodev_sec.h | 68 ++ drivers/crypto/cnxk/cn10k_ipsec.c | 134 +-- drivers/crypto/cnxk/cn10k_ipsec.h | 38 +- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 19 +- drivers/crypto/cnxk/cn10k_tls.c | 830 ++++++++++++++++++ drivers/crypto/cnxk/cn10k_tls.h | 35 + drivers/crypto/cnxk/cn10k_tls_ops.h | 322 +++++++ drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 68 +- drivers/crypto/cnxk/cn9k_cryptodev_ops.h | 62 ++ drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 16 +- drivers/crypto/cnxk/cnxk_cryptodev.c | 3 + drivers/crypto/cnxk/cnxk_cryptodev.h | 24 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 375 +++++++- drivers/crypto/cnxk/cnxk_cryptodev_devargs.c | 31 + drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 128 ++- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 7 + drivers/crypto/cnxk/cnxk_se.h | 98 +-- drivers/crypto/cnxk/cnxk_sg.h | 4 +- drivers/crypto/cnxk/meson.build | 4 +- drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h | 46 + drivers/crypto/cnxk/version.map | 3 + 48 files changed, 3018 insertions(+), 706 deletions(-) create mode 100644 drivers/common/cnxk/roc_ie_ot_tls.h create mode 100644 drivers/crypto/cnxk/cn10k_cryptodev_sec.c create mode 100644 drivers/crypto/cnxk/cn10k_cryptodev_sec.h create mode 100644 drivers/crypto/cnxk/cn10k_tls.c create mode 100644 drivers/crypto/cnxk/cn10k_tls.h create mode 100644 drivers/crypto/cnxk/cn10k_tls_ops.h create mode 100644 drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h
Signature · 1 line
2.25.1