[dpdk-dev] [PATCH v6 0/3] ethdev: add generic TTL rewrite actions

Jack Min jackmin at mellanox.com
Tue Oct 16 10:14:18 CEST 2018


This patch series is for RFC[1]

Patch 1 adds generic TTL rewrite actions to flow API
Patch 2 adds corresponding testpmd commands
Patch 3 implements the offloading logic of E-Switch rules on Mellanox MLX5

[1]: https://patches.dpdk.org/patch/43617/

v2:
 * fix misspelled issues reported by checkpatch
v3:
 * rebased
 * changed commit title of patch 3
 * added example testpmd command in commit log
 * changes in validation
v4:
 * fix some coding style issues
 * use macro of calc pedit keys
 * rebased
v5:
 * fix document warning of rte_flow.rst introduced by v4
v6:
 * updated comments and documents about rte_flow APIs
 * rebased

Xiaoyu Min (3):
  ethdev: add generic TTL rewrite actions
  app/testpmd: add commands of modify TTL
  net/mlx5: rewrite TTL by E-Switch

 app/test-pmd/cmdline_flow.c                 | 34 +++++++++
 doc/guides/prog_guide/rte_flow.rst          | 36 +++++++++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  5 ++
 drivers/net/mlx5/mlx5_flow.h                |  2 +
 drivers/net/mlx5/mlx5_flow_tcf.c            | 83 ++++++++++++++++++++-
 lib/librte_ethdev/rte_flow.c                |  2 +
 lib/librte_ethdev/rte_flow.h                | 23 ++++++
 7 files changed, 183 insertions(+), 2 deletions(-)

-- 
2.17.1



More information about the dev mailing list