[dpdk-dev] [PATCH v3 0/3] ethdev: add generic MAC address rewrite actions

Jack Min jackmin at mellanox.com
Thu Oct 11 15:31:34 CEST 2018


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]: http://patches.dpdk.org/patch/46625/

v2:
 * rebased
 * changed commit message title
 * added example testpmd command in commit log
 * changes in validation
v3:
 * fix some coding style issues
 * use macro of calc pedit keys
 * rebased

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            | 70 ++++++++++++++++++++-
 lib/librte_ethdev/rte_flow.c                |  2 +
 lib/librte_ethdev/rte_flow.h                | 29 +++++++++
 7 files changed, 190 insertions(+), 1 deletion(-)

-- 
2.17.1



More information about the dev mailing list