[v6,00/13] add Mellanox RegEx PMD
mbox series

Message ID 1595226378-81144-1-git-send-email-orika@mellanox.com
Headers show
Series
  • add Mellanox RegEx PMD
Related show

Message

Ori Kam July 20, 2020, 6:26 a.m. UTC
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/

v6:
 * Address ML comments in patch one.

v5:
* Fix compilation issue.
* Rebase.

v4:
* Typo fix in commit 6 and 9.

v3:
* Reorder and merge commits.
* Address ML comments.
 
v2:
* Rebase.
* Add release notes.


Francis Kelly (1):
  regex/mlx5: add program rules support

Ori Kam (7):
  regex/mlx5: add probe function
  regex/mlx5: add get info function
  regex/mlx5: add engine status check
  regex/mlx5: add configure function
  regex/mlx5: add completion queue creation
  regex/mlx5: add send queue support
  regex/mlx5: add start stop functions

Yuval Avnery (5):
  regex/mlx5: add RegEx PMD layer and mlx5 driver
  regex/mlx5: add log utils
  regex/mlx5: fastpath setup
  regex/mlx5: add enqueue implementation
  regex/mlx5: implement dequeue function

 .gitignore                                        |    1 +
 MAINTAINERS                                       |   11 +
 config/common_base                                |    5 +
 doc/guides/conf.py                                |    7 +-
 doc/guides/index.rst                              |    1 +
 doc/guides/regexdevs/features/default.ini         |   32 +
 doc/guides/regexdevs/features/mlx5.ini            |    9 +
 doc/guides/regexdevs/features_overview.rst        |  100 ++
 doc/guides/regexdevs/index.rst                    |   15 +
 doc/guides/regexdevs/mlx5.rst                     |   53 ++
 doc/guides/rel_notes/release_20_08.rst            |    2 +
 drivers/Makefile                                  |    2 +
 drivers/bus/Makefile                              |    2 +-
 drivers/bus/mlx5_pci/mlx5_pci_bus.c               |    6 +-
 drivers/common/Makefile                           |    2 +-
 drivers/common/mlx5/Makefile                      |    4 +-
 drivers/common/mlx5/mlx5_common.h                 |    1 +
 drivers/common/mlx5/mlx5_devx_cmds.c              |    3 +
 drivers/common/mlx5/mlx5_devx_cmds.h              |    2 +
 drivers/common/mlx5/mlx5_prm.h                    |  146 ++-
 drivers/meson.build                               |    1 +
 drivers/regex/Makefile                            |    8 +
 drivers/regex/meson.build                         |    7 +
 drivers/regex/mlx5/Makefile                       |   41 +
 drivers/regex/mlx5/meson.build                    |   30 +
 drivers/regex/mlx5/mlx5_regex.c                   |  272 ++++++
 drivers/regex/mlx5/mlx5_regex.h                   |  118 +++
 drivers/regex/mlx5/mlx5_regex_control.c           |  379 ++++++++
 drivers/regex/mlx5/mlx5_regex_devx.c              |  128 +++
 drivers/regex/mlx5/mlx5_regex_fastpath.c          |  424 +++++++++
 drivers/regex/mlx5/mlx5_regex_utils.h             |   19 +
 drivers/regex/mlx5/mlx5_rxp.c                     | 1009 +++++++++++++++++++++
 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 +-
 36 files changed, 3315 insertions(+), 10 deletions(-)
 create mode 100644 doc/guides/regexdevs/features/default.ini
 create mode 100644 doc/guides/regexdevs/features/mlx5.ini
 create mode 100644 doc/guides/regexdevs/features_overview.rst
 create mode 100644 doc/guides/regexdevs/index.rst
 create mode 100644 doc/guides/regexdevs/mlx5.rst
 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_devx.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

Comments

Thomas Monjalon July 21, 2020, 5:06 p.m. UTC | #1
20/07/2020 08:26, Ori Kam:
> 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.
[...]
> Francis Kelly (1):
>   regex/mlx5: add program rules support
> 
> Ori Kam (7):
>   regex/mlx5: add probe function
>   regex/mlx5: add get info function
>   regex/mlx5: add engine status check
>   regex/mlx5: add configure function
>   regex/mlx5: add completion queue creation
>   regex/mlx5: add send queue support
>   regex/mlx5: add start stop functions
> 
> Yuval Avnery (5):
>   regex/mlx5: add RegEx PMD layer and mlx5 driver
>   regex/mlx5: add log utils
>   regex/mlx5: fastpath setup
>   regex/mlx5: add enqueue implementation
>   regex/mlx5: implement dequeue function

Applied with details fixed