From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0089.outbound.protection.outlook.com [104.47.33.89]) by dpdk.org (Postfix) with ESMTP id 784123977 for ; Fri, 5 Oct 2018 15:00:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VEeqHHRJ7hrz/MOT0Hp12HxV3wP/BccA1V5ecfNA3IU=; b=MFJ8UP5q8h6yqi9yBQbGmOoiJ6I3FqO2JDZjwqvdioSZN2vAMpweTQDt91GaiVGFLKAIb3pDkw7lxVS9IcLOmmqyOxg7ch2TNq877A5Wb5YDtgf8BQU2K3SPSejoUq+K2WYUBjRjCJJnbW6bzmWAYhC2t2O4C5n9eH0aVq15M9U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.com (115.113.156.2) by SN6PR07MB4910.namprd07.prod.outlook.com (2603:10b6:805:39::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.21; Fri, 5 Oct 2018 13:00:04 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara , Thomas Monjalon Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , Ankur Dwivedi , Murthy NSSR , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian S , Tejasree Kondoj , dev@dpdk.org Date: Fri, 5 Oct 2018 18:28:51 +0530 Message-Id: <1538744363-30340-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com> References: <1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MA1PR0101CA0036.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::22) To SN6PR07MB4910.namprd07.prod.outlook.com (2603:10b6:805:39::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aaea745c-232e-4652-e749-08d62ac27a77 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB4910; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4910; 3:q9zv3OyLg5CaNuGWMC5P0pa8uYMyy7bljN/8hDqWHKzESv70aFWj/Q5jDJe0ZV1hX0HiUmTJx931LuOUqYqbPIqR32Y1MqxPN5b/L6adxvzMu0rLxuxBihFAVE/AwxOlt3UUzfpm7m4ttFQzkxKukmpxG9wx/diswF4oy/DGAbRGre/SmAVok9ESvuNpFkqye1M6EJaatfgv6jWV7ADN7WBYSJyF4E1AFXvrKPu5G8TY3iB2LlxDMEQ/IYIDAnhm; 25:zLZv6HmTlB5sQHn57FrJ+/0QoSbTQjeqp2HUvWYhf4icnWW0TJzFbWuVVzKh2hgjjgNSyXYcOukpsjXhDvNInm9npez4RArVzpYWAE1M2kiXhIhfNaNnsAfslorI0KVEpmlW0pOYQfdYp/UH0cA/+iPfwah7azEyz+x8Q4gXj+9neSoXsUly5i2wDlXVpuUTblCzJZjmNpw3pb1B3OHQNqbdU/qr/q83aS49+X3kt7+Ik9w3BhmgVd7s1wv1PjJIGu+B3wUhvDchVGMWdXUngrhWIAgKmnEB7jNsSeIFELd4aYvVT1YLKunn2Huuj8wPhD0T5Azqop3dX60/+c3tjw==; 31:PcL1UWjS2VzQwwTaxOCvhOrmPfG1L14KyJJrNTUiBcFDhPhw2YgHGQuFO8TV1dAiJtVJzn/lDDcqV9fhQIiSj3ntt6EixwhrR5t6Xqk5cC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1doBSvcwg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(149066)(150057)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:SN6PR07MB4910; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB4910; X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(346002)(136003)(396003)(366004)(199004)(189003)(51416003)(76176011)(11346002)(50226002)(25786009)(8936002)(48376002)(305945005)(186003)(16526019)(110136005)(6486002)(3846002)(446003)(52116002)(6116002)(81156014)(8676002)(97736004)(5660300001)(50466002)(4326008)(956004)(42882007)(2616005)(68736007)(478600001)(54906003)(7736002)(81166006)(6666003)(16586007)(26005)(55236004)(66066001)(386003)(47776003)(6512007)(72206003)(44832011)(476003)(316002)(14444005)(36756003)(105586002)(106356001)(486006)(6506007)(2906002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB4910; H:ajoseph83.caveonetworks.com.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR07MB4910; 23:JJXug6azk10XtALfULDqwRiu8LAOPIf8xQ25UWiYn?= =?us-ascii?Q?/o/W7T6L7FCPokGIebRZl56oXzZW9dbOcUHHcHx85fP2aJuVKilR64jnKnr2?= =?us-ascii?Q?0zuGqgOj4rMa8Ngbj29ujzOYFlE//SIE/+kCfffgDMYc1xesPEiy3M0hL8GD?= =?us-ascii?Q?y3xNxd9znlayw25/CJcuqr91sd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D+pHlLSdwbFyfXNZBzP57R2sW5r5HURxhwH5ttPdtepWxrcZmKTddNL9zcHFKHww==; 5:HnivsF8/xVjJHVKQON0qYOCIE7dOpy/ynx732NB2ETtbiqnfKCpg+uiXOGa97ua3azfvR0m51m2DgX+UfwxUECW3SPHO2fDHXR0hCTKqJ1uRHHsiapO1loBCigryQQlwWpsqHSB4gNXbqOqg+EO4L7bkWj2eenrfxMtoRbScmJg=; 7:8kCJ0I5nXIxbJFkEm+N4a65DzP5Vh2B3+YBkV4g2nEBkq0cxDreAyYs4+dwylBJnl1PXmGgvu1+mufeLb8gFMdXBcUJYA7+BSHOwTxWGIUtJWJ1Twzo4Tp6SsjD0lJ5wh6w4E9nNkBvlTWQbAVzyyU5zyUz6C3yAAXLxZb5OG7E0A/dB6A8eoL8TfCdos4+lxSJIQeC1Z+D33piVjLpdIVrfGbVyOzLJZ5JipIVsImpwLO4ThWtAbjlOcNpzqKhE SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2018 13:00:04.0070 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aaea745c-232e-4652-e749-08d62ac27a77 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4910 Subject: [dpdk-dev] [PATCH v3 00/32] Adding Cavium's OCTEONTX 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: , X-List-Received-Date: Fri, 05 Oct 2018 13:00:10 -0000 Ankur Dwivedi (5): common/cpt: add common logging support config: add Cavium OCTEONTX crypto PMD skeleton crypto/octeontx: add register addresses common/cpt: add common code for init routine test: adds validation test Anoob Joseph (5): crypto/octeontx: add hardware init routine common/cpt: add hardware register defines crypto/octeontx: add hardware register access for misc poll crypto/octeontx: adds symmetric capabilities doc: adds doc file Murthy NSSR (5): common/cpt: add PMD ops helper functions crypto/octeontx: add global resource init crypto/octeontx: add mailbox routines crypto/octeontx: add basic dev ops common/cpt: add common macros for queue pair ops Nithin Dabilpuram (5): crypto/octeontx: add queue pair functions common/cpt: add common code required for session management crypto/octeontx: add session management ops common/cpt: add common code for fill session data crypto/octeontx: add supported sessions Ragothaman Jayaraman (4): common/cpt: add common defines for microcode common/cpt: add microcode interface for encryption common/cpt: add microcode interface for decryption common/cpt: add crypo op enqueue request manager framework Srisivasubramanian S (4): common/cpt: add support for zuc and snow3g common/cpt: add support for kasumi common/cpt: add support for hash crypto/octeontx: add routines to prepare instructions Tejasree Kondoj (4): common/cpt: add common code for enqueuing cpt instruction crypto/octeontx: add enqueue burst op common/cpt: add common code for cpt dequeue crypto/octeontx: add dequeue burst op MAINTAINERS | 7 + config/common_base | 5 + doc/guides/cryptodevs/features/octeontx.ini | 62 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/octeontx.rst | 128 + drivers/common/Makefile | 4 + drivers/common/cpt/Makefile | 25 + drivers/common/cpt/cpt_common.h | 91 + drivers/common/cpt/cpt_hw_types.h | 522 +++ drivers/common/cpt/cpt_mcode_defines.h | 386 +++ drivers/common/cpt/cpt_pmd_logs.h | 50 + drivers/common/cpt/cpt_pmd_ops_helper.c | 41 + drivers/common/cpt/cpt_pmd_ops_helper.h | 34 + drivers/common/cpt/cpt_request_mgr.h | 185 + drivers/common/cpt/cpt_ucode.h | 3650 ++++++++++++++++++++ drivers/common/cpt/meson.build | 8 + drivers/common/cpt/rte_common_cpt_version.map | 6 + drivers/common/meson.build | 2 +- drivers/crypto/Makefile | 1 + drivers/crypto/meson.build | 2 +- drivers/crypto/octeontx/Makefile | 46 + drivers/crypto/octeontx/meson.build | 18 + drivers/crypto/octeontx/otx_cryptodev.c | 133 + drivers/crypto/octeontx/otx_cryptodev.h | 20 + .../crypto/octeontx/otx_cryptodev_capabilities.c | 604 ++++ .../crypto/octeontx/otx_cryptodev_capabilities.h | 17 + drivers/crypto/octeontx/otx_cryptodev_hw_access.c | 598 ++++ drivers/crypto/octeontx/otx_cryptodev_hw_access.h | 320 ++ drivers/crypto/octeontx/otx_cryptodev_mbox.c | 178 + drivers/crypto/octeontx/otx_cryptodev_mbox.h | 92 + drivers/crypto/octeontx/otx_cryptodev_ops.c | 531 +++ drivers/crypto/octeontx/otx_cryptodev_ops.h | 18 + .../octeontx/rte_pmd_octeontx_crypto_version.map | 4 + mk/rte.app.mk | 5 + test/test/meson.build | 1 + test/test/test_cryptodev.c | 316 ++ test/test/test_cryptodev.h | 1 + test/test/test_cryptodev_aes_test_vectors.h | 114 +- test/test/test_cryptodev_blockcipher.c | 9 +- test/test/test_cryptodev_blockcipher.h | 1 + test/test/test_cryptodev_des_test_vectors.h | 12 +- test/test/test_cryptodev_hash_test_vectors.h | 78 +- 42 files changed, 8255 insertions(+), 71 deletions(-) create mode 100644 doc/guides/cryptodevs/features/octeontx.ini create mode 100644 doc/guides/cryptodevs/octeontx.rst create mode 100644 drivers/common/cpt/Makefile create mode 100644 drivers/common/cpt/cpt_common.h create mode 100644 drivers/common/cpt/cpt_hw_types.h create mode 100644 drivers/common/cpt/cpt_mcode_defines.h create mode 100644 drivers/common/cpt/cpt_pmd_logs.h create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.c create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.h create mode 100644 drivers/common/cpt/cpt_request_mgr.h create mode 100644 drivers/common/cpt/cpt_ucode.h create mode 100644 drivers/common/cpt/meson.build create mode 100644 drivers/common/cpt/rte_common_cpt_version.map create mode 100644 drivers/crypto/octeontx/Makefile create mode 100644 drivers/crypto/octeontx/meson.build create mode 100644 drivers/crypto/octeontx/otx_cryptodev.c create mode 100644 drivers/crypto/octeontx/otx_cryptodev.h create mode 100644 drivers/crypto/octeontx/otx_cryptodev_capabilities.c create mode 100644 drivers/crypto/octeontx/otx_cryptodev_capabilities.h create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.c create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.h create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.c create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.h create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.c create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.h create mode 100644 drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map -- 2.7.4