[v3,0/8] Crypto adapter support for Marvell CNXK driver
Message ID | cover.1630593512.git.sthotton@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7B43A0C4C; Thu, 2 Sep 2021 16:42:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 739954003E; Thu, 2 Sep 2021 16:42:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B8B8D4003C for <dev@dpdk.org>; Thu, 2 Sep 2021 16:42:10 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18281Esx011520 for <dev@dpdk.org>; Thu, 2 Sep 2021 07:42:09 -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=abpylFoJim9x7AXGLpmDaOJJs/rd0PHQRcWyTqhcvsY=; b=RZr9u/372SnBnumzHgrX7g78AvaKHJMHvy6+HAFLMU14pdNwnhqMtxfTIbkZ2r5pepED SgWiOIL/JsiIiYGgBq8L2CCxlCzPaqRZmPD6tY2KfZ3pkBdcKL08+grmnTuz4zI/dmCd dleZ7wMY8ireVGIKn9Bqz4l/jXB5fTjZ52dBh9zSmob4z/yuBbkl863rX5qefGxdQKVC B3Bl2oTYUbLnl9zr+F+c4oW261kLB2sKn6mfrB+vHAcmEpwpp8P5zaO8tvnPxYXaKM/O YqBpvFxMxZ3tZpV0eJurBru6j2GTJJZtMATRGU/y+LYu/C+iB/iZA4zopNyl6VpVTujG Zw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3attqmhc2e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Thu, 02 Sep 2021 07:42:09 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 2 Sep 2021 07:42:07 -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.18 via Frontend Transport; Thu, 2 Sep 2021 07:42:07 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id CAD6A5B692A; Thu, 2 Sep 2021 07:42:05 -0700 (PDT) From: Shijith Thotton <sthotton@marvell.com> To: <dev@dpdk.org> CC: Shijith Thotton <sthotton@marvell.com>, <jerinj@marvell.com>, <ndabilpuram@marvell.com>, <anoobj@marvell.com>, <pbhagavatula@marvell.com>, <gakhil@marvell.com> Date: Thu, 2 Sep 2021 20:11:48 +0530 Message-ID: <cover.1630593512.git.sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1630584303.git.sthotton@marvell.com> References: <cover.1630584303.git.sthotton@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: ZLcgcTezrk4KhkmDg9_O4R_3YEIeHUHa X-Proofpoint-ORIG-GUID: ZLcgcTezrk4KhkmDg9_O4R_3YEIeHUHa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-02_04,2021-09-02_03,2020-04-07_01 Subject: [dpdk-dev] [PATCH v3 0/8] Crypto adapter support for Marvell CNXK driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Shijith Thotton
Sept. 2, 2021, 2:41 p.m. UTC
First three patches are to support crypto adapter implementation and the remaining patches add event crypto adapter OP_FORWARD mode support on Marvell CN9K and CN10K SOC. v3: * Fixed checkpatch errors. v2: * Fixed checkpatch errors. Shijith Thotton (8): net/cnxk: add flag to show CPT can enqueue events event/cnxk: add macro to set eventdev ops common/cnxk: add API to check CPT IQ is full drivers: add cnxk crypto adapter eventdev ops crypto/cnxk: add cn9k crypto adapter fast path ops event/cnxk: add cn9k crypto adapter fast path ops crypto/cnxk: add cn10k crypto adapter fast path ops event/cnxk: add cn10k crypto adapter fast path ops doc/guides/rel_notes/release_21_11.rst | 3 + drivers/common/cnxk/roc_cpt.c | 6 +- drivers/common/cnxk/roc_cpt.h | 11 + drivers/common/cnxk/roc_cpt_priv.h | 6 - drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 95 +++++ drivers/crypto/cnxk/cn10k_cryptodev_ops.h | 6 + drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 235 +++++++---- drivers/crypto/cnxk/cn9k_cryptodev_ops.h | 6 + drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 37 ++ drivers/crypto/cnxk/meson.build | 2 +- drivers/crypto/cnxk/version.map | 7 + drivers/event/cnxk/cn10k_eventdev.c | 223 +++++----- drivers/event/cnxk/cn10k_worker.c | 11 + drivers/event/cnxk/cn10k_worker.h | 21 +- drivers/event/cnxk/cn10k_worker_deq_ca.c | 65 +++ drivers/event/cnxk/cn9k_eventdev.c | 405 +++++++++---------- drivers/event/cnxk/cn9k_worker.c | 22 + drivers/event/cnxk/cn9k_worker.h | 41 +- drivers/event/cnxk/cn9k_worker_deq_ca.c | 65 +++ drivers/event/cnxk/cn9k_worker_dual_deq_ca.c | 75 ++++ drivers/event/cnxk/cnxk_eventdev.c | 94 +++++ drivers/event/cnxk/cnxk_eventdev.h | 18 + drivers/event/cnxk/meson.build | 5 +- drivers/net/cnxk/cn10k_rx.h | 5 +- drivers/net/cnxk/cn9k_rx.h | 3 +- 25 files changed, 1078 insertions(+), 389 deletions(-) create mode 100644 drivers/event/cnxk/cn10k_worker_deq_ca.c create mode 100644 drivers/event/cnxk/cn9k_worker_deq_ca.c create mode 100644 drivers/event/cnxk/cn9k_worker_dual_deq_ca.c