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