lkml.org 
[lkml]   [2020]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] net: dsa: sja1105: disable rxvlan offload for the DSA master
From
From: Vladimir Oltean <olteanv@gmail.com>
Date: Wed, 13 May 2020 02:49:21 +0300

> From: Vladimir Oltean <vladimir.oltean@nxp.com>
>
> 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

Eric, please review.

\
 
 \ /
  Last update: 2020-05-13 03:04    [W:1.253 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site