From patchwork Sun Oct 13 12:39:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 61014 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9199B1C1E0; Sun, 13 Oct 2019 14:40:30 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 612791C134 for ; Sun, 13 Oct 2019 14:40:28 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9DCeR81019699; Sun, 13 Oct 2019 05:40:27 -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=pfpt0818; bh=MTGzNluy0PkFBhHUB3/CWdDNzqjG5U9axhhIEn55sno=; b=CUok2lPdAHtYT2xx9WpYUBSJuiovKNqzq/U6IuqisWTqWOrL6+B3VzMRddrXBvk3dqjP nQnHchvE3xXriwwyVLtYXD81kUBU4dnJqe9dTcKjw6evm3In+ZbJiUx+jKimtAd6kjFD UBMkDoWayKeRLzo9DVNRRYNImGyui89Hgh8DLXBV1280mXkpGS3Z66DBC8d/T8uigq/I u/VRNEPMZNxq8kQ1mWd/8zJaZ2aLT4/aIPjvoIuBjSpCpy7Ub1UB1AkNj6h8IfHjNHX1 Ww0d5hU8wEf9vrTpJnhlIXAb2VjwnV7Dj37PJQxAAUlJVZLoe7y3lYBkFF3//5ak0+9k 0A== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2vkc6r3756-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 13 Oct 2019 05:40:27 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 13 Oct 2019 05:40:26 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sun, 13 Oct 2019 05:40:25 -0700 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id C7E913F7041; Sun, 13 Oct 2019 05:40:21 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Anoob Joseph , Fiona Trahe , Jerin Jacob , Narayana Prasad , Shally Verma , Ankur Dwivedi , Kanaka Durga Kotamarthy , Sunila Sahu , Tejasree Kondoj , Date: Sun, 13 Oct 2019 18:09:50 +0530 Message-ID: <1570970402-20278-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1567146501-8224-1-git-send-email-anoobj@marvell.com> References: <1567146501-8224-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-13_06:2019-10-10,2019-10-13 signatures=0 Subject: [dpdk-dev] [PATCH v2 00/12] add OCTEON TX2 crypto PMD 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" The series introduces poll mode driver to enable crypto offload engine on Marvell OCTEON TX2 SoC. Changes in v2: * Merged series adding sym features and asym features into one. * Squashed patches as directed by Akhil. * Added check for ASYM SESSIONLESS (not supported currently) * Minor updates to documentation Ankur Dwivedi (3): crypto/octeontx2: add device control ops crypto/octeontx2: add queue pair functions crypto/octeontx2: add session related functions Anoob Joseph (5): crypto/octeontx2: add PMD skeleton crypto/octeontx2: add device init sequence in probe crypto/octeontx2: add symmetric capabilities crypto/octeontx2: add enqueue/dequeue ops test: add OCTEON TX2 tests Kanaka Durga Kotamarthy (2): crypto/octeontx2: allocate memory for asymmetric operation crypto/octeontx2: add asymmetric session operations Sunila Sahu (2): crypto/octeontx2: add asymmetric in enqueue/dequeue ops app/test: register octeontx2 PMD to asym testsuite MAINTAINERS | 7 + app/test/meson.build | 1 + app/test/test_cryptodev.c | 323 ++++++ app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_aes_test_vectors.h | 114 +- app/test/test_cryptodev_asym.c | 20 + app/test/test_cryptodev_blockcipher.c | 7 + app/test/test_cryptodev_blockcipher.h | 1 + app/test/test_cryptodev_des_test_vectors.h | 12 +- app/test/test_cryptodev_hash_test_vectors.h | 75 +- config/common_base | 5 + doc/guides/cryptodevs/features/octeontx2.ini | 71 ++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/octeontx2.rst | 159 +++ doc/guides/platform/octeontx2.rst | 3 + doc/guides/rel_notes/release_19_11.rst | 6 + drivers/common/Makefile | 5 +- drivers/common/cpt/cpt_hw_types.h | 52 + drivers/common/cpt/cpt_mcode_defines.h | 2 + drivers/crypto/Makefile | 1 + drivers/crypto/meson.build | 21 +- drivers/crypto/octeontx2/Makefile | 50 + drivers/crypto/octeontx2/meson.build | 34 + drivers/crypto/octeontx2/otx2_cryptodev.c | 157 +++ drivers/crypto/octeontx2/otx2_cryptodev.h | 43 + .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 639 ++++++++++++ .../crypto/octeontx2/otx2_cryptodev_capabilities.h | 16 + .../crypto/octeontx2/otx2_cryptodev_hw_access.c | 225 ++++ .../crypto/octeontx2/otx2_cryptodev_hw_access.h | 169 +++ drivers/crypto/octeontx2/otx2_cryptodev_mbox.c | 175 ++++ drivers/crypto/octeontx2/otx2_cryptodev_mbox.h | 25 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 1100 ++++++++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 21 + .../octeontx2/rte_pmd_octeontx2_crypto_version.map | 4 + mk/rte.app.mk | 6 +- 35 files changed, 3479 insertions(+), 72 deletions(-) create mode 100644 doc/guides/cryptodevs/features/octeontx2.ini create mode 100644 doc/guides/cryptodevs/octeontx2.rst create mode 100644 drivers/crypto/octeontx2/Makefile create mode 100644 drivers/crypto/octeontx2/meson.build create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.h create mode 100644 drivers/crypto/octeontx2/rte_pmd_octeontx2_crypto_version.map