[0/5] support item NSH matching

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


Haifei Luo Aug. 9, 2023, 7:40 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. 

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