From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 697B0A0C41; Tue, 23 Nov 2021 20:14:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 789ED41156; Tue, 23 Nov 2021 20:14:07 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 38B3C40040 for ; Tue, 23 Nov 2021 20:14:05 +0100 (CET) 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 ESMTP id 1ANGZwle009919 for ; Tue, 23 Nov 2021 11:14:02 -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=VrHDSpqRxoBlGTTssUm38LuL61QLvH4M6MdMvdPyVIA=; b=ZZMmPperpl+IVtlLayYMXZgLHtTRH92BXQcQ7LMSXJAB5wwiAzTY2kZzqMz2K6/qN4nR m4BmWxtlYWlWhEvU1r3HEkiW9r9gTUxRi8fyGWF5FBu1lhVn8YNJIe3Ebh/eFelEZj4f zG43eKnSm6btA1uHr7Tgaf2PHP3sdSRN1iOpRAnQjqyWhC/PFBSj2TP+WouiUMZZsDwI uizFMQKZNm9udeSmqG0YsT5E9jEf0EdugFe/Hz61ouG/7KxbpdNisobXG+gMWLcIybxU 4WsP252TmE/rd+Sj4WRSeESHKDMskbyvt0Nkz9bsShqmx964ninj6AxlDFNkfKrHQJQf XA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumjb5pc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 23 Nov 2021 11:14:02 -0800 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.2; Tue, 23 Nov 2021 11:14:00 -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; Tue, 23 Nov 2021 11:13:59 -0800 From: To: CC: , Liron Himi Subject: [PATCH v2 0/5] regex/cn9k: use cnxk infrastructure Date: Tue, 23 Nov 2021 21:13:43 +0200 Message-ID: <20211123191348.31239-1-lironh@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211003062309.20486-1-lironh@marvell.com> References: <20211003062309.20486-1-lironh@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: ShXF6WCVjP74ek4m_LvepDVkfFB3uzZF X-Proofpoint-ORIG-GUID: ShXF6WCVjP74ek4m_LvepDVkfFB3uzZF 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-23_06,2021-11-23_01,2020-04-07_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Liron Himi 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. 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 + .../regexdevs/{octeontx2.rst => cn9k.rst} | 20 +- .../features/{octeontx2.ini => cn9k.ini} | 2 +- doc/guides/regexdevs/index.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 - 31 files changed, 1331 insertions(+), 1202 deletions(-) rename doc/guides/regexdevs/{octeontx2.rst => cn9k.rst} (68%) 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 -- 2.28.0