Thread (19 messages) flat view 19 messages, 7 authors, 2017-12-02

Re: [EXT] Re: [PATCH net] net: phylink: fix link state on phy-connect

From: Russell King - ARM Linux <linux@armlinux.org.uk>
Date: 2017-11-29 21:20:55
Also in: lkml

On Wed, Nov 29, 2017 at 09:06:56PM +0000, Yan Markman wrote:
The attached p21 patch doesn't change anything.
But another one from the mail-text is good
	void phylink_disconnect_phy(struct phylink *pl)
	+		pl->phy_state.link = false;

There still (not for my MRVL-PP2) problem:
	It is expected that on  ifconfig-down the callback
		pl->ops->mac_link_down(ndev, pl->link_an_mode);
would be called, but it isn't
Are you calling phylink_stop() or are you just calling phylink_disconnect() ?

You must call phylink_stop() prior to phylink_disconnect().  This
probably explains why the p21 patch did nothing.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help