[dpdk-dev] [PATCH 10/10] doc: updated release notes and mlx5 file

2021-10-22 Thread Francis Kelly
Provided further description within documentation regarding the RXP to CRSpace changes. Signed-off-by: Francis Kelly --- doc/guides/regexdevs/mlx5.rst | 2 +- doc/guides/rel_notes/release_21_11.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides

[dpdk-dev] [PATCH 09/10] regex/mlx5: prevent QP double setup

2021-10-22 Thread Francis Kelly
From: Ady Agbarih When mlx5_regex_qp_setup() is called make sure the provided QP is not already setup. Signed-off-by: Ady Agbarih --- drivers/regex/mlx5/mlx5_regex_control.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/regex/mlx5/mlx5_regex_control.c b/drivers/regex/mlx5

[dpdk-dev] [PATCH 07/10] regex/mlx5: removed redundant rxp csr file

2021-10-22 Thread Francis Kelly
The mlx5_rxp_csrs.h file has been deprecated as its contents has now been moved to FW. Signed-off-by: Francis Kelly --- drivers/regex/mlx5/mlx5_regex.c | 1 - drivers/regex/mlx5/mlx5_regex_control.c | 1 - drivers/regex/mlx5/mlx5_rxp.c | 1 - drivers/regex/mlx5

[dpdk-dev] [PATCH 08/10] regex/mlx5: fix uninitialized QP destroy

2021-10-22 Thread Francis Kelly
From: Ady Agbarih The number of QPs for a device are setup during the configuration phase, when the user calls rte_regexdev_configure(). The mlx5 regex driver then pre-allocates QPs, however those QPs are not setup/ready for sending jobs. The user has to configure each QP using rte_regexdev_

[dpdk-dev] [PATCH 04/10] regex/mlx5: remove regexp register read/write

2021-10-22 Thread Francis Kelly
From: Ady Agbarih Remove the set/query regexp register commands from devx. Remove functions that used these commands. Remove manual rules programming. Signed-off-by: Ady Agbarih --- drivers/regex/mlx5/mlx5_regex.c | 28 -- drivers/regex/mlx5/mlx5_regex.h | 4 - drivers/regex/mlx5/

[dpdk-dev] [PATCH 02/10] regex/mlx5: add cleanup code

2021-10-22 Thread Francis Kelly
From: Ori Kam When stopping the device we should release all data allocated. This commit add this cleanup logic. Signed-off-by: Ori Kam --- drivers/regex/mlx5/mlx5_regex.c | 14 ++ drivers/regex/mlx5/mlx5_regex.h | 1 + drivers/regex/mlx5/mlx5_regex_control.c | 20

[dpdk-dev] [PATCH 06/10] regex/mlx5: remove start/stop engine API

2021-10-22 Thread Francis Kelly
From: Ady Agbarih Remove the engine start/stop DevX commands, as they have been deprecated and moved to FW. Signed-off-by: Ady Agbarih --- drivers/regex/mlx5/mlx5_regex.c | 5 drivers/regex/mlx5/mlx5_regex.h | 2 -- drivers/regex/mlx5/mlx5_regex_devx.c | 42 ---

[dpdk-dev] [PATCH 05/10] regex/mlx5: move RXP to CrSpace

2021-10-22 Thread Francis Kelly
From: Ady Agbarih Add patch for programming the regex database through rof file, using the firmware instead of manually through the software. No need to setup the DB anymore, the regex-daemon is responsible for that always. In the new flow the regex driver only has to program rof rules by using s

[dpdk-dev] [PATCH 03/10] common/mlx5: update regex DevX commands

2021-10-22 Thread Francis Kelly
From: Ady Agbarih This patch modifies the SET_REGEXP_PARAMS devx command as follows: Remove DB setup devx command. The command is no longer needed in DPDK, it will always be invoked by the regex-daemon. Add new devx command, for programming rof rules for a specific engine. The command

[dpdk-dev] [PATCH 01/10] common/mlx5: update PRM definitions for regex availability

2021-10-22 Thread Francis Kelly
From: Ady Agbarih Update PRM hca capabilities definitions as follows: regexp_version field added - specifies whether BF2 or BF3 regexp field removed regexp_params field moved regexp_log_crspace_size field removed regexp_mmo added - specifies if using regex mmo wqe is supported Allow regex only i