From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] nfp: flower: set tunnel ttl value to net default Date: Tue, 01 May 2018 19:04:55 -0400 (EDT) Message-ID: <20180501.190455.1836576340094446679.davem@davemloft.net> References: <20180501224949.23240-1-jakub.kicinski@netronome.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, oss-drivers@netronome.com, john.hurley@netronome.com To: jakub.kicinski@netronome.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:52060 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbeEAXE5 (ORCPT ); Tue, 1 May 2018 19:04:57 -0400 In-Reply-To: <20180501224949.23240-1-jakub.kicinski@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Jakub Kicinski Date: Tue, 1 May 2018 15:49:49 -0700 > From: John Hurley > > Firmware requires that the ttl value for an encapsulating ipv4 tunnel > header be included as an action field. Prior to the support of Geneve > tunnel encap (when ttl set was removed completely), ttl value was > extracted from the tunnel key. However, tests have shown that this can > still produce a ttl of 0. > > Fix the issue by setting the namespace default value for each new tunnel. > Follow up patch for net-next will do a full route lookup. > > Fixes: 3ca3059dc3a9 ("nfp: flower: compile Geneve encap actions") > Fixes: b27d6a95a70d ("nfp: compile flower vxlan tunnel set actions") > Signed-off-by: John Hurley > Reviewed-by: Jakub Kicinski Applied and queued up for -stable.