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

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

Message

Michael Baum Feb. 26, 2024, 1:18 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.

v7:
 - Rebase.

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(-)
  

Comments

Raslan Darawsheh Feb. 27, 2024, 9:08 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Michael Baum <michaelba@nvidia.com>
> Sent: Monday, February 26, 2024 3:19 PM
> To: dev@dpdk.org
> Cc: Matan Azrad <matan@nvidia.com>; Dariusz Sosnowski
> <dsosnowski@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>; Slava
> Ovsiienko <viacheslavo@nvidia.com>; Ori Kam <orika@nvidia.com>;
> Suanming Mou <suanmingm@nvidia.com>
> Subject: [PATCH v7 0/3] net/mlx5: add compare item support
> 
> 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.
> 
> v7:
>  - Rebase.
> 
> 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(-)
> 
> --
> 2.25.1
Series applied to next-net-mlx,

Kindest regards
Raslan Darawsheh