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 A0703A0C4D; Wed, 1 Sep 2021 11:25:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B2F541120; Wed, 1 Sep 2021 11:25:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E18674111D for ; Wed, 1 Sep 2021 11:25:46 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18159puA026653 for ; Wed, 1 Sep 2021 02:25:46 -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=4u9gVDUd1AGqsvTnrhvOITxbg45EJCFc2R+eDuD06YU=; b=BqSsKbWLxv09+4p36Wn9BB0kw2kFe9+Y+GPf3NP2VdqgMXi4o28Xj8l7l94ddCVLLJjT VLDmwZJ33tdA4LFOxVqRgEfD80ijiisR5F7KR2RntLVuC1ztRN2hfuitZTo+gwhSF8tR R396vl+L2niR8aXYsNIYmkFGMaPc29/MyygxAniWdwc/QVTEEtl+q8AVnj/yR9MkVLI5 sfivrPOpPwIjrwmPhh3UM5AWhskzcoPuvL9kS1QUfEhQAX21MvYty03ppOfFmN/8lMi2 ZsNkGOA0GzWoTIO62V+cylOLnDDoL7bArmPdEJqfxKoeN886SX9v0xXBpitimz8iBrN4 dw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3at34prygn-7 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 01 Sep 2021 02:25:45 -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.18; Wed, 1 Sep 2021 02:25:26 -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.18 via Frontend Transport; Wed, 1 Sep 2021 02:25:26 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 23CD33F7088; Wed, 1 Sep 2021 02:25:23 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Archana Muniganti , Srujana Challa , "Nithin Dabilpuram" , Jerin Jacob , Date: Wed, 1 Sep 2021 15:49:22 +0530 Message-ID: <20210901101930.29333-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: r36oyaWwjhpB6ZzQKoOM59CJAnC1rQp3 X-Proofpoint-GUID: r36oyaWwjhpB6ZzQKoOM59CJAnC1rQp3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-01_03,2021-08-31_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v2 0/8] add lookaside IPsec additional features 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" This series adds cn10k lookaside IPsec AES-CBC-HMAC-SHA1, UDP encapsulation and transport mode support along with common cnxk pmd changes. The functionality has been tested with ipsec-secgw application running in lookaside protocol offload mode. v2: * Fixed release notes Archana Muniganti (2): crypto/cnxk: make IPsec verify functions common common/cnxk: make IPsec defines common Tejasree Kondoj (6): common/cnxk: add hash generation APIs crypto/cnxk: add lookaside IPsec AES-CBC-HMAC-SHA1 support crypto/cnxk: remove redundant code crypto/cnxk: use rlen from CPT result with lookaside crypto/cnxk: support cn10k transport mode crypto/cnxk: support UDP encap with lookaside IPsec doc/guides/cryptodevs/cnxk.rst | 3 + doc/guides/rel_notes/release_21_11.rst | 6 + drivers/common/cnxk/cnxk_security.c | 92 +++++- drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_api.h | 4 + drivers/common/cnxk/roc_hash.c | 275 ++++++++++++++++++ drivers/common/cnxk/roc_hash.h | 16 + drivers/common/cnxk/roc_ie.h | 33 ++- drivers/common/cnxk/roc_ie_on.h | 26 -- drivers/common/cnxk/roc_ie_ot.h | 26 -- drivers/common/cnxk/version.map | 3 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 44 +-- drivers/crypto/cnxk/cn10k_ipsec.c | 64 +--- drivers/crypto/cnxk/cn10k_ipsec.h | 6 +- drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 28 +- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 79 ++++- drivers/crypto/cnxk/cnxk_ipsec.h | 114 ++++++++ 18 files changed, 620 insertions(+), 202 deletions(-) create mode 100644 drivers/common/cnxk/roc_hash.c create mode 100644 drivers/common/cnxk/roc_hash.h -- 2.27.0