[v3,0/4] add RegEx class
mbox series

Message ID 1588844756-10086-1-git-send-email-orika@mellanox.com
Headers show
Series
  • add RegEx class
Related show

Message

Ori Kam May 7, 2020, 9:45 a.m. UTC
This patch set adds the RegEx class, which enables RegEx pattern
matching, both on HW/SW PMDs.

Example for applications that will benefit from this class:
* Next Generation Firewalls (NGFW)
* Deep Packet and Flow Inspection (DPI)
* Intrusion Prevention Systems (IPS)
* DDoS Mitigation
* Network Monitoring
* Data Loss Prevention (DLP)
* Smart NICs
* Grammar based content processing
* URL, spam and adware filtering
* Advanced auditing and policing of user/application security policies
* Financial data mining - parsing of streamed financial feeds
* Application recognition.
* Dmemory introspection.
* Natural Language Processing (NLP)
* Sentiment Analysis.
* Big data databse acceleration.
* Computational storage. 

This patch set is based on RFC[1]

This class should be merged only after there is at least
one PMD that implements it. Also the test application will
be added when the first PMD is added.



[1] https://patches.dpdk.org/patch/66501/

v3:
* adress ML comments.

v2:
* address ML comments.


Jerin Jacob (1):
  regexdev: introduce regexdev subsystem

Ori Kam (3):
  regexdev: add regex core h file
  regexdev: add regexdev core functions
  regexdev: implement regex rte level functions

 config/common_base                           |    8 +
 config/meson.build                           |    1 +
 doc/api/doxy-api-index.md                    |    1 +
 doc/api/doxy-api.conf.in                     |    1 +
 doc/guides/prog_guide/index.rst              |    1 +
 doc/guides/prog_guide/regexdev_lib.rst       |  177 +++
 lib/Makefile                                 |    2 +
 lib/librte_regexdev/Makefile                 |   33 +
 lib/librte_regexdev/meson.build              |   10 +
 lib/librte_regexdev/rte_regexdev.c           |  573 ++++++++++
 lib/librte_regexdev/rte_regexdev.h           | 1534 ++++++++++++++++++++++++++
 lib/librte_regexdev/rte_regexdev_core.h      |  184 +++
 lib/librte_regexdev/rte_regexdev_driver.h    |   59 +
 lib/librte_regexdev/rte_regexdev_version.map |   26 +
 lib/meson.build                              |    2 +-
 meson_options.txt                            |    2 +
 16 files changed, 2613 insertions(+), 1 deletion(-)
 create mode 100644 doc/guides/prog_guide/regexdev_lib.rst
 create mode 100644 lib/librte_regexdev/Makefile
 create mode 100644 lib/librte_regexdev/meson.build
 create mode 100644 lib/librte_regexdev/rte_regexdev.c
 create mode 100644 lib/librte_regexdev/rte_regexdev.h
 create mode 100644 lib/librte_regexdev/rte_regexdev_core.h
 create mode 100644 lib/librte_regexdev/rte_regexdev_driver.h
 create mode 100644 lib/librte_regexdev/rte_regexdev_version.map

Comments

Ori Kam May 24, 2020, 8:24 p.m. UTC | #1
Hi,

Can you please review the latest changes and ack this patchset?
This is the base for the PMD code.

Thanks,
Ori

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Ori Kam
> Sent: Thursday, May 7, 2020 12:46 PM
> To: jerinj@marvell.com; xiang.w.wang@intel.com
> Cc: guyk@marvell.com; dev@dpdk.org; pbhagavatula@marvell.com; Shahaf
> Shuler <shahafs@mellanox.com>; hemant.agrawal@nxp.com; Opher Reviv
> <opher@mellanox.com>; Alex Rosenbaum <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; j.bromhead@titan-ic.com; deri@ntop.org;
> fc@napatech.com; arthur.su@lionic.com; Thomas Monjalon
> <thomas@monjalon.net>; Ori Kam <orika@mellanox.com>
> Subject: [dpdk-dev] [PATCH v3 0/4] add RegEx class
> 
> This patch set adds the RegEx class, which enables RegEx pattern
> matching, both on HW/SW PMDs.
> 
> Example for applications that will benefit from this class:
> * Next Generation Firewalls (NGFW)
> * Deep Packet and Flow Inspection (DPI)
> * Intrusion Prevention Systems (IPS)
> * DDoS Mitigation
> * Network Monitoring
> * Data Loss Prevention (DLP)
> * Smart NICs
> * Grammar based content processing
> * URL, spam and adware filtering
> * Advanced auditing and policing of user/application security policies
> * Financial data mining - parsing of streamed financial feeds
> * Application recognition.
> * Dmemory introspection.
> * Natural Language Processing (NLP)
> * Sentiment Analysis.
> * Big data databse acceleration.
> * Computational storage.
> 
> This patch set is based on RFC[1]
> 
> This class should be merged only after there is at least
> one PMD that implements it. Also the test application will
> be added when the first PMD is added.
> 
> 
> 
> [1]
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatches.d
> pdk.org%2Fpatch%2F66501%2F&amp;data=02%7C01%7Corika%40mellanox.co
> m%7C04fde98a87b44220935c08d7f26b7e9a%7Ca652971c7d2e4d9ba6a4d1492
> 56f461b%7C0%7C0%7C637244415831631650&amp;sdata=ZN1czuSz1c1xiKtvan
> xHS7oG9xxvPVE3keE2%2F4vPpwA%3D&amp;reserved=0
> 
> v3:
> * adress ML comments.
> 
> v2:
> * address ML comments.
> 
> 
> Jerin Jacob (1):
>   regexdev: introduce regexdev subsystem
> 
> Ori Kam (3):
>   regexdev: add regex core h file
>   regexdev: add regexdev core functions
>   regexdev: implement regex rte level functions
> 
>  config/common_base                           |    8 +
>  config/meson.build                           |    1 +
>  doc/api/doxy-api-index.md                    |    1 +
>  doc/api/doxy-api.conf.in                     |    1 +
>  doc/guides/prog_guide/index.rst              |    1 +
>  doc/guides/prog_guide/regexdev_lib.rst       |  177 +++
>  lib/Makefile                                 |    2 +
>  lib/librte_regexdev/Makefile                 |   33 +
>  lib/librte_regexdev/meson.build              |   10 +
>  lib/librte_regexdev/rte_regexdev.c           |  573 ++++++++++
>  lib/librte_regexdev/rte_regexdev.h           | 1534
> ++++++++++++++++++++++++++
>  lib/librte_regexdev/rte_regexdev_core.h      |  184 +++
>  lib/librte_regexdev/rte_regexdev_driver.h    |   59 +
>  lib/librte_regexdev/rte_regexdev_version.map |   26 +
>  lib/meson.build                              |    2 +-
>  meson_options.txt                            |    2 +
>  16 files changed, 2613 insertions(+), 1 deletion(-)
>  create mode 100644 doc/guides/prog_guide/regexdev_lib.rst
>  create mode 100644 lib/librte_regexdev/Makefile
>  create mode 100644 lib/librte_regexdev/meson.build
>  create mode 100644 lib/librte_regexdev/rte_regexdev.c
>  create mode 100644 lib/librte_regexdev/rte_regexdev.h
>  create mode 100644 lib/librte_regexdev/rte_regexdev_core.h
>  create mode 100644 lib/librte_regexdev/rte_regexdev_driver.h
>  create mode 100644 lib/librte_regexdev/rte_regexdev_version.map
> 
> --
> 1.8.3.1