From patchwork Thu Jul 16 08:39:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 74180 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C583CA0546; Thu, 16 Jul 2020 09:45:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A614F1BE98; Thu, 16 Jul 2020 09:45:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id C28D34F9A for ; Thu, 16 Jul 2020 09:45:10 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06G7Ykg5004597; Thu, 16 Jul 2020 00:45:10 -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=pfpt0818; bh=xwARguumHv7A9U51h4cYUpEx1lnQCYWSePOdCettNLU=; b=wU1Z4RIJaV1jObSOHHOabfWr1RGd7NMNBYZQHp30PgBmtmLcATNe3LN5FpjJ8eOttXNX cAsQfSdDAQ6QWwYB69uQLWANaW4QzA0setGlICoHPLBONAXBTA8BjKo6ZxxstYD6hqq4 Nab9XyfB/jVjyen+Zye21cHRZxC+ItRLIxPHYJoHGb6SDS2l7DvBqgOa4ZwKcqv60s9o FW6BUc5g8t13eP42KxVPy7t2zxVaE6q8BJuXPHNQWsflTufyVkmxl47B6JXw4mzOgf0W yIyGFMEP08QcbuHd2NwotGK05tj4t1vjwJvS834/5nWoknDaBgXhJEB03Jb6fI2ZZdAE lA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 328mmhxm64-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 16 Jul 2020 00:45:10 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Jul 2020 00:45:08 -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; Thu, 16 Jul 2020 00:45:08 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 402843F703F; Thu, 16 Jul 2020 00:45:06 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal , Radu Nicolau CC: Tejasree Kondoj , Narayana Prasad , Anoob Joseph , Vamsi Attunuru , Date: Thu, 16 Jul 2020 14:09:23 +0530 Message-ID: <20200716083931.29092-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-16_04:2020-07-16, 2020-07-16 signatures=0 Subject: [dpdk-dev] [PATCH v3 0/8] add OCTEON TX2 lookaside IPsec support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 lookaside IPsec support in OCTEON TX2 PMD. Features supported: * IPv4 * ESP * Tunnel mode * AES-128/192/256-GCM v3: * Fixed PMD documentation and release notes updates * Squashed enqueue and dequeue patches * Removed unused code v2: * Updated PMD documentation and release notes * Moved capabilities initialization into probe * Added patch description to all patches * Renamed few structures and macros * Cosmetics and code style fixes Tejasree Kondoj (5): crypto/octeontx2: move capabilities initialization into probe net/octeontx2: move otx2_sec_session struct to otx2_security.h crypto/octeontx2: add lookaside SA context definitions crypto/octeontx2: add cryptodev sec registration crypto/octeontx2: add cryptodev sec capabilities Vamsi Attunuru (3): crypto/octeontx2: add cryptodev sec misc callbacks crypto/octeontx2: add cryptodev sec session create crypto/octeontx2: add cryptodev sec enqueue and dequeue routines doc/guides/cryptodevs/features/octeontx2.ini | 1 + doc/guides/cryptodevs/octeontx2.rst | 21 + doc/guides/rel_notes/release_20_08.rst | 5 + drivers/crypto/octeontx2/Makefile | 1 + drivers/crypto/octeontx2/meson.build | 3 +- drivers/crypto/octeontx2/otx2_cryptodev.c | 15 +- drivers/crypto/octeontx2/otx2_cryptodev.h | 8 + .../octeontx2/otx2_cryptodev_capabilities.c | 110 +++- .../octeontx2/otx2_cryptodev_capabilities.h | 21 +- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 75 ++- drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 540 ++++++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_sec.h | 64 +++ drivers/crypto/octeontx2/otx2_ipsec_po.h | 413 ++++++++++++++ drivers/crypto/octeontx2/otx2_ipsec_po_ops.h | 175 ++++++ drivers/crypto/octeontx2/otx2_security.h | 31 + drivers/net/octeontx2/otx2_ethdev_sec.c | 24 +- drivers/net/octeontx2/otx2_ethdev_sec.h | 11 +- drivers/net/octeontx2/otx2_ethdev_sec_tx.h | 1 + 18 files changed, 1485 insertions(+), 34 deletions(-) create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_sec.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_sec.h create mode 100644 drivers/crypto/octeontx2/otx2_ipsec_po.h create mode 100644 drivers/crypto/octeontx2/otx2_ipsec_po_ops.h create mode 100644 drivers/crypto/octeontx2/otx2_security.h