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 1E190A0524; Wed, 2 Jun 2021 19:11:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9210E4069F; Wed, 2 Jun 2021 19:11:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 979B840689 for ; Wed, 2 Jun 2021 19:11:41 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 152H6BtD025821; Wed, 2 Jun 2021 10:11:40 -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=r5/d99bD1h9anKx/+mkC99p5/ifluQLCkqaX+bPjjls=; b=ErmNRnKgVRsqQPKS5QZ2Ktmc2tAXo2tUC01GvfX4brJ0OuOvgpQ6g/FqWfqaISOBDNkD sgXIutaTMdfkj0hgAVxWkM8+KaqWrPI8wgk362W/BIBJmw7lWIKdSaHVfq9HwsTy0t2v jwLgGBk7/Y/QRFibs+8PADInMPQywDXpwbAqzwkAAgkAnnq35OMT7xmYJjsXH3NnX0V/ QMvLk+FMvaMVbuBmZLoafgKG0cZQniJLE4E6nLCEeizbF4pbLpZGqB40iGyroa5WFhSf kXVq8yVKSkHTyyS9NiSiwY1JbIKRCNTZTWuM2Si9tmiU3boJAmsiJ8/3IuDf6WxeOrtl aw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 38wufguuj5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 02 Jun 2021 10:11:40 -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.2; Wed, 2 Jun 2021 10:11:38 -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.2 via Frontend Transport; Wed, 2 Jun 2021 10:11:39 -0700 Received: from HY-LT1002.marvell.com (unknown [10.193.70.1]) by maili.marvell.com (Postfix) with ESMTP id 86FC73F703F; Wed, 2 Jun 2021 10:11:34 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Thomas Monjalon CC: Anoob Joseph , Jerin Jacob , "Ankur Dwivedi" , Tejasree Kondoj , Date: Wed, 2 Jun 2021 22:40:58 +0530 Message-ID: <1622653862-22830-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: LuNTZejBqdbuw5R8LgpyazUUsH5bbCM- X-Proofpoint-GUID: LuNTZejBqdbuw5R8LgpyazUUsH5bbCM- X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-02_09:2021-06-02, 2021-06-02 signatures=0 Subject: [dpdk-dev] [PATCH 0/4] Add rte_security in crypto_cn10k PMD 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). Depends-on: series-17212 ("Add CPT in Marvell CNXK common driver") Depends-on: series-17213 ("Add Marvell CNXK crypto PMDs") Anoob Joseph (1): crypto/cnxk: add security capabilities 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 drivers/crypto/cnxk/cn10k_cryptodev.c | 12 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 78 +++- drivers/crypto/cnxk/cn10k_ipsec.c | 520 ++++++++++++++++++++++ drivers/crypto/cnxk/cn10k_ipsec.h | 38 ++ drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 74 +++ drivers/crypto/cnxk/cnxk_cryptodev.h | 4 + drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 114 +++++ drivers/crypto/cnxk/cnxk_cryptodev_capabilities.h | 9 +- drivers/crypto/cnxk/cnxk_cryptodev_sec.c | 48 ++ drivers/crypto/cnxk/cnxk_cryptodev_sec.h | 14 + drivers/crypto/cnxk/cnxk_ipsec.h | 18 + drivers/crypto/cnxk/meson.build | 4 +- 12 files changed, 930 insertions(+), 3 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_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