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

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

Message

Suanming Mou Oct. 17, 2023, 12:43 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.
This series depends on the indirect list 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 +++
 drivers/net/mlx5/mlx5.h         |  2 +
 drivers/net/mlx5/mlx5_flow.h    |  4 +-
 drivers/net/mlx5/mlx5_flow_hw.c | 74 ++++++++++++++++++++++++++++++++-
 5 files changed, 85 insertions(+), 2 deletions(-)
  

Comments

Ori Kam Oct. 29, 2023, 1:33 p.m. UTC | #1
Hi Suanming,

> -----Original Message-----
> From: Suanming Mou <suanmingm@nvidia.com>
> Sent: Tuesday, October 17, 2023 3:44 AM
> 
> 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.
> This series depends on the indirect list 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 +++
>  drivers/net/mlx5/mlx5.h         |  2 +
>  drivers/net/mlx5/mlx5_flow.h    |  4 +-
>  drivers/net/mlx5/mlx5_flow_hw.c | 74
> ++++++++++++++++++++++++++++++++-
>  5 files changed, 85 insertions(+), 2 deletions(-)
> 
> --

Series-acked-by:  Ori Kam <orika@nvidia.com>
Best,
Ori