From patchwork Fri Feb 24 09:40:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 124506 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 85B0341D5F; Fri, 24 Feb 2023 10:40:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6907B40697; Fri, 24 Feb 2023 10:40:22 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EBA8E40693 for ; Fri, 24 Feb 2023 10:40:20 +0100 (CET) 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 31O71rQA026911 for ; Fri, 24 Feb 2023 01:40:20 -0800 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=Obbleucna7L3aRTVdUgULu+VT4Z4SLyr3f8b0Yy+jHU=; b=jUQxxkL6vtrI8CSHEypzjhB/x560yUiigS6aNQKjYVuH2v7gCfpFhkEWFu4eOqryawAZ sf4fns/Ocq+eR8Gz/pwoa6Z7nM+6JM1UjzC6TiUETLXnaoZZgSqw1zLJGF3GoWa72SYq iG8MKsdjYv9ivU/7dP/H7QF0erRuLZhwE8DD6540AsaEb8w/0aCdpWNCaLLMEcrSrpcK JplD3zkukzrFsv1gasnwepCzKJJOhiwlZtXeW8gZnVQYLDqHEmbThJZUhzf3moALYnc1 Kn7A1aNSSutVUIGnz55r46i6b9c9tf+w/WvGBSpI8YQq+8cWSDAGCJsCQZ/aiD1NbKm9 fw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nxfkwb2g0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 24 Feb 2023 01:40:20 -0800 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.42; Fri, 24 Feb 2023 01:40:18 -0800 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.42 via Frontend Transport; Fri, 24 Feb 2023 01:40:17 -0800 Received: from hyd1554.marvell.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 446B73F706B; Fri, 24 Feb 2023 01:40:15 -0800 (PST) From: Tejasree Kondoj To: Akhil Goyal CC: Anoob Joseph , Gowrishankar Muthukrishnan , Subject: [PATCH v2 00/11] fixes and improvements to cnxk crypto PMD Date: Fri, 24 Feb 2023 15:10:03 +0530 Message-ID: <20230224094014.3246764-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: DL4onOBzY9uq9utmdEvCzY6L18lmxrB1 X-Proofpoint-ORIG-GUID: DL4onOBzY9uq9utmdEvCzY6L18lmxrB1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-24_05,2023-02-23_01,2023-02-09_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 This series adds cn10k scatter gather support and improvements to cnxk crypto PMD. v2: * Fixed clang build failure Anoob Joseph (2): crypto/cnxk: use version field directly common/cnxk: ensure flush inval completion with CSR read Gowrishankar Muthukrishnan (2): common/cnxk: fix incorrect auth key length crypto/cnxk: fix order of ECFPM params Tejasree Kondoj (7): crypto/cnxk: make sg version check const crypto/cnxk: use direct mode for zero aad length crypto/cnxk: set ctx for AE common/cnxk: add errata function for CPT set ctx common/cnxk: replace CPT revision check with caps crypto/cnxk: support cn10k IPsec SG mode crypto/cnxk: add model check for pdcp chain drivers/common/cnxk/hw/cpt.h | 14 +- drivers/common/cnxk/roc_cpt.c | 16 ++ drivers/common/cnxk/roc_errata.h | 9 + drivers/common/cnxk/roc_se.h | 7 +- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 67 +++---- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 222 ++++++++++++++++++++-- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 20 +- drivers/crypto/cnxk/cn9k_ipsec_la_ops.h | 4 +- drivers/crypto/cnxk/cnxk_ae.h | 69 +++++-- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 44 +++-- drivers/crypto/cnxk/cnxk_se.h | 6 +- drivers/crypto/cnxk/cnxk_sg.h | 23 +++ drivers/event/cnxk/cn10k_eventdev.c | 3 +- 13 files changed, 389 insertions(+), 115 deletions(-)