From patchwork Sun Jul 5 09:23:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ori Kam X-Patchwork-Id: 73111 Return-Path: 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 71448A00C5; Sun, 5 Jul 2020 11:24:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D8631DA9F; Sun, 5 Jul 2020 11:24:19 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 003821DA97 for ; Sun, 5 Jul 2020 11:24:17 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@mellanox.com) with SMTP; 5 Jul 2020 12:24:12 +0300 Received: from pegasus04.mtr.labs.mlnx. (pegasus04.mtr.labs.mlnx [10.210.16.126]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0659OC3k028191; Sun, 5 Jul 2020 12:24:12 +0300 From: Ori Kam To: jerinj@marvell.com, xiang.w.wang@intel.com, matan@mellanox.com, viacheslavo@mellanox.com Cc: guyk@marvell.com, dev@dpdk.org, pbhagavatula@marvell.com, shahafs@mellanox.com, hemant.agrawal@nxp.com, opher@mellanox.com, alexr@mellanox.com, dovrat@marvell.com, pkapoor@marvell.com, nipun.gupta@nxp.com, bruce.richardson@intel.com, yang.a.hong@intel.com, harry.chang@intel.com, gu.jian1@zte.com.cn, shanjiangh@chinatelecom.cn, zhangy.yun@chinatelecom.cn, lixingfu@huachentel.com, wushuai@inspur.com, yuyingxia@yxlink.com, fanchenggang@sunyainfo.com, davidfgao@tencent.com, liuzhong1@chinaunicom.cn, zhaoyong11@huawei.com, oc@yunify.com, jim@netgate.com, hongjun.ni@intel.com, deri@ntop.org, fc@napatech.com, arthur.su@lionic.com, thomas@monjalon.net, orika@mellanox.com, rasland@mellanox.com Date: Sun, 5 Jul 2020 09:23:27 +0000 Message-Id: <1593941027-86651-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 00/20] add Mellanox RegEx PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch series introduce the Mellanox BF2 RegEx PMD. Mellanox BF2 RegEx PMD implement the API defined in the regexdev lib [1]. This PMD allows a DPDK application to offload the RegEx functionality to Mellanox BF2 RegEx engine. [1] https://patches.dpdk.org/cover/72792/ Francis Kelly (1): regex/mlx5: add program rules support Ori Kam (9): regex/mlx5: add probe function common/mlx5: add rxp database set cmd common/mlx5: add write and read RXP registers regex/mlx5: add engine status check regex/mlx5: add get info function regex/mlx5: add configure function regex/mlx5: add completion queue creation regex/mlx5: add send queue support maintainers: add maintainers to regexdev lib Parav Pandit (1): regex/mlx5: add RXP register definitions Yuval Avnery (9): regex/mlx5: add RegEx PMD layer and mlx5 driver regex/mlx5: add log utils common/mlx5: add MMO and regexp structs/opcodes common/mlx5: add mlx5 regex command structs common/mlx5: add support for regex capability query common/mlx5: add match tuple hw layout regex/mlx5: fastpath setup regex/mlx5: add enqueue implementation regex/mlx5: implement dequeue function MAINTAINERS | 15 + config/common_base | 5 + drivers/Makefile | 2 + drivers/common/Makefile | 2 +- drivers/common/mlx5/Makefile | 4 +- drivers/common/mlx5/mlx5_devx_cmds.c | 185 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 20 +- drivers/common/mlx5/mlx5_prm.h | 142 ++- drivers/common/mlx5/rte_common_mlx5_version.map | 5 + drivers/meson.build | 3 +- drivers/regex/Makefile | 8 + drivers/regex/meson.build | 9 + drivers/regex/mlx5/Makefile | 62 + drivers/regex/mlx5/meson.build | 35 + drivers/regex/mlx5/mlx5_regex.c | 293 +++++ drivers/regex/mlx5/mlx5_regex.h | 103 ++ drivers/regex/mlx5/mlx5_regex_control.c | 373 ++++++ drivers/regex/mlx5/mlx5_regex_fastpath.c | 417 +++++++ drivers/regex/mlx5/mlx5_regex_utils.h | 19 + drivers/regex/mlx5/mlx5_rxp.c | 1266 +++++++++++++++++++++ drivers/regex/mlx5/mlx5_rxp.h | 138 +++ drivers/regex/mlx5/mlx5_rxp_csrs.h | 338 ++++++ drivers/regex/mlx5/rte_pmd_mlx5_regex_version.map | 3 + mk/rte.app.mk | 6 +- 24 files changed, 3444 insertions(+), 9 deletions(-) create mode 100644 drivers/regex/Makefile create mode 100644 drivers/regex/meson.build create mode 100644 drivers/regex/mlx5/Makefile create mode 100644 drivers/regex/mlx5/meson.build create mode 100644 drivers/regex/mlx5/mlx5_regex.c create mode 100644 drivers/regex/mlx5/mlx5_regex.h create mode 100644 drivers/regex/mlx5/mlx5_regex_control.c create mode 100644 drivers/regex/mlx5/mlx5_regex_fastpath.c create mode 100644 drivers/regex/mlx5/mlx5_regex_utils.h create mode 100644 drivers/regex/mlx5/mlx5_rxp.c create mode 100644 drivers/regex/mlx5/mlx5_rxp.h create mode 100644 drivers/regex/mlx5/mlx5_rxp_csrs.h create mode 100644 drivers/regex/mlx5/rte_pmd_mlx5_regex_version.map