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 2282FA0A0C; Tue, 29 Jun 2021 09:34:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9BAF340E01; Tue, 29 Jun 2021 09:34:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7BE664069F for ; Tue, 29 Jun 2021 09:34:55 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15T7QR8d006831; Tue, 29 Jun 2021 00:34:51 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=AVe2N2puy1qtKRWeb8NilYdeD6UPD1X3Vi+sGgdG9hA=; b=eCxz4LfbGh5YVybl91HhUQ94GPt5dG7RTJ//r03rJDTgL6jjqZoclErPzHFNUESCQLi/ PU1Qz0PWjtTSuLpSoP8wvqfakPrDVh2kTQCzD1vspIsEVg3b27OkImy02J/4yS7R4tRN Emc2SIQ3URM0P2sIK8YQILM1LExvlAERZR4GNSzPm8WNSmX7Q83ilz6Hf4Dd9CAB7IZm p26RP+oBkuqhyMgYDTPA0wpT5NL0Lzba1yliCqC/tz0l6zKQYU6gZIupnCaaAoti0A7f 6aw3SySwJpQSwXiG6GOL9aGUdMStsKtVeNKfHIL3JAUGxDC+otlB7X2yThVUyEQTOehB /w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 39fuw50s42-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 29 Jun 2021 00:34:51 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 29 Jun 2021 00:34:50 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 29 Jun 2021 00:34:50 -0700 Received: from HY-LT1002.marvell.com (HY-LT1002.marvell.com [10.28.176.218]) by maili.marvell.com (Postfix) with ESMTP id 69EBC5B6926; Tue, 29 Jun 2021 00:34:47 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Thomas Monjalon CC: Anoob Joseph , Jerin Jacob , "Ankur Dwivedi" , Tejasree Kondoj , Date: Tue, 29 Jun 2021 13:04:28 +0530 Message-ID: <1624952076-30928-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1624601708-29991-1-git-send-email-anoobj@marvell.com> References: <1624601708-29991-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 4W8DLswnOtOv0AUrEYJBdT-pkniNfokP X-Proofpoint-GUID: 4W8DLswnOtOv0AUrEYJBdT-pkniNfokP X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-29_02:2021-06-25, 2021-06-29 signatures=0 Subject: [dpdk-dev] [PATCH v3 0/8] Add lookaside IPsec and asymmetric in cnxk crypto PMDs 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 Sender: "dev" Add rte_security (lookaside protocol - IPsec) support in crypto_cn10k. IPsec operations can be offloaded to CPT's SE and IE engines, which can process IPsec protcol operations including atomic sequence number increment (for outbound operations) and anti replay window check (for inbound operations). Add support for asymmetric operations in crypto cnxk PMDs. Following operations are supported, - RSA - DSA - ECDSA - ECPM - Modular Exponentation Anoob Joseph (2): crypto/cnxk: add security capabilities crypto/cnxk: add asymmetric capabilities Kiran Kumar K (3): crypto/cnxk: add asymmetric session ops crypto/cnxk: add asymmetric datapath ops test/crypto: add cnxk for asymmetric cases Srujana Challa (1): crypto/cnxk: add security ctx skeleton Tejasree Kondoj (2): crypto/cnxk: add security session ops crypto/cnxk: add security handling in datapath ops Changes in v3: - Rebased on dpdk-next-crypto ToT - Merged asymmetric & lookaside IPsec series Changes in v2: - Added documentation - Added asymmetric capabilities as separate patch app/test/test_cryptodev_asym.c | 30 + doc/guides/cryptodevs/cnxk.rst | 47 ++ doc/guides/cryptodevs/features/cn10k.ini | 14 + doc/guides/cryptodevs/features/cn9k.ini | 13 + doc/guides/rel_notes/release_21_08.rst | 4 + drivers/crypto/cnxk/cn10k_cryptodev.c | 14 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 111 ++- drivers/crypto/cnxk/cn10k_ipsec.c | 275 +++++++ drivers/crypto/cnxk/cn10k_ipsec.h | 36 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 74 ++ drivers/crypto/cnxk/cn9k_cryptodev.c | 4 +- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 35 +- drivers/crypto/cnxk/cnxk_ae.h | 836 ++++++++++++++++++++++ drivers/crypto/cnxk/cnxk_cryptodev.h | 8 +- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 170 +++++ drivers/crypto/cnxk/cnxk_cryptodev_capabilities.h | 9 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 106 +++ drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 8 + drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 48 ++ drivers/crypto/cnxk/cnxk_cryptodev_sec.h | 14 + drivers/crypto/cnxk/cnxk_ipsec.h | 20 + drivers/crypto/cnxk/meson.build | 6 +- 22 files changed, 1869 insertions(+), 13 deletions(-) create mode 100644 drivers/crypto/cnxk/cn10k_ipsec.c create mode 100644 drivers/crypto/cnxk/cn10k_ipsec.h create mode 100644 drivers/crypto/cnxk/cn10k_ipsec_la_ops.h create mode 100644 drivers/crypto/cnxk/cnxk_ae.h create mode 100644 drivers/crypto/cnxk/cnxk_cryptodev_sec.c create mode 100644 drivers/crypto/cnxk/cnxk_cryptodev_sec.h create mode 100644 drivers/crypto/cnxk/cnxk_ipsec.h -- 2.7.4