kernel: mtk_eth_soc: fix tx vlan tag for llc packets
authorFelix Fietkau <[email protected]>
Sun, 31 Aug 2025 18:28:52 +0000 (20:28 +0200)
committerFelix Fietkau <[email protected]>
Sun, 31 Aug 2025 18:29:45 +0000 (20:29 +0200)
commitf7d40365558f3426b85be35f1f2ba7d01df96dd0
treef153c449680edc1c53c04bca77a049e8bb9aef8c
parente1564c4fab103bb322cf8f73310e518bd81cf3fe
kernel: mtk_eth_soc: fix tx vlan tag for llc packets

When sending llc packets with vlan tx offload, the hardware fails to
actually add the tag. Deal with this by fixing it up in software.

Fixes: https://github.com/openwrt/openwrt/issues/19916
Reported-by: Thibaut VARENE <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
target/linux/generic/hack-6.12/730-net-ethernet-mtk_eth_soc-add-hw-dump-for-forced-rese.patch
target/linux/generic/hack-6.6/730-net-ethernet-mtk_eth_soc-add-hw-dump-for-forced-rese.patch
target/linux/generic/pending-6.12/742-net-ethernet-mtk_eth_soc-fix-tx-vlan-tag-for-llc-pac.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/742-net-ethernet-mtk_eth_soc-fix-tx-vlan-tag-for-llc-pac.patch [new file with mode: 0644]