]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mtk_eth_soc: disable hardware DSA untagging for second MAC
authorArınç ÜNAL <arinc.unal@arinc9.com>
Sat, 28 Jan 2023 09:42:32 +0000 (12:42 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Feb 2023 19:30:41 +0000 (11:30 -0800)
commita1f47752fd6275b2502fb075945022d6cf264855
tree8e76d776d7aad5b7be9469ac9568100ba66644c9
parent63b114042d8a9c02d9939889177c36dbdb17a588
net: ethernet: mtk_eth_soc: disable hardware DSA untagging for second MAC

According to my tests on MT7621AT and MT7623NI SoCs, hardware DSA untagging
won't work on the second MAC. Therefore, disable this feature when the
second MAC of the MT7621 and MT7623 SoCs is being used.

Fixes: 2d7605a72906 ("net: ethernet: mtk_eth_soc: enable hardware DSA untagging")
Link: https://lore.kernel.org/netdev/6249fc14-b38a-c770-36b4-5af6d41c21d3@arinc9.com/
Tested-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20230128094232.2451947-1-arinc.unal@arinc9.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c