]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Two-phylink-pause-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:53:28 +0000 (20:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:53:28 +0000 (20:53 -0700)
commitc84cf98d931f7712d4cbad3a5f41a186bc2b76a3
tree80a99ec14173d14095e261890736496170cebe8f
parentfeaae454e18242bfa6e5530811501a198a4776a9
parent4525047dd787c72fc8ec780b2cb932d6fcb8be74
Merge branch 'Two-phylink-pause-fixes'

Russell King says:

====================
Two phylink pause fixes

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>