[dpdk-dev] [EXT] [PATCH v1 0/4] add RegEx class

Ori Kam orika at mellanox.com
Sun Apr 5 17:03:58 CEST 2020


Hi Pavan,

Thanks for your comments, PSB.

Best,
Ori

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Pavan Nikhilesh Bhagavatula
> Subject: Re: [dpdk-dev] [EXT] [PATCH v1 0/4] add RegEx class
> 
> Hi Ori,
> 
> Looks like the series is missing support for virtual devices i.e. vdev
> @see rte_eventdev_pmd_vdev.h, rte_ethdev_vdev.h.
> 
> Hyperscan and PCRE based regexdev would need vdev support.
> 

As far as I can see,  the functions in rte_ethdev_vdev.h for example, are just
wrapper functions. I don't think they are needed at least not in current stage,
the vdev PMD can just call the register function by himself.
I think that if we see we have a need or large code base that should/can
be shared between devices then we will add such functions.

> Thanks,
> Pavan.
> 
> >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%2Furldefens
> e.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-
> &data=02%7C01%7Corika%40mellanox.com%7C96aa12eaf0a349c42c720
> 8d7d89918ea%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637216
> 024425556482&sdata=1FaqurdBqd9FzkKJ8Dmpr7BQSiTfDQhWP51zbdmau
> %2BA%3D&reserved=0
> >3A__patches.dpdk.org_patch_66501_&d=DwIDaQ&c=nKjWec2b6R0mO
> >yPaz7xtfQ&r=E3SgYMjtKCMVsB-fmvgGV3o-
> >g_fjLhk5Pupi9ijohpc&m=bE-
> >KQdo2pQktvXoSvAAe5ppq2423AEYlpW5MTK90UyY&s=qLgLlewFToFlkH
> >yUBQcGVYU6fG2t5yNg2uAz7h_OlVA&e=
> >
> >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           |  376 +++++++
> > lib/librte_regexdev/rte_regexdev.h           | 1482
> >++++++++++++++++++++++++++
> > lib/librte_regexdev/rte_regexdev_core.h      |  149 +++
> > lib/librte_regexdev/rte_regexdev_driver.h    |   50 +
> > lib/librte_regexdev/rte_regexdev_version.map |   26 +
> > lib/meson.build                              |    3 +-
> > meson_options.txt                            |    2 +
> > 16 files changed, 2321 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



More information about the dev mailing list