common/mlx5: update regex DevX commands
authorAdy Agbarih <adypodoman@gmail.com>
Fri, 22 Oct 2021 15:45:53 +0000 (15:45 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 3 Nov 2021 22:14:29 +0000 (23:14 +0100)
commit1663c1405ac0c72abf0716dc80ce7f8ac4f90769
treeaaa39e390d52f2c85cbffc286d07ca9685f71c66
parentfe37533668f0168186d16fdde50987ea80c748e5
common/mlx5: update regex DevX commands

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 takes as an input an mkey of the ROF.
It also introduces a new field_select bit.

Signed-off-by: Ady Agbarih <adypodoman@gmail.com>
Acked-by: Ori Kam <orika@nvidia.com>
drivers/common/mlx5/mlx5_prm.h
drivers/regex/mlx5/mlx5_regex.c
drivers/regex/mlx5/mlx5_regex.h
drivers/regex/mlx5/mlx5_regex_devx.c
drivers/regex/mlx5/mlx5_rxp.c