[v3,0/5] regex/cn9k: use cnxk infrastructure
Message ID | 20211129194736.14518-2-lironh@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 85DD4A0C5A; Mon, 29 Nov 2021 20:47:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FEB540689; Mon, 29 Nov 2021 20:47:47 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 12BFA40040 for <dev@dpdk.org>; Mon, 29 Nov 2021 20:47:45 +0100 (CET) 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 ESMTP id 1ATF6ITg003861 for <dev@dpdk.org>; Mon, 29 Nov 2021 11:47:45 -0800 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=FIMv9Isd62QdsrIL/nDD24JzhoVqsh1ghK9x5LeEhWM=; b=PYjSf/v+Hw8yrCEqoVCcnEKG1R4ohTchPTTQbjgpa3Av1EALI4f4USzrimrAocLHBQnD fbiIMcADBBaPFn+Efeh1yt/YvmgViz7Kbecy7p7pUnS4wGY3jjPJNrzHgUQp4/Pe9uLr atsZjIg4TNyEzLAjeIuj6EjLw/jpnWqMeBdIfgiBcyXQkXhGB96/iqhxVmjf/IFD6cHq Uxv7X7yPBPFZpvgxZ6z6cRjIHIFiH46/tdQW4YSPVi9qQz8kgrPqW4eE8EPW1gXFXdfg poJ2641DyC4qxjFTfJjDa373rzVEjanbPF+vo/oPx2YR2/13zLrtDh9VuUMfPzFwkzwc Eg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cmtkpju6e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Mon, 29 Nov 2021 11:47:45 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 29 Nov 2021 11:47:43 -0800 Received: from pt-lxl0023.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; Mon, 29 Nov 2021 11:47:42 -0800 From: <lironh@marvell.com> To: <jerinj@marvell.com> CC: <dev@dpdk.org>, Liron Himi <lironh@marvell.com> Subject: [PATCH v3 0/5] regex/cn9k: use cnxk infrastructure Date: Mon, 29 Nov 2021 21:47:31 +0200 Message-ID: <20211129194736.14518-2-lironh@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211129194736.14518-1-lironh@marvell.com> References: <20211123191348.31239-1-lironh@marvell.com> <20211129194736.14518-1-lironh@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: VX_hyJyFg2gL_qKhLA5G7KFeUnZChQH_ X-Proofpoint-ORIG-GUID: VX_hyJyFg2gL_qKhLA5G7KFeUnZChQH_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-29_11,2021-11-28_01,2020-04-07_01 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 |
Message
Liron Himi
Nov. 29, 2021, 7:47 p.m. UTC
From: Liron Himi <lironh@marvell.com>
4 patches add support for REE into cnkx infrastructure.
the last patch change the octeontx2 driver to use
the new cnxk code. in addition all references to
octeontx2/otx2 were replaced with cn9k.
v3:
- fix documentation issues
v2:
- fix review comments.
- split original patch.
- add the driver patch.
Liron Himi (5):
common/cnxk: add REE HW definitions
common/cnxk: add REE mbox definitions
common/cnxk: add REE support
common/cnxk: link REE support to ROC files
regex/cn9k: use cnxk infrastructure
MAINTAINERS | 8 +-
doc/guides/platform/cnxk.rst | 3 +
doc/guides/platform/octeontx2.rst | 3 -
.../regexdevs/{octeontx2.rst => cn9k.rst} | 20 +-
.../features/{octeontx2.ini => cn9k.ini} | 2 +-
doc/guides/regexdevs/index.rst | 2 +-
doc/guides/rel_notes/release_20_11.rst | 2 +-
drivers/common/cnxk/hw/ree.h | 126 ++++
drivers/common/cnxk/hw/rvu.h | 5 +
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 4 +
drivers/common/cnxk/roc_constants.h | 2 +
drivers/common/cnxk/roc_mbox.h | 100 +++
drivers/common/cnxk/roc_platform.c | 1 +
drivers/common/cnxk/roc_platform.h | 2 +
drivers/common/cnxk/roc_priv.h | 3 +
drivers/common/cnxk/roc_ree.c | 647 ++++++++++++++++++
drivers/common/cnxk/roc_ree.h | 137 ++++
drivers/common/cnxk/roc_ree_priv.h | 18 +
drivers/common/cnxk/version.map | 18 +-
.../otx2_regexdev.c => cn9k/cn9k_regexdev.c} | 405 +++++------
drivers/regex/cn9k/cn9k_regexdev.h | 44 ++
.../cn9k_regexdev_compiler.c} | 34 +-
drivers/regex/cn9k/cn9k_regexdev_compiler.h | 11 +
drivers/regex/{octeontx2 => cn9k}/meson.build | 10 +-
drivers/regex/{octeontx2 => cn9k}/version.map | 0
drivers/regex/meson.build | 2 +-
drivers/regex/octeontx2/otx2_regexdev.h | 109 ---
.../regex/octeontx2/otx2_regexdev_compiler.h | 11 -
.../regex/octeontx2/otx2_regexdev_hw_access.c | 167 -----
.../regex/octeontx2/otx2_regexdev_hw_access.h | 202 ------
drivers/regex/octeontx2/otx2_regexdev_mbox.c | 401 -----------
drivers/regex/octeontx2/otx2_regexdev_mbox.h | 38 -
33 files changed, 1332 insertions(+), 1206 deletions(-)
rename doc/guides/regexdevs/{octeontx2.rst => cn9k.rst} (69%)
rename doc/guides/regexdevs/features/{octeontx2.ini => cn9k.ini} (80%)
create mode 100644 drivers/common/cnxk/hw/ree.h
create mode 100644 drivers/common/cnxk/roc_ree.c
create mode 100644 drivers/common/cnxk/roc_ree.h
create mode 100644 drivers/common/cnxk/roc_ree_priv.h
rename drivers/regex/{octeontx2/otx2_regexdev.c => cn9k/cn9k_regexdev.c} (61%)
create mode 100644 drivers/regex/cn9k/cn9k_regexdev.h
rename drivers/regex/{octeontx2/otx2_regexdev_compiler.c => cn9k/cn9k_regexdev_compiler.c} (86%)
create mode 100644 drivers/regex/cn9k/cn9k_regexdev_compiler.h
rename drivers/regex/{octeontx2 => cn9k}/meson.build (65%)
rename drivers/regex/{octeontx2 => cn9k}/version.map (100%)
delete mode 100644 drivers/regex/octeontx2/otx2_regexdev.h
delete mode 100644 drivers/regex/octeontx2/otx2_regexdev_compiler.h
delete mode 100644 drivers/regex/octeontx2/otx2_regexdev_hw_access.c
delete mode 100644 drivers/regex/octeontx2/otx2_regexdev_hw_access.h
delete mode 100644 drivers/regex/octeontx2/otx2_regexdev_mbox.c
delete mode 100644 drivers/regex/octeontx2/otx2_regexdev_mbox.h