[v3,00/11] add OCTEON TX2 crypto PMD
Message ID | 1571239544-13387-1-git-send-email-anoobj@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 88E931E976; Wed, 16 Oct 2019 17:27:18 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 29B301E96D for <dev@dpdk.org>; Wed, 16 Oct 2019 17:27:17 +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 x9GFPAZI029654; Wed, 16 Oct 2019 08:27:16 -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=acUR0UrEuW0cDKAB9gf78ejZX+6GMJHlHNTdqikTssY=; b=WwRq9/OOliO+Bkds3sz4uHdyRuj1uFZ3y1QxZV9rwleEUzOoj2QvoiUcUc80dnBTEFJC SU3ZhmVuKSMWRhKe5xuV4pSjDYEcbsW3OIGGN/KB9CpOOExJgsvbPFDcCtUvgIkylE9f 3BbqrTTiExT1XXcq0G5wkaX6YQr6aBPcu7dMtNKPaJ/sQKxcEkLIM0JaWMs8Hj+PtbSr RazsRVY691S4FS+PTQwABL0clw4SaLuKeYdWtZtK4HfnX25SS05w+FMuc9K1VfiNTst2 j5qBTLN1tnh44Q/cUXvby4JeZRVaaAuCHNeLX1qJvOa/fBJR4vBE0yDyowX6mlCX0HEs dQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2vkebp7594-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 16 Oct 2019 08:27:16 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 16 Oct 2019 08:27:14 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 16 Oct 2019 08:27:14 -0700 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id 273C03F7040; Wed, 16 Oct 2019 08:27:09 -0700 (PDT) From: Anoob Joseph <anoobj@marvell.com> To: Akhil Goyal <akhil.goyal@nxp.com>, Pablo de Lara <pablo.de.lara.guarch@intel.com> CC: Anoob Joseph <anoobj@marvell.com>, Fiona Trahe <fiona.trahe@intel.com>, Jerin Jacob <jerinj@marvell.com>, Narayana Prasad <pathreya@marvell.com>, Shally Verma <shallyv@marvell.com>, Ankur Dwivedi <adwivedi@marvell.com>, Kanaka Durga Kotamarthy <kkotamarthy@marvell.com>, Sunila Sahu <ssahu@marvell.com>, Tejasree Kondoj <ktejasree@marvell.com>, <dev@dpdk.org> Date: Wed, 16 Oct 2019 20:55:33 +0530 Message-ID: <1571239544-13387-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570970402-20278-1-git-send-email-anoobj@marvell.com> References: <1570970402-20278-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-16_06:2019-10-16,2019-10-16 signatures=0 Subject: [dpdk-dev] [PATCH v3 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Anoob Joseph
Oct. 16, 2019, 3:25 p.m. UTC
The series introduces poll mode driver to enable crypto offload engine on Marvell OCTEON TX2 SoC. Changes in v3: * Rebased on tip of dpdk-next-crypto("36112de91a44") * Updated version map to use right DPDK version * Added sanity checks in dev_close() routine. 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 (1): 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 | 1106 ++++++++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 21 + .../octeontx2/rte_pmd_octeontx2_crypto_version.map | 4 + mk/rte.app.mk | 6 +- 35 files changed, 3485 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