[v2,0/3] net/mlx5: add port representor destination to mirror

Message ID 20231030022828.973851-1-suanmingm@nvidia.com (mailing list archive)
Headers
Series net/mlx5: add port representor destination to mirror |

Message

Suanming Mou Oct. 30, 2023, 2:28 a.m. UTC
  In order to clone the traffic from FDB to NIC TIR, user can set
port representor action as mirror clone destination. In that case
cloned traffic will be moved to E-Switch manager root table, and
goes to software TIR.

This series adds the port representor support to mirror action.

v2:
 - add Acked-by
 - rebase on top of series [1]

[1]: https://patches.dpdk.org/project/dpdk/list/?series=29662

Suanming Mou (3):
  net/mlx5: add port representor action
  net/mlx5: add port representor destination to mirror
  app/testpmd: add port representor as sample destination

 app/test-pmd/cmdline_flow.c            |  1 +
 doc/guides/nics/mlx5.rst               |  6 +++
 doc/guides/rel_notes/release_23_11.rst |  1 +
 drivers/net/mlx5/mlx5.h                |  2 +
 drivers/net/mlx5/mlx5_flow.h           |  4 +-
 drivers/net/mlx5/mlx5_flow_hw.c        | 74 +++++++++++++++++++++++++-
 6 files changed, 86 insertions(+), 2 deletions(-)
  

Comments

Raslan Darawsheh Oct. 30, 2023, 9:05 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Suanming Mou <suanmingm@nvidia.com>
> Sent: Monday, October 30, 2023 4:28 AM
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>; Ori Kam
> <orika@nvidia.com>
> Subject: [PATCH v2 0/3] net/mlx5: add port representor destination to mirror
> 
> In order to clone the traffic from FDB to NIC TIR, user can set port representor
> action as mirror clone destination. In that case cloned traffic will be moved to
> E-Switch manager root table, and goes to software TIR.
> 
> This series adds the port representor support to mirror action.
> 
> v2:
>  - add Acked-by
>  - rebase on top of series [1]
> 
> [1]: https://patches.dpdk.org/project/dpdk/list/?series=29662
> 
> Suanming Mou (3):
>   net/mlx5: add port representor action
>   net/mlx5: add port representor destination to mirror
>   app/testpmd: add port representor as sample destination
> 
>  app/test-pmd/cmdline_flow.c            |  1 +
>  doc/guides/nics/mlx5.rst               |  6 +++
>  doc/guides/rel_notes/release_23_11.rst |  1 +
>  drivers/net/mlx5/mlx5.h                |  2 +
>  drivers/net/mlx5/mlx5_flow.h           |  4 +-
>  drivers/net/mlx5/mlx5_flow_hw.c        | 74 +++++++++++++++++++++++++-
>  6 files changed, 86 insertions(+), 2 deletions(-)
> 
> --
> 2.34.1

Missing this update: 

diff --git a/doc/guides/nics/features/mlx5.ini b/doc/guides/nics/features/mlx5.ini
index b5df34d0f1..45bdd20a79 100644
--- a/doc/guides/nics/features/mlx5.ini
+++ b/doc/guides/nics/features/mlx5.ini
@@ -120,6 +120,7 @@ of_push_vlan         = Y
 of_set_vlan_pcp      = Y
 of_set_vlan_vid      = Y
 port_id              = Y
+port_representor     = Y
 quota                = I
 queue                = Y
 raw_decap            = Y
@@ -143,3 +144,4 @@ set_tp_src           = Y
 set_ttl              = Y
 vxlan_decap          = Y
 vxlan_encap          = Y

will add during integration,

series applied to next-net-mlx,

Kindest regards
Raslan Darawsheh