[FS#3827] dsa: bcm53012: improper frames arrive, break communication (Attachment added)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed May 26 06:12:29 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Arınç (arinc90) 

Attached to Project - OpenWrt/LEDE Project
Summary - dsa: bcm53012: improper frames arrive, break communication
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Device: Asus RT-AC88U
OpenWrt: trunk at commit efee640716ed4f3273ea3e24e0b0b0d9b792433a with my additions for device support for Asus RT-AC88U. Device support commit: https://github.com/arinc9/openwrt/commit/05053824d5cd2dfb68ea53a5463a76499882f204

Communication is broken using DSA driver for BCM53012 switch.
Packets arrive with wrong EtherType, `eth:ethertype:data`
Only some types of ICMPv6 packets arrive properly.

A packet capture from a PC listening on one of the LAN ports is in the attachments.
ARP packets are sent from the router to all LAN ports.

B53, NET_DSA_TAG_BRCM_COMMON, NET_DSA_TAG_BRCM & NET_DSA_TAG_BRCM_PREPEND are enabled and swconfig driver is disabled on kernel menuconfig.

RT-AC88U uses port 7 & eth1 for CPU. Communication works fine on swconfig driver.

The issue might be reproduced on any devices using a BCM53012 switch, such as Linksys EA9500 (Linksys Panamera).

DT of RT-AC88U for BCM53012 configuration:

&srab {
	compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab";
	status = "okay";
	dsa,member = ;

	ports {
		#address-cells = ;
		#size-cells = ;

		port at 0 {
			reg = ;
			label = "lan4";
		};

		port at 1 {
			reg = ;
			label = "lan3";
		};

		port at 2 {
			reg = ;
			label = "lan2";
		};

		port at 3 {
			reg = ;
			label = "lan1";
		};

		port at 4 {
			reg = ;
			label = "wan";
		};

		port at 5 {
			reg = ;
			ethernet = ;
			label = "cpu";
			status = "disabled";

			fixed-link {
				speed = ;
				full-duplex;
			};
		};

		port at 7 {
			reg = ;
			ethernet = ;
			label = "cpu";

			fixed-link {
				speed = ;
				full-duplex;
			};
		};

		port at 8 {
			reg = ;
			ethernet = ;
			label = "cpu";
			status = "disabled";

			fixed-link {
				speed = ;
				full-duplex;
			};
		};
	};
};



One or more files have been attached.

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3827

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list