[v3,0/2] net/mlx5: add random compare support

Message ID 20240129134410.885145-1-michaelba@nvidia.com (mailing list archive)
Headers
Series net/mlx5: add random compare support |

Message

Michael Baum Jan. 29, 2024, 1:44 p.m. UTC
  Add support for compare item with "RTE_FLOW_FIELD_RANDOM".

Depends-on: series-30606 ("ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE")

v2:
 - Rebase.
 - Add "RTE_FLOW_FIELD_META" compare support.
 - Reduce the "Depends-on" list.

v3:
 - Rebase.
 - Fix typo in function name, r/tranlate/translate.
 - Fix adding a line without newline at end of file.

Hamdan Igbaria (1):
  net/mlx5/hws: add support for compare matcher

Michael Baum (1):
  net/mlx5: add support to compare random value

 drivers/common/mlx5/mlx5_prm.h        |  16 ++
 drivers/net/mlx5/hws/mlx5dr_cmd.c     |   9 +-
 drivers/net/mlx5/hws/mlx5dr_cmd.h     |   1 +
 drivers/net/mlx5/hws/mlx5dr_debug.c   |   4 +-
 drivers/net/mlx5/hws/mlx5dr_debug.h   |   1 +
 drivers/net/mlx5/hws/mlx5dr_definer.c | 243 +++++++++++++++++++++++++-
 drivers/net/mlx5/hws/mlx5dr_definer.h |  33 ++++
 drivers/net/mlx5/hws/mlx5dr_matcher.c |  48 +++++
 drivers/net/mlx5/hws/mlx5dr_matcher.h |  12 +-
 drivers/net/mlx5/mlx5_flow_hw.c       |  70 ++++++--
 10 files changed, 410 insertions(+), 27 deletions(-)