]> Git Repo - linux.git/commit
net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging
authorFelix Fietkau <[email protected]>
Wed, 26 Apr 2023 17:21:53 +0000 (19:21 +0200)
committerJakub Kicinski <[email protected]>
Wed, 3 May 2023 03:19:52 +0000 (20:19 -0700)
commitc6d96df9fa2c1d19525239d4262889cce594ce6c
treecafda7a8400b6537e2532ddd470094c0f6853640
parentfb7cba61919ada54d088870dd173c61b6b372873
net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging

Through testing I found out that hardware vlan rx offload support seems to
have some hardware issues. At least when using multiple MACs and when
receiving tagged packets on the secondary MAC, the hardware can sometimes
start to emit wrong tags on the first MAC as well.

In order to avoid such issues, drop the feature configuration and use
the offload feature only for DSA hardware untagging on MT7621/MT7622
devices where this feature works properly.

Fixes: 08666cbb7dd5 ("net: ethernet: mtk_eth_soc: add support for configuring vlan rx offload")
Tested-by: Frank Wunderlich <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Frank Wunderlich <[email protected]>
Tested-by: Arınç ÜNAL <[email protected]>
Acked-by: Arınç ÜNAL <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h
This page took 0.060828 seconds and 4 git commands to generate.