This series is for RFC[1] and depends on patch[2] Patch 1 adds generic MAC address rewrite actions to flow API Patch 2 adds testpmd commands for that Patch 3 offloads these actions on Mellanox MLX5 by using E-Switch rule
[1]: https://patches.dpdk.org/patch/44005/ [2]: https://patches.dpdk.org/patch/46495/ v2: * rebased * changed commit message title * added example testpmd command in commit log * changes in validation Xiaoyu Min (3): ethdev: add generic MAC address rewrite actions app/testpmd: add commands of modify MAC address net/mlx5: rewrite MAC address by E-Switch app/test-pmd/cmdline_flow.c | 50 +++++++++++++++ doc/guides/prog_guide/rte_flow.rst | 30 +++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 +++ drivers/net/mlx5/mlx5_flow.h | 2 + drivers/net/mlx5/mlx5_flow_tcf.c | 71 ++++++++++++++++++++- lib/librte_ethdev/rte_flow.c | 2 + lib/librte_ethdev/rte_flow.h | 29 +++++++++ 7 files changed, 191 insertions(+), 1 deletion(-) -- 2.17.1