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 87865A04AA; Tue, 8 Sep 2020 12:10:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1ABA1B9B7; Tue, 8 Sep 2020 12:10:28 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id DAC6F2BAB for ; Tue, 8 Sep 2020 12:10:26 +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 088A56CU020394; Tue, 8 Sep 2020 03:10:26 -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=pfpt0220; bh=hjbIZVokzIq2pPhHF90EgfhM19WlPTtS17rR36WaNeE=; b=dKO/6fiidhKK/rtc6aEf/45LSU5J/rzvqiLaNrzIljF7M2WIyMiP/iN8bVaBShzb09qK DTMlIFDK/d53yWbUIVL6lt3SvuD8Xdv95/Btgg080snmA6FmC4fU1MpfBokeVVqMokce T8rMpBuTYwuqpZb2FeJTAvOP/t9dnBt8ZNFfWj4AeR6q9LypXpjKVRMF3BQdewb9l/lq LdHdaEARPbr+Q1sAHiNipr85hAw10gxZtgM9YlLDATgo+4XJ7CBj/+b8Cp3A1mXZ7V9V 6ZQ/RsWs3XDk7dHA1jgsxRqDJD4dMg9xPaI4wFxFFRJDtG7PaHJMXWFGlvP/hn8GsF+U nA== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 33c81pu215-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 08 Sep 2020 03:10:26 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 8 Sep 2020 03:10:25 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 8 Sep 2020 03:10:25 -0700 Received: from hyd1349.t110.caveonetworks.com (unknown [10.29.45.13]) by maili.marvell.com (Postfix) with ESMTP id 39A123F7048; Tue, 8 Sep 2020 03:10:22 -0700 (PDT) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Date: Tue, 8 Sep 2020 15:39:53 +0530 Message-ID: <20200908100956.25868-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-08_05:2020-09-08, 2020-09-08 signatures=0 Subject: [dpdk-dev] [PATCH 0/3] event/octeontx2: add support for event crypto adapter 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 patch series adds support for event crypto adapter in op new mode in the OCTEON TX2 event PMD. The functionality has been verified with event crypto adapter test application. Build with meson and ninja is supported. Ankur Dwivedi (3): crypto/octeontx2: move functions to helper file event/octeontx2: add crypto adapter framework event/octeontx2: add crypto adapter datapath drivers/common/cpt/cpt_common.h | 1 + drivers/crypto/octeontx2/meson.build | 4 +- drivers/crypto/octeontx2/otx2_ca_helper.h | 75 +++++++++++++++ .../crypto/octeontx2/otx2_crypto_adapter.c | 77 +++++++++++++++ .../crypto/octeontx2/otx2_crypto_adapter.h | 21 ++++ .../octeontx2/otx2_cryptodev_hw_access.h | 12 +++ drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 96 ++++++++----------- .../octeontx2/otx2_cryptodev_ops_helper.h | 74 ++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 7 ++ .../rte_pmd_octeontx2_crypto_version.map | 11 +++ drivers/event/octeontx2/meson.build | 3 +- drivers/event/octeontx2/otx2_evdev.c | 5 + drivers/event/octeontx2/otx2_worker.h | 10 +- drivers/event/octeontx2/otx2_worker_dual.h | 11 ++- 14 files changed, 345 insertions(+), 62 deletions(-) create mode 100644 drivers/crypto/octeontx2/otx2_ca_helper.h create mode 100644 drivers/crypto/octeontx2/otx2_crypto_adapter.c create mode 100644 drivers/crypto/octeontx2/otx2_crypto_adapter.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops_helper.h -- 2.28.0