netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Jochen Friedrich <jochen@scram.de>
Cc: netdev@vger.kernel.org
Subject: Re: b53 tags on bpi-r1 (bcm53125)
Date: Thu, 23 Nov 2017 09:18:32 -0800	[thread overview]
Message-ID: <a17a2271-8a72-d7a8-704a-0cac5a6f5e73@gmail.com> (raw)
In-Reply-To: <032d2ae0-0a57-6ba5-c0a0-704bd0885202@scram.de>

Hi Jochen,

On 11/23/2017 09:05 AM, Jochen Friedrich wrote:
> Hi Florian,
> 
> 
>> 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?
> 
> Yes, that's the DTS I'm using.
> 
>> 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?
> 
> It looks like gmac doesn't have HW VLAN support.

OK, good. I was wondering if this could confuse the GMAC HW into
thinking Broadcom tags where VLAN tags.

With Broadcom tags (or any type of switch tagging protocol), eth0
becomes a conduit interface and no longer a "normal" network device for
applications/socket to use. This means that if you were obtaining an IP
address through a DHCP client using e.g: dhclient eth0, this now needs
to be replaced using dhclient lan1 for instance.

If you use the per-port network devices, do you actually see Broadcom
tags coming out of these interfaces, or is it just when you use eth0
like what you used before that you see that happening?

If this is the former, then we are still back to square one, as this
really should not happen, if this is the latter, it means we need to
update any network scripts to properly make use of DSA-enabled network
devices and use only the per-port network devices now.

Thanks!
-- 
Florian

  reply	other threads:[~2017-11-23 17:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21  8:10 b53 tags on bpi-r1 (bcm53125) Jochen Friedrich
2017-11-21 18:04 ` Florian Fainelli
2017-11-21 22:37   ` scram287
2017-11-21 23:07   ` Jochen Friedrich
2017-11-21 23:20     ` Florian Fainelli
2017-11-23 17:05       ` Jochen Friedrich
2017-11-23 17:18         ` Florian Fainelli [this message]
2017-11-23 19:14           ` Jochen Friedrich
2017-12-15  1:55             ` Florian Fainelli
2017-12-18 10:44               ` Jochen Friedrich
2017-12-29 20:21                 ` Florian Fainelli
2017-12-29 21:56                   ` Florian Fainelli
2017-12-30  3:22                     ` Florian Fainelli
2018-01-04  4:49                       ` Florian Fainelli
2018-01-08 16:51                         ` Jochen Friedrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a17a2271-8a72-d7a8-704a-0cac5a6f5e73@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=jochen@scram.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).