All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Ansuel Smith <ansuelsmth@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Jakub Kicinski <kuba@kernel.org>,
	netdev@vger.kernel.org, Vivien Didelot <vivien.didelot@gmail.com>,
	Vladimir Oltean <olteanv@gmail.com>
Subject: Re: [PATCH CFT net-next 0/6] net: dsa: qca8k: convert to phylink_pcs and mark as non-legacy
Date: Tue, 8 Feb 2022 15:27:41 +0000	[thread overview]
Message-ID: <YgKL7VK95d/0UgHS@shell.armlinux.org.uk> (raw)
In-Reply-To: <YgKJxKBF6/i2k0tR@Ansuel-xps.localdomain>

On Tue, Feb 08, 2022 at 04:18:28PM +0100, Ansuel Smith wrote:
> On Tue, Feb 08, 2022 at 03:11:30PM +0000, Russell King (Oracle) wrote:
> > This series adds support into DSA for the mac_select_pcs method, and
> > converts qca8k to make use of this, eventually marking qca8k as non-
> > legacy.
> > 
> > Patch 1 adds DSA support for mac_select_pcs.
> 
> Was thinking... Is it possible to limit the polling just to sgmii/basex?
> Would save some overhead in the case fixed-rate is set and the link
> never change.

With this series, the decision to poll comes from the PCS "poll" member
when in inband mode. The PCS is selected by the mac_select_pcs
callback, which for this DSA device, will only be returned for SGMII or
1000BASE-X. Consequently, phylink will only poll the PCS if we are in
SGMII or 1000BASE-X mode.

Note that this polling has only be done if we're in inband mode and the
PCS requires polling, or in fixed-link mode if we have an IRQ-less GPIO
for link# state, or if poll_fixed_state is set in phylink_config.

PS, if you would like to ensure you're copied on patches to qca8k,
please add an entry in MAINTAINERS for this driver - I had to dig
through git history to try and work out who was maintaining this
driver. Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

      reply	other threads:[~2022-02-08 15:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-08 15:11 [PATCH CFT net-next 0/6] net: dsa: qca8k: convert to phylink_pcs and mark as non-legacy Russell King (Oracle)
2022-02-08 15:11 ` [PATCH CFT net-next 1/6] net: dsa: add support for phylink mac_select_pcs() Russell King (Oracle)
2022-02-08 15:11 ` [PATCH CFT net-next 2/6] net: dsa: qca8k: move qca8k_setup() Russell King (Oracle)
2022-02-08 15:12 ` [PATCH CFT net-next 3/6] net: dsa: qca8k: move qca8k_phylink_mac_link_state() Russell King (Oracle)
2022-02-08 15:12 ` [PATCH CFT net-next 4/6] net: dsa: qca8k: convert to use phylink_pcs Russell King (Oracle)
2022-02-08 15:12 ` [PATCH CFT net-next 5/6] net: dsa: qca8k: move pcs configuration Russell King (Oracle)
2022-02-08 15:12 ` [PATCH CFT net-next 6/6] net: dsa: qca8k: mark as non-legacy Russell King (Oracle)
2022-02-08 15:18 ` [PATCH CFT net-next 0/6] net: dsa: qca8k: convert to phylink_pcs and " Ansuel Smith
2022-02-08 15:27   ` Russell King (Oracle) [this message]

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=YgKL7VK95d/0UgHS@shell.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=ansuelsmth@gmail.com \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=vivien.didelot@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.