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 8E4ABA0C46; Tue, 31 Aug 2021 15:07:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DB2240141; Tue, 31 Aug 2021 15:07:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8CB7D4013F for ; Tue, 31 Aug 2021 15:07:32 +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 17VCMTUF016936 for ; Tue, 31 Aug 2021 06:07:31 -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=QEYa/L7IEeHwrSw4BtU1qaW7+n3u4wT94lqfbC4xKQQ=; b=FBISkOz15sDcwFTrVBRbXp7RZFXzzm8qBSUPrGXQzDyu6yXQiCgKZ6CmIGcgtb6NRlUk hwVhArsjCABcWUtbywtKMCHM0CSSjzNAT3U4nuw8o08pFMVZgNV3LPyC430DKELDRCQQ DGK5duuNnC6JqYJoTMrLErH1r0L7D78x7Z5pIlsA6iEIxnI18ZrMjsQkzL36O0cVobIV IkghiccWrtKfH+hEBL77p6HN0n0KPz/p3PTRfmDMHUkVsfscEFASeEaRuEwbQo1VQpnd DvPDhIONm1uMuHiX9UUgWQwEQSYtvEKPNtiU2R8UitXdYN78fcRp9U9Gp5K04KUXPcVy TQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3asdgxhund-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 31 Aug 2021 06:07:31 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 31 Aug 2021 06:07:29 -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; Tue, 31 Aug 2021 06:07:29 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 33C763F7083; Tue, 31 Aug 2021 06:07:26 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Archana Muniganti , Srujana Challa , "Nithin Dabilpuram" , Jerin Jacob , Date: Tue, 31 Aug 2021 19:31:19 +0530 Message-ID: <20210831140127.31775-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: b9v-btXvj6Gk-9CNiVL7MD5SFDpY1_Mg X-Proofpoint-GUID: b9v-btXvj6Gk-9CNiVL7MD5SFDpY1_Mg 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-08-31_05,2021-08-31_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 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. 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