From patchwork Fri Aug 30 06:28:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 58287 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 EA0A81E552; Fri, 30 Aug 2019 08:31:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 7D2F31BECA for ; Fri, 30 Aug 2019 08:31:47 +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 x7U6TcJQ024091; Thu, 29 Aug 2019 23:31: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=pfpt0818; bh=UIlOY1V8m0Qny1Inqe1SVhRe84pMEWqQ/YDDi3Vw8b8=; b=UQyY96iFzKuH+nJcrU6q4MBKNTPzJHMwBzVECCb7isuicguC2Qbtohhj3sTm9eQDy8TE +jTbFyznD9BYtZVotH52wsMsAUj7pelrcVJq/JYuuydAHKPHfth0VBxo7tQK4i/xoiSw C91vosGFW2EjKrpVaRU0gNxswwSNJeWQPOb9lePM/tJXABEtyd6UIq1uVzGmv0ov9wvc lVBVRxLXV74JSQU6Er5R56VRh8oK/YXo/qPcSMvyD2Ol1UHuw35ZlTGIKyh4tBviXU8N Hj2RbgrAf7F5EVGcx8fqTIid5pJNK7E5BE+6Hux80uPeYTyb9tK7Y/S++grrQgVh0xoD cA== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2upmepj3xq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 29 Aug 2019 23:31:46 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 29 Aug 2019 23:31:45 -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; Thu, 29 Aug 2019 23:31:45 -0700 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.56]) by maili.marvell.com (Postfix) with ESMTP id AE1143F703F; Thu, 29 Aug 2019 23:31:41 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Pablo de Lara , Thomas Monjalon CC: Anoob Joseph , Jerin Jacob , Narayana Prasad , Ankur Dwivedi , Tejasree Kondoj , Date: Fri, 30 Aug 2019 11:58:10 +0530 Message-ID: <1567146501-8224-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-08-30_02:2019-08-29,2019-08-30 signatures=0 Subject: [dpdk-dev] [PATCH 00/11] 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" This series introduces poll mode driver to enable crypto offload engine on Marvell OCTEON TX2 SoC. Ankur Dwivedi (5): crypto/octeontx2: add PMD skeleton crypto/octeontx2: add device control ops crypto/octeontx2: add hardware definitions crypto/octeontx2: add session related functions crypto/octeontx2: add dequeue burst Anoob Joseph (6): crypto/octeontx2: add device init sequence in probe crypto/octeontx2: add symmetric capabilities crypto/octeontx2: add queue pair functions crypto/octeontx2: add enqueue burst test: add OCTEON TX2 tests doc: add documentation for OCTEON TX2 crypto PMD 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 | 112 ++- 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 | 62 ++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/octeontx2.rst | 142 ++++ doc/guides/platform/octeontx2.rst | 3 + 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 | 4 +- drivers/crypto/octeontx2/Makefile | 50 ++ drivers/crypto/octeontx2/meson.build | 34 + drivers/crypto/octeontx2/otx2_cryptodev.c | 158 ++++ drivers/crypto/octeontx2/otx2_cryptodev.h | 39 + .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 604 +++++++++++++++ .../crypto/octeontx2/otx2_cryptodev_capabilities.h | 16 + .../crypto/octeontx2/otx2_cryptodev_hw_access.c | 225 ++++++ .../crypto/octeontx2/otx2_cryptodev_hw_access.h | 223 ++++++ drivers/crypto/octeontx2/otx2_cryptodev_mbox.c | 175 +++++ drivers/crypto/octeontx2/otx2_cryptodev_mbox.h | 25 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 839 +++++++++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 20 + .../octeontx2/rte_pmd_octeontx2_crypto_version.map | 4 + mk/rte.app.mk | 6 +- 33 files changed, 3164 insertions(+), 70 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