[v2,0/5] support item NSH matching

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

Message

Haifei Luo Sept. 25, 2023, 2:09 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.

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 ++++++++++++++
 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 ++++++-
 7 files changed, 96 insertions(+), 9 deletions(-)
  

Comments

Raslan Darawsheh Oct. 8, 2023, 10:34 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Haifei Luo <haifeil@nvidia.com>
> Sent: Monday, September 25, 2023 5:09 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 v2 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.
> 
> 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 ++++++++++++++
>  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 ++++++-
>  7 files changed, 96 insertions(+), 9 deletions(-)
> 
> --
> 2.27.0

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh