From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 40B09A0C5A;
	Mon, 29 Nov 2021 20:49:22 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id E6C9240689;
	Mon, 29 Nov 2021 20:49:21 +0100 (CET)
Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com
 [67.231.148.174])
 by mails.dpdk.org (Postfix) with ESMTP id 4CEEF40040
 for <dev@dpdk.org>; Mon, 29 Nov 2021 20:49:20 +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 1ATG7Ns2025977
 for <dev@dpdk.org>; Mon, 29 Nov 2021 11:49:17 -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=K2wfTOUxkj5lQV1hMFudm6NmmWZ21DyRQR+nA9P2xY5FjiSmJwAF9OVsu4iaHqv1aYYW
 0pQcVj2Om/QFl2u7EYKZKljzSnA4yuTJcFyxly/RMUoBtPxNCmSI2TBgCj2XWMCgeQ3U
 0fytSypLky3NSpx9/9mB1TkefF32r6nE+F9tXtARyGYLJbJAKBXyyi8ueyy28nOsujje
 NnWnPkX4sNdu1/UGcmf1tq+Uuf9XLL38o0TDG6rF+XjmmUG11oq48ltl0dzAGkFLtGGe
 DFW65NnYClKN5HRN0gr1DFiNHUqebVCWlYcvvPucLEyxlZ0uWH/LyAlTzE/JxdmRQcoB XA== 
Received: from dc5-exch02.marvell.com ([199.233.59.182])
 by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cn23ws2aq-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)
 for <dev@dpdk.org>; Mon, 29 Nov 2021 11:49:17 -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:49:15 -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:49:14 -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:49:07 +0200
Message-ID: <20211129194912.14584-1-lironh@marvell.com>
X-Mailer: git-send-email 2.28.0
In-Reply-To: <20211123191348.31239-1-lironh@marvell.com>
References: <20211123191348.31239-1-lironh@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Proofpoint-ORIG-GUID: rqV55iq23cjYefTOlEGKnd-6oAZvh-XB
X-Proofpoint-GUID: rqV55iq23cjYefTOlEGKnd-6oAZvh-XB
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

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

-- 
2.28.0