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 84905A04B6; Thu, 17 Sep 2020 07:17:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52EE81D172; Thu, 17 Sep 2020 07:17:15 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 421AF1D16C for ; Thu, 17 Sep 2020 07:17:14 +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 08H5D6OV000677; Wed, 16 Sep 2020 22:17:13 -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=pfpt0220; bh=4GujTYJQZl6iJfjw2gImSuXG0Mejx0QnV+48/O6WqPA=; b=QFhc3Q0tM8qo2vNiVGcXa9lHnHjnj/5Ay/wUYuEHITZ3nR5JofARMmtQdUxtDyMjFvDJ D6wS+HM0iGxSiTJIkDCfNLltbvhJYn66zCxriGweSBgL7mopgEvTb0hE9FI/7OmP6+ip elJ5lgOCiDODK3UuFdyC2AEFTO7GjphjqwN/42zYsF9kMbxjg+JKfQolNoBPZ0+CxGTT q6DgP6sfwnjchYqJ4uXUsGYlkIdORWi/23Ij7l0YrIVg9jNnup/lEGKgb3B+05dgkf4U mTgvDLOc/iAgrLfvXfrVvzZA4jt8YMT80aHVVUrHJCgqIS4zKIo6us/1WhFHUlB0jdJN 7Q== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 33k5p6dm2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 16 Sep 2020 22:17:13 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 16 Sep 2020 22:17:11 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 16 Sep 2020 22:17:12 -0700 Received: from hyd1349.t110.caveonetworks.com (unknown [10.29.45.13]) by maili.marvell.com (Postfix) with ESMTP id E3A583F703F; Wed, 16 Sep 2020 22:17:09 -0700 (PDT) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Date: Thu, 17 Sep 2020 10:46:35 +0530 Message-ID: <20200917051638.1904-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908100956.25868-1-adwivedi@marvell.com> References: <20200908100956.25868-1-adwivedi@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.235, 18.0.687 definitions=2020-09-17_02:2020-09-16, 2020-09-17 signatures=0 Subject: [dpdk-dev] [PATCH v2 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. v2: * In the "event/octeontx2: add crypto adapter datapath" patch, right shifting the req pointer by 3 bits before submit during enqueue. Because of this the right shift during dequeue is not required. 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