From patchwork Mon Jun 19 12:45:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 128789 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 57A1142CFA; Mon, 19 Jun 2023 14:45:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D95FC40E0F; Mon, 19 Jun 2023 14:45:36 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id DFECE40DF8 for ; Mon, 19 Jun 2023 14:45:34 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35J8lspY013126 for ; Mon, 19 Jun 2023 05:45:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=7Ay71mODouNM4CjhyzUq0ETwqEBlq4qSOzC/nqtqn+M=; b=TMOivgArYcobStgH6cKuHnw9oaktK/oU3N5ZYJARF8zaMEGOCUy4ckrp1lSwmO17s06d SRpaYUOdL8wYExm4BNbjhWq5o4xVDuXlqy7Msfel03IK7jnnmib1FGCRb5Dwfj+IaquP +R09tB7+ccoklb9sdi+s34SZlJ83bHPKwuLtqL7gWdx6fcoCXkTsLD71RpBb/sRAHn7+ hpz7jX9SszEgvuTRJPfpDqh2wgwFXLSCYSwWiGEvy7KkotOdbszVU0sE0AYlx1f+B3YB kWLpN5X6jfReTyGHDOXXKRPRN+C7qxp17fSjLgtq/7wa1ydDTRiKLqzUEGbyoLikMLB1 0A== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3r9cbkcrnu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 19 Jun 2023 05:45:34 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 19 Jun 2023 05:45:32 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 19 Jun 2023 05:45:32 -0700 Received: from hyd1554.marvell.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 118D15C68EB; Mon, 19 Jun 2023 05:45:29 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal CC: Anoob Joseph , Aakash Sasidharan , Gowrishankar Muthukrishnan , Vidya Sagar Velumuri , Subject: [PATCH 0/8] fixes and improvements to CNXK crypto PMD Date: Mon, 19 Jun 2023 18:15:20 +0530 Message-ID: <20230619124528.3967275-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: Wg4OrKt6o7ZMYtWlqRdGJH0Iw8jMW5CA X-Proofpoint-ORIG-GUID: Wg4OrKt6o7ZMYtWlqRdGJH0Iw8jMW5CA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-19_09,2023-06-16_01,2023-05-22_02 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 This series adds SM4, raw cryptodev API support and fixes to CNXK crypto PMD. Aakash Sasidharan (1): crypto/cnxk: use pt inst for null cipher with null auth Anoob Joseph (3): crypto/cnxk: remove packet length checks in crypto offload crypto/cnxk: add support for raw APIs test/crypto: enable raw crypto tests for crypto_cn10k Gowrishankar Muthukrishnan (1): crypto/cnxk: fix order of ECFPM parameters Tejasree Kondoj (2): crypto/cnxk: check for null pointer crypto/cnxk: enable context cache for 103XX Vidya Sagar Velumuri (1): crypto/cnxk: add support for sm4 app/test/test_cryptodev.c | 8 + doc/guides/cryptodevs/cnxk.rst | 1 + doc/guides/cryptodevs/features/cn10k.ini | 1 + drivers/common/cnxk/hw/cpt.h | 5 +- drivers/common/cnxk/roc_se.c | 3 + drivers/common/cnxk/roc_se.h | 20 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 459 ++++++++++++ drivers/crypto/cnxk/cnxk_ae.h | 3 +- drivers/crypto/cnxk/cnxk_cryptodev.c | 20 +- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 113 ++- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 29 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 9 + drivers/crypto/cnxk/cnxk_se.h | 696 ++++++++++++++++-- 14 files changed, 1262 insertions(+), 107 deletions(-)