[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200804142708.zjos3b6jvqjj7uas@skbuf>
Date: Tue, 4 Aug 2020 17:27:08 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: "Gaube, Marvin (THSE-TL1)" <Marvin.Gaube@...at.de>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Woojung Huh <woojung.huh@...rochip.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
edumazet@...gle.com
Subject: Re: PROBLEM: (DSA/Microchip): 802.1Q-Header lost on KSZ9477-DSA
ingress without bridge
On Tue, Aug 04, 2020 at 02:14:33PM +0000, Gaube, Marvin (THSE-TL1) wrote:
> Hello,
> I looked into it deeper, the driver does rxvlan offloading.
> By disabling it manually trough ethtool, the behavior becomes as
> expected.
>
> I've taken "net: dsa: sja1105: disable rxvlan offload for the DSA
> master" from
> (https://lore.kernel.org/netdev/20200512234921.25460-1-olteanv@gmail.com/)
> and also applied it to the KSZ9477-Driver, which fixes the problem.
> It's probably a workaround, but fixes the VLAN behavior for now. I
> would suggest also applying "ds->disable_master_rxvlan = true;" to
> KSZ9477 after the mentioned patch is merged.
>
> Best Regards
> Marvin Gaube
>
And I wanted to suggest that, but it seemed too freaky to be what's
going on.... But since ksz9477 uses a tail tag, it makes perfect sense.
My patch is in limbo because Eric, who started zeroing the skb offloaded
VLAN data in the first place, hasn't said anything.
Thanks,
-Vladimir
Powered by blists - more mailing lists