ethdev: add generic TTL rewrite actions
authorXiaoyu Min <jackmin@mellanox.com>
Tue, 16 Oct 2018 08:14:23 +0000 (08:14 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 18 Oct 2018 08:24:39 +0000 (10:24 +0200)
commit6f1c2168bccb7b281cd7d0ddd5f9291c538f6489
tree4ed9350c8fed0687c9e9f03e2cf72e8a69c0344b
parentdeb373fb07a1a86e3a0a7d0558ef0bbe6ac4383b
ethdev: add generic TTL rewrite actions

rewrite TTL by decrease or just set it directly
it's not necessary to check if the final result
is zero or not

This is slightly different from the one defined
by openflow and more generic

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
doc/guides/prog_guide/rte_flow.rst
lib/librte_ethdev/rte_flow.c
lib/librte_ethdev/rte_flow.h