[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201001235156.qtaftzw7oelfucci@skbuf>
Date: Thu, 1 Oct 2020 23:51:57 +0000
From: Vladimir Oltean <vladimir.oltean@....com>
To: Florian Fainelli <f.fainelli@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next v2] net: dsa: Support bridge 802.1Q while
untagging
On Thu, Oct 01, 2020 at 04:48:43PM -0700, Florian Fainelli wrote:
> > - move dsa_untag_bridge_pvid() after eth_type_trans(), similar to what
> > you did in your initial patch - maybe this is the cleanest
>
> This would be my preference and it would not be hurting the fast-path that
> much.
Ok, let's do that. You can also replace the hdr->h_vlan_proto with
skb->protocol in that case, and remove this:
struct vlan_ethhdr *hdr = vlan_eth_hdr(skb);
Thanks!
-Vladimir
Powered by blists - more mailing lists