Thread (20 messages) 20 messages, 5 authors, 2020-02-27

Re: [PATCH net-next v2 1/8] net: phylink: propagate resolved link config via mac_link_up()

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2020-02-26 18:22:52
Also in: linux-doc, linux-mediatek, netdev

On Wed, 26 Feb 2020 at 20:21, Vladimir Oltean [off-list ref] wrote:
On Wed, 26 Feb 2020 at 15:36, Russell King - ARM Linux admin
[off-list ref] wrote:
quoted

dpaa2 is complicated by the firmware, and that we can't switch the
interface mode between (SGMII,1000base-X) and 10G.

If the firmware is in "DPMAC_LINK_TYPE_PHY" mode, it expects to be told
the current link parameters via the dpmac_set_link_state() call - it
isn't clear whether that needs to be called for other modes with the
up/down state (firmware API documentation is poor.)
With PCS control in Linux, I am pretty sure that you don't want
anything other than DPMAC_LINK_TYPE_PHY anyway.
Basically in DPMAC_LINK_TYPE_FIXED, the MC firmware is in control of
the PCS and polls its link state to emit link notifications to objects
connected to the DPMAC. So Linux control of PCS would class with
s/class/clash/
firmware control of the PCS, leading to undesirable side-effects to
say the least.
quoted
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
Regards,
-Vladimir
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help