From: Florian Fainelli <f.fainelli@gmail.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
netdev@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>,
Vladimir Oltean <olteanv@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH net-next 1/3] net: dsa: vsc73xx: add phylink capabilities
Date: Mon, 9 Oct 2023 13:36:18 -0700 [thread overview]
Message-ID: <fa12e9b7-1475-43f8-8f18-9b426ac941c8@gmail.com> (raw)
In-Reply-To: <E1qpnft-009Ncg-3o@rmk-PC.armlinux.org.uk>
On 10/9/23 03:39, Russell King (Oracle) wrote:
> Add phylink capabilities for vsc73xx. Although this switch driver does
> populates the .adjust_link method, dsa_slave_phy_setup() will still be
> used to create phylink instances for the LAN ports, although phylink
> won't be used for shared links.
>
> There are two different classes of switch - 5+1 and 8 port. The 5+1
> port switches uses port indicies 0-4 for the user interfaces and 6 for
> the CPU port. The 8 port is confusing - some comments in the driver
> imply that port index 7 is used, but the driver actually still uses 6,
> so that is what we go with. Also, there appear to be no DTs in the
> kernel tree that are using the 8 port variety.
>
> It also looks like port 5 is always skipped.
>
> The switch supports 10M, 100M and 1G speeds. It is not clear whether
> all these speeds are supported on the CPU interface. It also looks like
> symmetric pause is supported, whether asymmetric pause is as well is
> unclear. However, it looks like the pause configuration is entirely
> static, and doesn't depend on negotiation results.
>
> So, let's do the best effort we can based on the information found in
> the driver when creating vsc73xx_phylink_get_caps().
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
--
Florian
next prev parent reply other threads:[~2023-10-09 20:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-09 9:56 [PATCH net-next 0/3] net: dsa: remove validate method Russell King (Oracle)
2023-10-09 10:39 ` [PATCH net-next 1/3] net: dsa: vsc73xx: add phylink capabilities Russell King (Oracle)
2023-10-09 13:04 ` Linus Walleij
2023-10-09 20:36 ` Florian Fainelli [this message]
2023-10-09 10:39 ` [PATCH net-next 2/3] net: dsa: dsa_loop: " Russell King (Oracle)
2023-10-09 20:35 ` Florian Fainelli
2023-10-09 10:39 ` [PATCH net-next 3/3] net: dsa: remove dsa_port_phylink_validate() Russell King (Oracle)
2023-10-09 20:35 ` Florian Fainelli
2023-10-11 9:10 ` [PATCH net-next 0/3] net: dsa: remove validate method patchwork-bot+netdevbpf
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=fa12e9b7-1475-43f8-8f18-9b426ac941c8@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=rmk+kernel@armlinux.org.uk \
/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).