OSDN Git Service

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)
commit0275875530f692c725c6f993aced2eca2d6ac50c
tree80a99ec14173d14095e261890736496170cebe8f
parent41b14fb8724d5a4b382a63cb4a1a61880347ccb8
parent2e919bc446faee429ac862a6cdb5e40017051f6b
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>