From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55182A3160 for ; Fri, 11 Oct 2019 15:02:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD7C91EAAA; Fri, 11 Oct 2019 15:02:06 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 550D41EAA6 for ; Fri, 11 Oct 2019 15:02:05 +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 x9BCxZIN012872; Fri, 11 Oct 2019 06:02:04 -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=tlC62POvZAFOSFICYzKWGjnM+Y0wSGqXSjGrC4JbAJM=; b=xtt/YfccnKQhz3+Tl8tsyibtnoykLY3l7joOVjLc/qhBgQNILlQSowt42NrifHaTkJy9 zACS99CeFYhDt6bhTTQmVP1NsIYkJ2BGsDj2RrdFGcpZeFf3MAhzbRTWng0mdhgyrr32 y84LZmaX7WcrECJspqF0v8JF7w2d5JqGMHdtoAz8EambWvQZfXoZhirHQk1uvZOC1T8U qapOfR/TRNES/8C0yLGiCVfJcEml4BFR+M6OqGDzSe10m/DcYyNuTnronGamSg1X2UJi 0aPAYUfaZW4ZCyVvCxQIXRXenyeFwSd2dfeEj/SA8+GVWUWOELzpemBnwBcnJZtkpj2d Eg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2vjj6v1pm4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 11 Oct 2019 06:02:04 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 11 Oct 2019 06:02:03 -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; Fri, 11 Oct 2019 06:02:03 -0700 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id 74DBD3F7040; Fri, 11 Oct 2019 06:01:59 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Anoob Joseph , Jerin Jacob , Narayana Prasad , Kanaka Durga Kotamarthy , Sunila Sahu , Shally Verma , Fiona Trahe , Date: Fri, 11 Oct 2019 18:31:31 +0530 Message-ID: <1570798896-18974-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1568035687-25492-1-git-send-email-anoobj@marvell.com> References: <1568035687-25492-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-11_08:2019-10-10,2019-10-11 signatures=0 Subject: [dpdk-dev] [PATCH v2 0/5] add asym support in crypto_octeontx 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 adds asymmetric crypto support in 'crypto_octoentx' PMD. Changes in v2: * Squashed patches as directed by Akhil * Split the doc patch and added documentation along with feature * Added check for ASYM SESSIONLESS (not supported currently) * Made separate enqueue & dequeue routines for sym & asym * Minor updates to documentation Kanaka Durga Kotamarthy (3): crypto/octeontx: add device type mailbox routine crypto/octeontx: add asymmetric session operations common/cpt: add helper functions for asymmetric crypto Sunila Sahu (2): crypto/octeontx: add asymmetric enqueue/dequeue ops app/test: register octeontx PMD to asym testsuite app/test/test_cryptodev_asym.c | 31 ++ doc/guides/cryptodevs/features/octeontx.ini | 6 +- doc/guides/cryptodevs/octeontx.rst | 29 +- drivers/common/cpt/cpt_common.h | 4 +- drivers/common/cpt/cpt_mcode_defines.h | 29 ++ drivers/common/cpt/cpt_pmd_ops_helper.c | 15 + drivers/common/cpt/cpt_pmd_ops_helper.h | 9 + drivers/common/cpt/cpt_ucode_asym.h | 453 +++++++++++++++++++++ drivers/common/cpt/rte_common_cpt_version.map | 8 + .../crypto/octeontx/otx_cryptodev_capabilities.c | 47 ++- .../crypto/octeontx/otx_cryptodev_capabilities.h | 5 +- drivers/crypto/octeontx/otx_cryptodev_hw_access.c | 51 ++- drivers/crypto/octeontx/otx_cryptodev_mbox.c | 26 +- drivers/crypto/octeontx/otx_cryptodev_mbox.h | 20 + drivers/crypto/octeontx/otx_cryptodev_ops.c | 338 +++++++++++++-- drivers/crypto/octeontx/otx_cryptodev_ops.h | 2 + 16 files changed, 1016 insertions(+), 57 deletions(-) create mode 100644 drivers/common/cpt/cpt_ucode_asym.h -- 2.7.4