[PATCH v1 0/3] Add HWS mirroring support

Shun Hao shunh at nvidia.com
Thu Sep 28 15:09:10 CEST 2023


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

-- 
2.20.0



More information about the dev mailing list