[v1,0/7] net/mlx5: support copy from inner fields

Message ID 20240206143950.1499532-1-michaelba@nvidia.com (mailing list archive)
Headers
Series net/mlx5: support copy from inner fields |

Message

Michael Baum Feb. 6, 2024, 2:39 p.m. UTC
  This patch-set adds support of encapsulation level for HWS modify field
in MLX5 PMD.
Outermost is represented by 0,1 and inner is represented by 2.
In addition, modify inner/outer us added for both IPv6 flow label and
IPv6 traffic class.

Depends-on: series-31008 ("ethdev: add modify IPv4 next protocol field")
Depends-on: series-31010 ("ethdev: add IPv6 field identifiers")

Michael Baum (7):
  common/mlx5: remove enum value duplication
  common/mlx5: reorder modification field PRM list
  common/mlx5: add inner PRM fields
  common/mlx5: add IPv6 flow label PRM field
  net/mlx5: add support for modify inner fields
  net/mlx5: support modify IPv6 traffic class field
  net/mlx5: support modify IPv6 flow label field

 doc/guides/nics/mlx5.rst               |  28 ++++-
 doc/guides/rel_notes/release_24_03.rst |   2 +
 drivers/common/mlx5/mlx5_prm.h         |  49 +++++----
 drivers/net/mlx5/hws/mlx5dr_action.c   |   4 +-
 drivers/net/mlx5/hws/mlx5dr_pat_arg.c  |   2 +-
 drivers/net/mlx5/mlx5_flow.c           |  12 ++-
 drivers/net/mlx5/mlx5_flow_dv.c        | 136 +++++++++++++++----------
 drivers/net/mlx5/mlx5_flow_hw.c        | 134 +++++++++++++++++++++++-
 8 files changed, 282 insertions(+), 85 deletions(-)