Re: [dpdk-dev] [RFC] ethdev: add generic TTL rewrite actions

2018-08-24 Thread Ferruh Yigit
On 8/24/2018 8:17 AM, Jack MIN wrote: > On Thu, Aug 23, 2018 at 03:00:53PM +0100, Ferruh Yigit wrote: >> On 8/7/2018 3:20 PM, Jack Min wrote: >>> There is a need to rewrite TTL by decrease or just set it directly, >>> and it's not necessary to check if the final result is zero or not. >>> >>> This

Re: [dpdk-dev] [RFC] ethdev: add generic TTL rewrite actions

2018-08-24 Thread Jack MIN
On Thu, Aug 23, 2018 at 03:00:53PM +0100, Ferruh Yigit wrote: > On 8/7/2018 3:20 PM, Jack Min wrote: > > There is a need to rewrite TTL by decrease or just set it directly, > > and it's not necessary to check if the final result is zero or not. > > > > This is slightly different from the one defin

Re: [dpdk-dev] [RFC] ethdev: add generic TTL rewrite actions

2018-08-23 Thread Ferruh Yigit
On 8/7/2018 3:20 PM, Jack Min wrote: > There is a need to rewrite TTL by decrease or just set it directly, > and 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 > make the actions more generic. > > > > > Signed

[dpdk-dev] [RFC] ethdev: add generic TTL rewrite actions

2018-08-07 Thread Jack Min
There is a need to rewrite TTL by decrease or just set it directly, and 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 make the actions more generic. Signed-off-by: Xiaoyu Min --- lib/librte_ethdev/rte_flow.h |