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