[v6,0/3] net/mlx5: add compare item support

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

Message

Michael Baum Feb. 26, 2024, 1:03 p.m. UTC
  Add HWS support for compare item with:
- "RTE_FLOW_FIELD_TAG".
- "RTE_FLOW_FIELD_NETA".
- "RTE_FLOW_FIELD_VALUE".

Add HWS + PMD support for compare item with:
- "RTE_FLOW_FIELD_RANDOM".
- "RTE_FLOW_FIELD_ESP_SEQ_NUM".

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.

v4:
 - Rebase.
 - Update documentation.
 - Remove the "Depends-on" label.

v5:
 - Rebase.
 - Add ESP sequence number suppoert and rename the series accordingly.

v6:
 - Rebase.
 - Add "Acked-by" from v5.


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

Michael Baum (2):
  net/mlx5: add support to compare random value
  net/mlx5/hws: add compare ESP sequence number support

 doc/guides/nics/mlx5.rst              |  10 +-
 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 | 261 +++++++++++++++++++++++++-
 drivers/net/mlx5/hws/mlx5dr_definer.h |  33 ++++
 drivers/net/mlx5/hws/mlx5dr_matcher.c |  53 ++++++
 drivers/net/mlx5/hws/mlx5dr_matcher.h |  12 +-
 drivers/net/mlx5/mlx5_flow_hw.c       |  73 +++++--
 11 files changed, 444 insertions(+), 29 deletions(-)