[PATCH v2 25/25] doc: update cn20k CPT documentation
Tejasree Kondoj
ktejasree at marvell.com
Tue Jun 3 13:50:26 CEST 2025
Updating documentation for cn20k CPT support.
Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
---
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 deletions(-)
create mode 100644 doc/guides/cryptodevs/features/cn20k.ini
diff --git a/doc/guides/cryptodevs/cnxk.rst b/doc/guides/cryptodevs/cnxk.rst
index ac843ddc53..1799161fdf 100644
--- a/doc/guides/cryptodevs/cnxk.rst
+++ b/doc/guides/cryptodevs/cnxk.rst
@@ -9,8 +9,8 @@ cryptographic operations to cryptographic accelerator units on the
**Marvell OCTEON cnxk** SoC family.
The cnxk crypto PMD code is organized into different sets of files.
-The file names starting with cn9k and cn10k provides support for CN9XX
-and CN10XX respectively. The common code between the SoCs is present
+The file names starting with cn9k, cn10k and cn20k provides support for CN9XX,
+CN10XX and CN20XX respectively. The common code between the SoCs is present
in file names starting with cnxk.
More information about OCTEON cnxk SoCs may be obtained from `<https://www.marvell.com>`_
@@ -20,6 +20,7 @@ Supported OCTEON cnxk SoCs
- CN9XX
- CN10XX
+- CN20XX
Features
--------
@@ -144,7 +145,7 @@ Bind the CPT VF device to the vfio_pci driver:
Refer to :ref:`linux_gsg_hugepages` for more details.
-``CN10K Initialization``
+``CN10K/CN20K Initialization``
List the CPT PF devices available on cn10k platform:
@@ -232,6 +233,13 @@ running the test application:
./dpdk-test
RTE>>cryptodev_cn10k_autotest
+``CN20K``
+
+.. code-block:: console
+
+ ./dpdk-test
+ RTE>>cryptodev_cn20k_autotest
+
The asymmetric crypto operations on OCTEON cnxk crypto PMD may be verified by
running the test application:
@@ -249,6 +257,13 @@ running the test application:
./dpdk-test
RTE>>cryptodev_cn10k_asym_autotest
+``CN20K``
+
+.. code-block:: console
+
+ ./dpdk-test
+ RTE>>cryptodev_cn20k_asym_autotest
+
Lookaside IPsec Support
-----------------------
@@ -265,6 +280,7 @@ Supported OCTEON cnxk SoCs
- CN9XX
- CN10XX
+- CN20XX
CN9XX Features supported
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -301,8 +317,8 @@ Auth algorithms
* AES-XCBC-96
* AES-GMAC
-CN10XX Features supported
-~~~~~~~~~~~~~~~~~~~~~~~~~
+CN10XX/CN20XX Features supported
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* IPv4
* ESP
diff --git a/doc/guides/cryptodevs/features/cn20k.ini b/doc/guides/cryptodevs/features/cn20k.ini
new file mode 100644
index 0000000000..76553d190e
--- /dev/null
+++ b/doc/guides/cryptodevs/features/cn20k.ini
@@ -0,0 +1,113 @@
+;
+; Supported features of the 'cn20k' crypto driver.
+;
+; Refer to default.ini for the full list of available PMD features.
+;
+[Features]
+Symmetric crypto = Y
+Asymmetric crypto = Y
+Sym operation chaining = Y
+HW Accelerated = Y
+Protocol offload = Y
+In Place SGL = Y
+OOP SGL In LB Out = Y
+OOP SGL In SGL Out = Y
+OOP LB In LB Out = Y
+Symmetric sessionless = Y
+RSA PRIV OP KEY EXP = Y
+RSA PRIV OP KEY QT = Y
+Digest encrypted = Y
+Sym raw data path API = Y
+Inner checksum = Y
+Rx inject = Y
+
+;
+; Supported crypto algorithms of 'cn20k' crypto driver.
+;
+[Cipher]
+NULL = Y
+3DES CBC = Y
+3DES ECB = Y
+AES CBC (128) = Y
+AES CBC (192) = Y
+AES CBC (256) = Y
+AES CTR (128) = Y
+AES CTR (192) = Y
+AES CTR (256) = Y
+AES XTS (128) = Y
+AES XTS (256) = Y
+DES CBC = Y
+KASUMI F8 = Y
+SNOW3G UEA2 = Y
+ZUC EEA3 = Y
+SM4 ECB = Y
+SM4 CBC = Y
+SM4 CTR = Y
+SM4 CFB = Y
+SM4 OFB = Y
+
+;
+; Supported authentication algorithms of 'cn20k' crypto driver.
+;
+[Auth]
+NULL = Y
+AES GMAC = Y
+KASUMI F9 = Y
+MD5 = Y
+MD5 HMAC = Y
+SHA1 = Y
+SHA1 HMAC = Y
+SHA224 = Y
+SHA224 HMAC = Y
+SHA256 = Y
+SHA256 HMAC = Y
+SHA384 = Y
+SHA384 HMAC = Y
+SHA512 = Y
+SHA512 HMAC = Y
+SNOW3G UIA2 = Y
+ZUC EIA3 = Y
+AES CMAC (128) = Y
+AES CMAC (192) = Y
+AES CMAC (256) = Y
+SHA3_224 = Y
+SHA3_224 HMAC = Y
+SHA3_256 = Y
+SHA3_256 HMAC = Y
+SHA3_384 = Y
+SHA3_384 HMAC = Y
+SHA3_512 = Y
+SHA3_512 HMAC = Y
+SHAKE_128 = Y
+SHAKE_256 = Y
+SM3 = Y
+
+;
+; Supported AEAD algorithms of 'cn20k' crypto driver.
+;
+[AEAD]
+AES GCM (128) = Y
+AES GCM (192) = Y
+AES GCM (256) = Y
+AES CCM (128) = Y
+AES CCM (192) = Y
+AES CCM (256) = Y
+CHACHA20-POLY1305 = Y
+
+;
+; Supported Asymmetric algorithms of the 'cn20k' crypto driver.
+;
+[Asymmetric]
+RSA = Y
+Modular Exponentiation = Y
+ECDH = Y
+ECDSA = Y
+ECPM = Y
+SM2 = Y
+EdDSA = Y
+
+;
+; Supported Operating systems of the 'cn20k' crypto driver.
+;
+[OS]
+Linux = Y
diff --git a/doc/guides/rel_notes/release_25_07.rst b/doc/guides/rel_notes/release_25_07.rst
index f8ad77c2ca..5a772c0b69 100644
--- a/doc/guides/rel_notes/release_25_07.rst
+++ b/doc/guides/rel_notes/release_25_07.rst
@@ -74,6 +74,9 @@ New Features
See the :doc:`../cryptodevs/zsda` guide for more details on the new driver.
+* **Updated Marvell cnxk crypto driver.**
+
+ * Added CPT PMD support for CN20K SoC.
Removed Items
-------------
--
2.25.1
More information about the dev
mailing list