[v3,0/3] Add Marvell OCTEON TX2 regex driver
Message ID | 20201013101011.21015-1-guyk@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 dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C032DA04B7; Tue, 13 Oct 2020 12:11:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9DE191DA32; Tue, 13 Oct 2020 12:11:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 95C6F1C122 for <dev@dpdk.org>; Tue, 13 Oct 2020 12:11:41 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09DABBEB001974; Tue, 13 Oct 2020 03:11:38 -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=60zS6vW83ThGNW27quUa0Vh9BcVoJZshwJxQ1tT2DA4=; b=IpvdBW4sI+BcNeQrfqp27dVOF4ePp0tLkfefBRe2k33ZUJi8vx/Tkcp+IlZCZ32pwqoj Y0ZnNCGAG0abTSKIIjd01duwrsRKOTt/VMe5y5VA+uddOmiepYb6RED6++uo+hwldgck nzkHAHNKC4D9Txq16U/cuRXjRY7nZWGpZvR1ZZi+rov/EckxP2clggLrxK6wSYodEm9w cDZEsVXAyQNddrADEP9RqKS7bqrJGC2ncOTq5toJ6odAqDhM4Jhnm59yRZRDk4Z6wKYw 9xzvU9Sa5W68Ft7Swso1GBpgVa0zUpcoZQ7y4+sXCZEZxDSwWCuiJq9GuHFbwT4+3V4T Vg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 343aanjfw5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 13 Oct 2020 03:11:38 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 13 Oct 2020 03:11:37 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 13 Oct 2020 03:11:37 -0700 Received: from vvenus124.il.marvell.com (unknown [10.5.116.64]) by maili.marvell.com (Postfix) with ESMTP id E60643F703F; Tue, 13 Oct 2020 03:11:33 -0700 (PDT) From: <guyk@marvell.com> To: <orika@mellanox.com>, <jerinj@marvell.com>, <ndabilpuram@marvell.com>, <thomas@monjalon.net>, <mdr@ashroe.eu>, <nhorman@tuxdriver.com>, <bruce.richardson@intel.com>, <anatoly.burakov@intel.com>, <john.mcnamara@intel.com>, <marko.kovacevic@intel.com> CC: <dev@dpdk.org>, <smadarf@marvell.com>, <dovrat@marvell.com>, <guyk@marvell.com>, <lironh@marvell.com> Date: Tue, 13 Oct 2020 13:10:08 +0300 Message-ID: <20201013101011.21015-1-guyk@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200901122436.17748-1-guyk@marvell.com> References: <20200901122436.17748-1-guyk@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-13_03:2020-10-13, 2020-10-13 signatures=0 Subject: [dpdk-dev] [PATCH v3 0/3] Add Marvell OCTEON TX2 regex driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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
Guy Kaneti
Oct. 13, 2020, 10:10 a.m. UTC
From: Guy Kaneti <guyk@marvell.com>
This patchset adds support for OCTEON TX2 regex driver as DPDK regexdev.
The driver implements the API defined in the regexdev lib.
v3:
* Fix ML comments.
v2:
* Rebase.
* Remove config/common_base from patch
* change rte_cio_wmb to rte_io_wmb
Guy Kaneti (3):
common/octeontx2: add REE definitions and logging support
regex/octeontx2: add build infra and device support
usertools: add octeontx2 REE device binding
MAINTAINERS | 4 +
doc/guides/platform/octeontx2.rst | 5 +
doc/guides/regexdevs/features/octeontx2.ini | 10 +
doc/guides/regexdevs/index.rst | 1 +
doc/guides/regexdevs/octeontx2.rst | 49 +
doc/guides/rel_notes/release_20_11.rst | 5 +
drivers/common/octeontx2/hw/otx2_ree.h | 27 +
drivers/common/octeontx2/hw/otx2_rvu.h | 5 +
drivers/common/octeontx2/otx2_common.c | 1 +
drivers/common/octeontx2/otx2_common.h | 5 +
drivers/common/octeontx2/otx2_mbox.h | 103 ++
.../rte_common_octeontx2_version.map | 1 +
drivers/regex/meson.build | 2 +-
drivers/regex/octeontx2/meson.build | 44 +
drivers/regex/octeontx2/otx2_regexdev.c | 1002 +++++++++++++++++
drivers/regex/octeontx2/otx2_regexdev.h | 109 ++
.../regex/octeontx2/otx2_regexdev_compiler.c | 229 ++++
.../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 +
.../rte_pmd_octeontx2_regex_version.map | 3 +
usertools/dpdk-devbind.py | 8 +
24 files changed, 2431 insertions(+), 1 deletion(-)
create mode 100644 doc/guides/regexdevs/features/octeontx2.ini
create mode 100644 doc/guides/regexdevs/octeontx2.rst
create mode 100644 drivers/common/octeontx2/hw/otx2_ree.h
create mode 100644 drivers/regex/octeontx2/meson.build
create mode 100644 drivers/regex/octeontx2/otx2_regexdev.c
create mode 100644 drivers/regex/octeontx2/otx2_regexdev.h
create mode 100644 drivers/regex/octeontx2/otx2_regexdev_compiler.c
create mode 100644 drivers/regex/octeontx2/otx2_regexdev_compiler.h
create mode 100644 drivers/regex/octeontx2/otx2_regexdev_hw_access.c
create mode 100644 drivers/regex/octeontx2/otx2_regexdev_hw_access.h
create mode 100644 drivers/regex/octeontx2/otx2_regexdev_mbox.c
create mode 100644 drivers/regex/octeontx2/otx2_regexdev_mbox.h
create mode 100644 drivers/regex/octeontx2/rte_pmd_octeontx2_regex_version.map