From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: b53 tags on bpi-r1 (bcm53125) Date: Tue, 21 Nov 2017 15:20:02 -0800 Message-ID: References: <7c533a63-72e5-de68-99ff-8595492993a8@scram.de> <86b7ba4c-e632-f35b-647b-fdba93f2e0ed@gmail.com> <20171122000755.Horde.TwGdUCPMaJtOjf5NBNmIJXz@webmail.scram.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Jochen Friedrich Return-path: Received: from mail-wr0-f181.google.com ([209.85.128.181]:41116 "EHLO mail-wr0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbdKUXUI (ORCPT ); Tue, 21 Nov 2017 18:20:08 -0500 Received: by mail-wr0-f181.google.com with SMTP id z14so12840287wrb.8 for ; Tue, 21 Nov 2017 15:20:07 -0800 (PST) In-Reply-To: <20171122000755.Horde.TwGdUCPMaJtOjf5NBNmIJXz@webmail.scram.de> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 11/21/2017 03:07 PM, Jochen Friedrich wrote: > Hallo Florian, > >> - what is the value of page 02, register 3 during b53_switch_detect()? A >> managed switch should have this set to 0x3, whereas I would expect an >> unmanaged switch to be 0x0 > > The register has the value 3. OK, because this is a 53125S, it should support Broadcom tags correctly, not clear yet what is happening. Just to make sure, you are using arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts as the DTS for this platform, right? If so, can you provide the ethtool -k eth0 output and/or see if disabling HW VLAN tag support for eth0 helps in any way? -- Florian