[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200804075329.47dba2c8@elisabeth>
Date: Tue, 4 Aug 2020 07:53:29 +0200
From: Stefano Brivio <sbrivio@...hat.com>
To: David Ahern <dsahern@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Florian Westphal <fw@...len.de>,
Aaron Conole <aconole@...hat.com>,
Numan Siddique <nusiddiq@...hat.com>,
Jakub Kicinski <kuba@...nel.org>,
Pravin B Shelar <pshelar@....org>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>,
Lourdes Pedrajas <lu@...o.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 3/6] vxlan: Support for PMTU discovery on
directly bridged links
On Mon, 3 Aug 2020 17:48:48 -0600
David Ahern <dsahern@...il.com> wrote:
> On 8/3/20 2:52 PM, Stefano Brivio wrote:
> > + err = skb_tunnel_check_pmtu(skb, ndst, VXLAN_HEADROOM,
> > + netif_is_bridge_port(dev) ||
> > + netif_is_ovs_port(dev));
>
> you have this check in a few places. Maybe a new helper like
> netif_is_any_bridge_port that can check both IFF flags in 1 go.
Ah, yes, good idea, added to 1/6 v2 as it's where it's needed now.
--
Stefano
Powered by blists - more mailing lists