Re: [PATCH net-next] net: dsa: sja1105: disable rxvlan offload for the DSA master
From: David Miller
Date: Thu May 14 2020 - 18:20:26 EST
From: Vladimir Oltean <olteanv@xxxxxxxxx>
Date: Wed, 13 May 2020 02:49:21 +0300
> From: Vladimir Oltean <vladimir.oltean@xxxxxxx>
>
> On sja1105 operating in best_effort_vlan_filtering mode (when the TPID
> of the DSA tags is 0x8100), it can be seen that __netif_receive_skb_core
> calls __vlan_hwaccel_clear_tag right before passing the skb to the DSA
> packet_type handler.
>
> This means that the tagger does not see the VLAN tag in the skb, nor in
> the skb meta data.
>
> The patch that started zeroing the skb VLAN tag is:
>
> commit d4b812dea4a236f729526facf97df1a9d18e191c
> Author: Eric Dumazet <edumazet@xxxxxxxxxx>
> Date: Thu Jul 18 07:19:26 2013 -0700
>
> vlan: mask vlan prio bits
Again, Eric, please review.