From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15F9B46803; Tue, 27 May 2025 13:05:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACE1740E2C; Tue, 27 May 2025 13:03:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 32BF940395 for ; Tue, 27 May 2025 13:03:09 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54R6sfV5018502 for ; Tue, 27 May 2025 04:03:08 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=S 9TR/u6VBUgxkeQ7tfgoc/rgACG0fRULBBHnIpB0DvI=; b=bDSLTg4i5CHR3t+Cs FtefgauB0vfuQKeS92tBbrgQxtTdjh0loTQGjuFSr6yWTTRSgL+uFvCFL9+zkLof MT66MAGSdABR6yd+EUtfWzDg8QcWdJMXosHf1czlZGcUGxDm18xj2pSsq/I+QoXA j1UB9wTlvKcwN62jFSqnVvaiTgx9MCFJXsGZoeI2FH5135IuzhBDdpgwiabbY4ym gO+z8kWXJbmX3dLwHg7hggRei//K0iL7WRMWk/AHZ+B22tFrkpUa7JShlRGebyUr NijIwlAawM4C+DD35rZY0Pc/qVDzdp/HDQwx+cTmvjAVBcWxqRt4W5q5NkuE2T1g wmPyQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 46w8hq8dr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 27 May 2025 04:03:08 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 27 May 2025 04:03:07 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 27 May 2025 04:03:07 -0700 Received: from hyd1554.caveonetworks.com (unknown [10.29.56.32]) by maili.marvell.com (Postfix) with ESMTP id B5C923F7061; Tue, 27 May 2025 04:03:05 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal CC: Anoob Joseph , Vidya Sagar Velumuri , Subject: [PATCH 25/25] doc: update CN20K CPT documentation Date: Tue, 27 May 2025 16:32:05 +0530 Message-ID: <20250527110205.2300800-26-ktejasree@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250527110205.2300800-1-ktejasree@marvell.com> References: <20250527110205.2300800-1-ktejasree@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTI3MDA5MCBTYWx0ZWRfX8b4l3VTN8k00 sO0YQrVgIJQqI1/LcVOYJ3aamN2K4EStcGmVPWSoBevJoUculRgP/j+i692YdPFRMiSFBObcGyZ c/9ywOafAF9nrXrGnElcCP107Sb+rn/axxzQH6a4YNEI2DUF1jpTHe34sbZx2CCAHY9+M0+9RRW gb0BS1kgLjDFvtb+evK5gvIr8YK88Yw0TGUD0ctn2rSkfsJ9vHV+EN7xOieqjP/XMiwSnL3jf2D XQ8vVL87c21ftneuK7gsZLj9fjeAbZcJXZKGBHlflYDBlzSGGDuDuD33hYwQGWV8NPn/hpMZGgz 968tLVPPHDcKw+/8y79cicebtZAdZQYL18hbj9sDnM/CTPPxlfLVrvOFU7WMbX6JjTtIPspioy+ hS+Nde3a62h3sxx8AYlEI2bM4drBtn3nmLhi3EfjYcNJQeactJ8TLRbC3bEVTYGUp5pUllzy X-Authority-Analysis: v=2.4 cv=D89HKuRj c=1 sm=1 tr=0 ts=68359bec cx=c_pps a=rEv8fa4AjpPjGxpoe8rlIQ==:117 a=rEv8fa4AjpPjGxpoe8rlIQ==:17 a=dt9VzEwgFbYA:10 a=M5GUcnROAAAA:8 a=6cXmKztfqU2S9WV7NuMA:9 a=OBjm3rFKGHvpk9ecZwUJ:22 X-Proofpoint-GUID: Dl9fHXdV47w101cf_9cuWW07k_JRF67u X-Proofpoint-ORIG-GUID: Dl9fHXdV47w101cf_9cuWW07k_JRF67u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-27_05,2025-05-27_01,2025-03-28_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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/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 ``_ @@ -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 -- 2.25.1