[v1,0/3] Add HWS mirroring support

Message ID 20230928130913.2583907-1-shunh@nvidia.com (mailing list archive)
Headers
Series Add HWS mirroring support |

Message

Shun Hao Sept. 28, 2023, 1:09 p.m. UTC
  This patch series are to add the support of mirroring feature in HWS.
The main idea is to create DevX Flow table and FTE in it. The FTE may
have multiple different destinations of type Vport/TIR/Table. With this
multi-destination FTE, NIC can duplicate packets and forward to all
destinations.

Hamdan Igbaria (2):
  net/mlx5/hws: add creation of packet reformat DevX obj
  net/mlx5/hws: add mlx5dr obj struct to mlx5dr action

Shun Hao (1):
  net/mlx5/hws: add support for mirroring

 drivers/common/mlx5/mlx5_prm.h         |  62 +++++++++++-
 drivers/net/mlx5/hws/mlx5dr.h          |  34 +++++++
 drivers/net/mlx5/hws/mlx5dr_action.c   | 134 ++++++++++++++++++++++++-
 drivers/net/mlx5/hws/mlx5dr_action.h   |   6 ++
 drivers/net/mlx5/hws/mlx5dr_cmd.c      | 123 +++++++++++++++++++++--
 drivers/net/mlx5/hws/mlx5dr_cmd.h      |  30 +++++-
 drivers/net/mlx5/hws/mlx5dr_debug.c    |   1 +
 drivers/net/mlx5/hws/mlx5dr_internal.h |   5 +
 drivers/net/mlx5/hws/mlx5dr_send.c     |   5 -
 drivers/net/mlx5/hws/mlx5dr_table.c    |   8 +-
 10 files changed, 384 insertions(+), 24 deletions(-)