From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 894A0201 for ; Tue, 16 Oct 2018 10:26:25 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 2DD2814005C; Tue, 16 Oct 2018 08:26:24 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 16 Oct 2018 09:26:17 +0100 To: Jack Min , Adrien Mazarguil , John McNamara , "Marko Kovacevic" , Thomas Monjalon , Ferruh Yigit CC: "dev@dpdk.org" References: <20181013032348.26380-1-jackmin@mellanox.com> <20181016081350.24765-1-jackmin@mellanox.com> <20181016081350.24765-2-jackmin@mellanox.com> From: Andrew Rybchenko Message-ID: Date: Tue, 16 Oct 2018 11:25:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181016081350.24765-2-jackmin@mellanox.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24158.003 X-TM-AS-Result: No-0.676400-8.000000-10 X-TMASE-MatchedRID: ZrceL/U8jXR6DVqDv3PkvSa1MaKuob8Pt3aeg7g/usDfc2Xd6VJ+yssM 7AnHhwCPq0j6/BL6F+7qUwd4lb5Mck1+zyfzlN7ygxsfzkNRlfJq8/xv2Um1avoLR4+zsDTtnlV v2XS+do/CraSW9HErgo5x7CCDNSZpS6C0IYLWeLk8OO9fconTpvAdfn5DyOPDXC6uJnc/p0Ssgl kltB8xdGpozkualSTDO6clcnPxfVB+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.676400-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24158.003 X-MDID: 1539678385-MgLHj9ZUQrHi Subject: Re: [dpdk-dev] [PATCH v6 1/3] ethdev: add generic TTL rewrite actions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 08:26:25 -0000 On 10/16/18 11:14 AM, Jack Min wrote: > 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 > Acked-by: Yongseok Koh Acked-by: Andrew Rybchenko