From: David Miller Subject: Re: [PATCH net-next] flow_dissector: dissect tunnel info outside __skb_flow_dissect() Date: Tue, 05 Dec 2017 12:10:02 -0500 (EST) Message-ID: <20171205.121002.389030834822163749.davem@davemloft.net> References: <20171204103148.4287-1-simon.horman@netronome.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jiri@mellanox.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, netdev@vger.kernel.org, oss-drivers@netronome.com, tom@herbertland.com, willemdebruijn.kernel@gmail.com To: simon.horman@netronome.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:37254 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753063AbdLERKE (ORCPT ); Tue, 5 Dec 2017 12:10:04 -0500 In-Reply-To: <20171204103148.4287-1-simon.horman@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Simon Horman Date: Mon, 4 Dec 2017 11:31:48 +0100 > Move dissection of tunnel info to outside of the main flow dissection > function, __skb_flow_dissect(). The sole user of this feature, the flower > classifier, is updated to call tunnel info dissection directly, using > skb_flow_dissect_tunnel_info(). > > This results in a slightly less complex implementation of > __skb_flow_dissect(), in particular removing logic from that call path > which is not used by the majority of users. The expense of this is borne by > the flower classifier which now has to make an extra call for tunnel info > dissection. > > This patch should not result in any behavioural change. > > Signed-off-by: Simon Horman > Reviewed-by: Jakub Kicinski Ok, let's see where this goes :-) Applied, thanks.