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 381EAA0093; Tue, 7 Dec 2021 19:31:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B37AA4114F; Tue, 7 Dec 2021 19:31:55 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 860654114A for ; Tue, 7 Dec 2021 19:31:54 +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 1B7ISc1N023717 for ; Tue, 7 Dec 2021 10:31:53 -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=OEboEBmYTnlskca2Mj5I1tmJJNQp/6gSKeE8Qmh93kc=; b=eO2nn9rk/BFpnS62CD2ghHHWGDwBS3WZ2viNKNuKy3IBTjYW6mCz28SXosEQS1N4ScvO CU4E24mzycOwYmhbfQTTSjMtKHfTUEfYf5UF5lVBoEn5MDUMpa5LpXNdO8Y2tIBDsCOf OvLNU4BPvNzHjxUXsenrj2V94mavCcJ3PXSwWfrt6LZaMJ4wMEQVm4zKs0SY68gXiG9r XzZry8nXFd3gZD3eYbWtRLYiY8MGoie0s2a+dnwvl/5EgOCsg/1pUwXA5zUZLS6uRPkN rUBUCPDNt1x4NoXOdlB7HCugujFt6GWk8CQs++tQ3OVMWO9neoiH0UOPht2wZDfGsRSX 6Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ct5hfj149-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 07 Dec 2021 10:31:53 -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; Tue, 7 Dec 2021 10:31:51 -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, 7 Dec 2021 10:31:50 -0800 From: To: CC: , Liron Himi Subject: [PATCH v4 0/4] regex/cn9k: use cnxk infrastructure Date: Tue, 7 Dec 2021 20:31:39 +0200 Message-ID: <20211207183143.27145-1-lironh@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211129194736.14518-3-lironh@marvell.com> References: <20211129194736.14518-3-lironh@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: EmOLfJ2BgUb1vTiHQYSQA2jPhgKd1tll X-Proofpoint-ORIG-GUID: EmOLfJ2BgUb1vTiHQYSQA2jPhgKd1tll X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2021-12-07_07,2021-12-06_02,2021-12-02_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 3 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. v4: - squashed the 4th patch v3: - fix documentation issues v2: - fix review comments. - split original patch. - add the driver patch. Liron Himi (4): common/cnxk: add REE HW definitions common/cnxk: add REE mbox definitions common/cnxk: add REE support 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 -- 2.28.0