[v2,0/8] Crypto adapter support for Marvell CNXK driver
Message ID | cover.1630584303.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 E8AC9A0C47; Thu, 2 Sep 2021 14:18:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A999F4003E; Thu, 2 Sep 2021 14:18:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0D6E34003C for <dev@dpdk.org>; Thu, 2 Sep 2021 14:18:30 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1825LH3I028347 for <dev@dpdk.org>; Thu, 2 Sep 2021 05:18:30 -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=1gu8gfFMhQvPfHvRbMJnw+zBE67/dSMIJ0l8iXzeFlY=; b=aF2bvdZ0tV0eYtpQ1TlTuSeMhq9I+lKR9klfCW/A0L4HW7dTseW5QsN5sLsOlhXOyeAt lDq+V7bjMOTyJn6pKMd3w8vDxX71lY9Fj9HL0OzicK77DugXyvK0A9yz/TE99YODOIEf iTN1XLCmQdrzwrNui0l/7jKWe6tOO0VKLk644F5xeSDpxYUJACR2Q02MnmrkZnz4HvqQ VcJ7/HKimNwJFYeLqrJ8kDdeMv+twIUTNY7Dj8lJHeQI2gkMupIFVM4Hh0z8f20FExzH uQbt5OmLGE7aXH2H14Ne+KZpCNZHRwoQCvRIG5LdaiSnHFwNbIj7zc/NyzYPj9fThC8e Iw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3atrd2hdtb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Thu, 02 Sep 2021 05:18:29 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 2 Sep 2021 05:18:28 -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.18 via Frontend Transport; Thu, 2 Sep 2021 05:18:28 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id BEA8A3F705E; Thu, 2 Sep 2021 05:18:25 -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 17:47:16 +0530 Message-ID: <cover.1630584303.git.sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1630315730.git.sthotton@marvell.com> References: <cover.1630315730.git.sthotton@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: DyQ2LwV9tr27mJq9QEqbEFNnzNebC_pZ X-Proofpoint-ORIG-GUID: DyQ2LwV9tr27mJq9QEqbEFNnzNebC_pZ 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_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v2 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, 12:17 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. 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 | 228 +++++++---- 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 | 410 +++++++++---------- 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, 1088 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