This patch series is for RFC[1] and depends on patch[2] 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/ [2]: http://patches.dpdk.org/patch/46621/ 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 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 | 30 ++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 ++ drivers/net/mlx5/mlx5_flow.h | 2 + drivers/net/mlx5/mlx5_flow_tcf.c | 82 ++++++++++++++++++++- lib/librte_ethdev/rte_flow.c | 2 + lib/librte_ethdev/rte_flow.h | 31 ++++++++ 7 files changed, 184 insertions(+), 2 deletions(-) -- 2.17.1