From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anoob Joseph Subject: [PATCH v4 00/23] Adding Cavium's OCTEON TX crypto PMD Date: Tue, 9 Oct 2018 14:37:33 +0530 Message-ID: <1539076076-19786-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1538744363-30340-1-git-send-email-anoob.joseph@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , Ankur Dwivedi , Murthy NSSR , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian S , Tejasree Kondoj , dev@dpdk.org To: Akhil Goyal , Pablo de Lara , Thomas Monjalon Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0073.outbound.protection.outlook.com [104.47.41.73]) by dpdk.org (Postfix) with ESMTP id 74D4B1B0F7 for ; Tue, 9 Oct 2018 11:08:39 +0200 (CEST) In-Reply-To: <1538744363-30340-1-git-send-email-anoob.joseph@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v4: * Marged the following v3 patches (Akhil & Thomas), - 01/32 & 02/32 - 03/32, 04/32 & 05/32 - 06/32 & 07/32 - 13/32 & 14/32 - 15/32 & 16/32 - 17/32 & 18/32 - 27/32 & 28/32 - 29/32 & 30/32 * Replaced usages OCTEONTX with OCTEON TX (Thomas & Jerin) * Fixed commit logs in v3 02/32 (Thomas) * Replaced references to cpt with octeontx in v3 31/32 (Akhil) * Fixed commit logs in v3 31/32 (Akhil) v3: * Merged v2-0001* & v2-0003* patch (Akhil) * Replaced macro used in capabilities with array and function to return it (Thomas) * Consistent comments in the code base (Akhil) * Added missing comments for members of structure (Akhil) * Added missing feature flags for scatter-gather (Akhil) * Added validation tests for testing the newly introduced flags (Akhil) * Added missing flags etc in doc (Akhil) * Improvements in the function cpt_fc_ciph_set_key function (patch 0017) * Fixed typos (Akhil) * Other optimizations (removed non-critical members in structures accessed in data path etc) v2: * Moved common code identified for crypto devices of OCTEON TX family to common/cpt. * Divided the patches to make sure one feature gets added with one patch. * Addressed indentation issues. * Addressed comments from Jerin and Pablo. Ankur Dwivedi (4): crypto/octeontx: add hardware init routine crypto/octeontx: add hardware register access for misc poll crypto/octeontx: add symmetric capabilities test/crypto: add OCTEON TX unit tests Anoob Joseph (4): crypto/octeontx: add PMD skeleton common/cpt: add PMD ops helper functions crypto/octeontx: add global resource init doc: add documentation for OCTEON TX crypto Murthy NSSR (3): crypto/octeontx: add mailbox routines crypto/octeontx: add basic dev ops crypto/octeontx: add queue pair functions Nithin Dabilpuram (3): crypto/octeontx: add session management ops crypto/octeontx: add supported sessions common/cpt: add common defines for microcode Ragothaman Jayaraman (3): 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 (3): common/cpt: support zuc and snow3g common/cpt: support kasumi common/cpt: support hash Tejasree Kondoj (3): crypto/octeontx: add routines to prepare instructions crypto/octeontx: add enqueue burst op 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 | 3648 ++++++++++++++++++++ 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 | 318 ++ 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