New features and improvements in cnxk crypto PMD
Status from this message: Applied to dpdk-next-crypto
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest29 patches 4 repliesApplied
- v229 patches 0 repliesSuperseded
- v125 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Fixed build error from CI
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | common/cnxk: define minor opcodes for MISC opcodedrivers/ | +5 | 0 replies | |
| 2/29 | common/cnxk: add aes-xcbc key derivedrivers/ drivers/ drivers/ +3 more | +239 | 0 replies | |
| 3/29 | common/cnxk: add bit fields for paramsdrivers/ drivers/ | +42 | 0 replies | |
| 4/29 | common/cnxk: fix reset of fieldsdrivers/ | +0 | 0 replies | |
| 5/29 | common/cnxk: verify input argsdrivers/ drivers/ | +5 | 0 replies | |
| 6/29 | common/cnxk: update completion codedrivers/ | +2 | 0 replies | |
| 7/29 | crypto/cnxk: only enable queues that are allocateddrivers/ | +11 | 0 replies | |
| 8/29 | crypto/cnxk: add lookaside IPsec AES-CBC-HMAC-SHA256 supportdoc/ doc/ drivers/ +3 more | +75 | 0 replies | |
| 9/29 | crypto/cnxk: clear session data before populatingdrivers/ | +2 | 0 replies | |
| 10/29 | crypto/cnxk: update max sec crypto capsdrivers/ drivers/ | +7 | 0 replies | |
| 11/29 | crypto/cnxk: write CPT CTX through microcode opdrivers/ | +89 | 0 replies | |
| 12/29 | crypto/cnxk: support cnxk lookaside IPsec HMAC-SHA384/512doc/ doc/ drivers/ +4 more | +118 | 0 replies | |
| 13/29 | crypto/cnxk: account for CPT CTX updates and flush delaysdrivers/ drivers/ drivers/ +1 more | +77 | 0 replies | |
| 14/29 | crypto/cnxk: use struct sizes for ctx writesdrivers/ | +4 | 0 replies | |
| 15/29 | crypto/cnxk: add security session stats getdrivers/ drivers/ drivers/ | +57 | 0 replies | |
| 16/29 | crypto/cnxk: add skip for unsupported casesdrivers/ | +47 | 0 replies | |
| 17/29 | crypto/cnxk: add context reload for IVdrivers/ drivers/ | +12 | 0 replies | |
| 18/29 | crypto/cnxk: handle null chained opsdrivers/ drivers/ drivers/ | +102 | 0 replies | |
| 19/29 | crypto/cnxk: fix inflight cnt calculationdrivers/ | +5 | 0 replies | |
| 20/29 | crypto/cnxk: use atomics to access CPT resdrivers/ drivers/ drivers/ | +37 | 0 replies | |
| 21/29 | crypto/cnxk: add more info on command timeoutdrivers/ drivers/ drivers/ +2 more | +57 | 3 replies | |
| 22/29 | crypto/cnxk: support lookaside IPsec AES-CTRdoc/ doc/ drivers/ +4 more | +35 | 0 replies | |
| 23/29 | crypto/cnxk: fix extend tail calculationdrivers/ | +4 | 0 replies | |
| 24/29 | crypto/cnxk: add aes xcbc and null cipherdoc/ doc/ drivers/ +5 more | +169 | 0 replies | |
| 25/29 | crypto/cnxk: add copy and set DFdrivers/ drivers/ | +7 | 0 replies | |
| 26/29 | crypto/cnxk: add aes cmacdoc/ doc/ doc/ +4 more | +103 | 0 replies | |
| 27/29 | crypto/cnxk: add per pkt IV in lookaside IPsec debug modedrivers/ drivers/ drivers/ +2 more | +47 | 0 replies | |
| 28/29 | crypto/cnxk: enable copy dscpdrivers/ | +1 | 0 replies | |
| 29/29 | crypto/cnxk: update microcode completion handlingdrivers/ drivers/ drivers/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/29] New features and improvements in cnxk crypto PMD
New features and fixes to cnxk crypto PMDs
- Support for more algorithms in lookaside crypto & protocol
- Support for copy & set DF bit
- Support for CPT CTX update
- Support for security session stats in cn10k
Changes in v3
- Fixed build error from CI
Changes in v2
- Support for copy & set DSCP
- Support for per packet IV in cn9k
- Support for cn10k v1.19 microcode
Ankur Dwivedi (1):
crypto/cnxk: add security session stats get
Anoob Joseph (20):
common/cnxk: define minor opcodes for MISC opcode common/cnxk: add aes-xcbc key derive common/cnxk: fix reset of fields
common/cnxk: verify input args
common/cnxk: update completion code
crypto/cnxk: clear session data before populating crypto/cnxk: update max sec crypto caps crypto/cnxk: account for CPT CTX updates and flush delays crypto/cnxk: use struct sizes for ctx writes crypto/cnxk: add skip for unsupported cases crypto/cnxk: handle null chained ops crypto/cnxk: fix inflight cnt calculation crypto/cnxk: use atomics to access CPT res crypto/cnxk: add more info on command timeout crypto/cnxk: fix extend tail calculation crypto/cnxk: add aes xcbc and null cipher crypto/cnxk: add copy and set DF
crypto/cnxk: add aes cmac
crypto/cnxk: enable copy dscp
crypto/cnxk: update microcode completion handling
Archana Muniganti (2):
common/cnxk: add bit fields for params crypto/cnxk: add per pkt IV in lookaside IPsec debug mode
Shijith Thotton (1):
crypto/cnxk: only enable queues that are allocated
Tejasree Kondoj (5):
crypto/cnxk: add lookaside IPsec AES-CBC-HMAC-SHA256 support crypto/cnxk: write CPT CTX through microcode op crypto/cnxk: support cnxk lookaside IPsec HMAC-SHA384/512 crypto/cnxk: add context reload for IV crypto/cnxk: support lookaside IPsec AES-CTR
doc/guides/cryptodevs/cnxk.rst | 50 ++++- doc/guides/cryptodevs/features/cn10k.ini | 37 ++-- doc/guides/cryptodevs/features/cn9k.ini | 37 ++-- doc/guides/rel_notes/release_22_03.rst | 10 + drivers/common/cnxk/cnxk_security.c | 92 ++++++-- drivers/common/cnxk/hw/cpt.h | 15 ++ drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_aes.c | 208 ++++++++++++++++++ drivers/common/cnxk/roc_aes.h | 14 ++ drivers/common/cnxk/roc_api.h | 3 + drivers/common/cnxk/roc_cpt.c | 4 +- drivers/common/cnxk/roc_cpt.h | 24 +- drivers/common/cnxk/roc_ie_on.h | 47 +++- drivers/common/cnxk/roc_ie_ot.h | 4 +- drivers/common/cnxk/roc_se.h | 14 +- drivers/common/cnxk/version.map | 1 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 91 ++++---- drivers/crypto/cnxk/cn10k_ipsec.c | 232 ++++++++++++++++---- drivers/crypto/cnxk/cn10k_ipsec.h | 26 ++- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 28 ++- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 29 ++- drivers/crypto/cnxk/cn9k_ipsec.c | 253 +++++++++++++++++----- drivers/crypto/cnxk/cn9k_ipsec.h | 2 + drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 20 +- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 158 +++++++++++++- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 245 +++++++++++++-------- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 17 +- drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 1 + drivers/crypto/cnxk/cnxk_ipsec.h | 19 +- drivers/crypto/cnxk/cnxk_se.h | 66 ++++-- 31 files changed, 1348 insertions(+), 402 deletions(-) create mode 100644 drivers/common/cnxk/roc_aes.c create mode 100644 drivers/common/cnxk/roc_aes.h
Signature · 1 line
2.7.4