]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: allow ethtool -A to change flow control advertisement
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 15 Feb 2020 15:49:58 +0000 (15:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:39:45 +0000 (19:39 -0800)
commitc1703532515b2468b45f080c82e151b54251faae
tree8fce6791bb2fc7c40f738ab9b5b5fcc35034a061
parent4cb62da4bd5d4a46a7b800b551536357e092b97c
net: phylink: allow ethtool -A to change flow control advertisement

When ethtool -A is used to change the pause modes, the pause
advertisement is not being changed, but the documentation in
uapi/linux/ethtool.h says we should be. Add that capability to
phylink.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c