aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/image/bcm6328.mk
diff options
context:
space:
mode:
authorEtienne Champetier <champetier.etienne@gmail.com>2023-06-10 23:13:33 -0400
committerChristian Marangi <ansuelsmth@gmail.com>2023-06-20 10:55:43 +0200
commit09322f3c0ce0750f7983bfe55ec035fdd0ac9580 (patch)
tree08ffde9c6b3dda70686e2ecdd73c59a5ef817cd0 /target/linux/bmips/image/bcm6328.mk
parentac6832110ac4a6c6f2c4a789d2ab6fa4075a6bfc (diff)
downloadupstream-09322f3c0ce0750f7983bfe55ec035fdd0ac9580.tar.gz
upstream-09322f3c0ce0750f7983bfe55ec035fdd0ac9580.tar.bz2
upstream-09322f3c0ce0750f7983bfe55ec035fdd0ac9580.zip
kernel: remove bridge offload hack
This patch initially introduced in 94b4da9b4aaded6ed8a5bd93bf38a7c92753fe68 breaks mvebu devices when using vlan filtering with kernel 5.15 or 6.1, it was working ok in 5.10. With this patch, frame that should exit untagged from the switch exit tagged. Running 'tcpdump -Q out -evnnli eth1' (eth1 being the dsa interface) - with the hack, frame is sent directly to the destination port 4 with VID 2, so the switch leave the tag as instructed: 11:22:33:44:55:66 > 77:88:99:aa:bb:cc, Marvell EDSA ethertype 0xdada (Unknown), rsvd 0 0, mode From CPU, target dev 0, port 4, tagged, VID 2, FPri 0, ethertype ARP (0x0806), length 50: Ethernet (len 6), IPv4 (len 4), Request who-has 5.6.7.8 tell 1.2.3.4, length 28 - without the hack, frame is sent to the switch that performs the forwarding decision and untagging: 11:22:33:44:55:66 > 77:88:99:aa:bb:cc, Marvell EDSA ethertype 0xdada (Unknown), rsvd 0 0, mode Forward, dev 1, port 0, tagged, VID 2, FPri 0, ethertype ARP (0x0806), length 50: Ethernet (len 6), IPv4 (len 4), Request who-has 5.6.7.8 tell 1.2.3.4, length 28 Removing this patch makes my Turris Omnia usable with vlan filtering, ie wifi device can talk to wired device again. Using kernel 5.15 some broadcast/multicast traffic is still leaked (on a VLAN 2 access port I see tagged VLAN 3 frame), using kernel 6.1 fixes that. People needing the extra performance should try the bridger package. Acked-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit 244328b19c3943bb145b72f0d85062f535e56fbd)
Diffstat (limited to 'target/linux/bmips/image/bcm6328.mk')
0 files changed, 0 insertions, 0 deletions