[v4,0/5] support item NSH matching

Message ID 20231008031029.30850-1-haifeil@nvidia.com (mailing list archive)
Headers
Series support item NSH matching |

Message

Haifei Luo Oct. 8, 2023, 3:10 a.m. UTC
  NSH can be matched using the existed item: RTE_FLOW_ITEM_TYPE_NSH.
NSH fields matching is not supported.  

Add support for configuring VXLAN-GPE's next protocol.
The CLI is: vxlan-gpe protocol is <value>.

Add support for matching item NSH. The CLI is: nsh
Add support for HCA attribute query of NSH.

Enhance the validation for the case matching item NSH is supported. 
Add NSH support in net/mlx5.

V2: Add Ack info in commit message.
V3: Add more Ack in commi message.
V4: Add nsh in feature ini file.

Haifei Luo (5):
  app/testpmd: support for VXLAN-GPE's next protocol
  common/mlx5: extend HCA attribute query for NSH
  net/mlx5: enhance the validation for item VXLAN-GPE
  app/testpmd: support for NSH flow item
  net/mlx5: add support for item NSH

 app/test-pmd/cmdline_flow.c          | 26 ++++++++++++++
 doc/guides/nics/features/mlx5.ini    |  1 +
 drivers/common/mlx5/mlx5_devx_cmds.c |  3 ++
 drivers/common/mlx5/mlx5_devx_cmds.h |  1 +
 drivers/common/mlx5/mlx5_prm.h       |  4 ++-
 drivers/net/mlx5/mlx5_flow.c         | 52 ++++++++++++++++++++++++----
 drivers/net/mlx5/mlx5_flow.h         |  6 ++++
 drivers/net/mlx5/mlx5_flow_dv.c      | 13 ++++++-
 8 files changed, 97 insertions(+), 9 deletions(-)
  

Comments

Raslan Darawsheh Oct. 9, 2023, 11:15 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Haifei Luo <haifeil@nvidia.com>
> Sent: Sunday, October 8, 2023 6:10 AM
> To: dev@dpdk.org
> Cc: Ori Kam <orika@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>;
> Raslan Darawsheh <rasland@nvidia.com>; Xueming(Steven) Li
> <xuemingl@nvidia.com>; Haifei Luo <haifeil@nvidia.com>
> Subject: [PATCH v4 0/5] support item NSH matching
> 
> NSH can be matched using the existed item: RTE_FLOW_ITEM_TYPE_NSH.
> NSH fields matching is not supported.
> 
> Add support for configuring VXLAN-GPE's next protocol.
> The CLI is: vxlan-gpe protocol is <value>.
> 
> Add support for matching item NSH. The CLI is: nsh Add support for HCA
> attribute query of NSH.
> 
> Enhance the validation for the case matching item NSH is supported.
> Add NSH support in net/mlx5.
> 
> V2: Add Ack info in commit message.
> V3: Add more Ack in commi message.
> V4: Add nsh in feature ini file.
> 
> Haifei Luo (5):
>   app/testpmd: support for VXLAN-GPE's next protocol
>   common/mlx5: extend HCA attribute query for NSH
>   net/mlx5: enhance the validation for item VXLAN-GPE
>   app/testpmd: support for NSH flow item
>   net/mlx5: add support for item NSH
> 
>  app/test-pmd/cmdline_flow.c          | 26 ++++++++++++++
>  doc/guides/nics/features/mlx5.ini    |  1 +
>  drivers/common/mlx5/mlx5_devx_cmds.c |  3 ++
> drivers/common/mlx5/mlx5_devx_cmds.h |  1 +
>  drivers/common/mlx5/mlx5_prm.h       |  4 ++-
>  drivers/net/mlx5/mlx5_flow.c         | 52 ++++++++++++++++++++++++----
>  drivers/net/mlx5/mlx5_flow.h         |  6 ++++
>  drivers/net/mlx5/mlx5_flow_dv.c      | 13 ++++++-
>  8 files changed, 97 insertions(+), 9 deletions(-)
> 
> --
> 2.27.0

Series applied to next-net-mlx,
Replied originally to V2
Now to the correct version !

Kindest regards,
Raslan Darawsheh
  
Thomas Monjalon Oct. 16, 2023, 9:27 a.m. UTC | #2
09/10/2023 13:15, Raslan Darawsheh:
> Series applied to next-net-mlx,
> Replied originally to V2
> Now to the correct version !


A release note should be added:

* **Updated NVIDIA mlx5 net driver.**

  * Added support for Network Service Header (NSH) flow matching.