All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] Two phylink pause fixes
@ 2020-06-23 16:46 Russell King - ARM Linux admin
  2020-06-23 16:47 ` [PATCH net 1/2] net: phylink: fix ethtool -A with attached PHYs Russell King
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Russell King - ARM Linux admin @ 2020-06-23 16:46 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Heiner Kallweit
  Cc: David S. Miller, Jakub Kicinski, netdev

While testing, I discovered two issues with ethtool -A with phylink.
First, if there is a PHY bound to the network device, we hit a
deadlock when phylib tries to notify us of the link changing as a
result of triggering a renegotiation.

Second, when we are manually forcing the pause settings, and there
is no renegotiation triggered, we do not update the MAC via the new
mac_link_up approach.

These two patches solve both problems, and will need to be backported
to v5.7; they do not apply cleanly there due to the introduction of
PCS in the v5.8 merge window.

 drivers/net/phy/phylink.c | 45 ++++++++++++++++++++++++++++++++-------------
 1 file changed, 32 insertions(+), 13 deletions(-)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-24  3:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-23 16:46 [PATCH net 0/2] Two phylink pause fixes Russell King - ARM Linux admin
2020-06-23 16:47 ` [PATCH net 1/2] net: phylink: fix ethtool -A with attached PHYs Russell King
2020-06-23 16:47 ` [PATCH net 2/2] net: phylink: ensure manual pause mode configuration takes effect Russell King
2020-06-24  3:54 ` [PATCH net 0/2] Two phylink pause fixes David Miller

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.