mbox series

[v3,0/3] ethdev: add generic MAC address rewrite actions

Message ID 20181011133109.1520-1-jackmin@mellanox.com (mailing list archive)
Headers
Series ethdev: add generic MAC address rewrite actions |

Message

Xiaoyu Min Oct. 11, 2018, 1:31 p.m. UTC
  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(-)
  

Comments

Ferruh Yigit Oct. 16, 2018, 9:11 a.m. UTC | #1
On 10/11/2018 2:31 PM, Jack Min wrote:
> 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

Series applied to dpdk-next-net/master, thanks.