commit | 45c767faef151899ac1a5e14a59c0e0a5bdba27b | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Sat Feb 15 15:49:32 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 16 19:39:44 2020 -0800 |
tree | 5a8a490ac0c9ee68b1cfcfa5bdf675ec4bf730d5 | |
parent | a87ae8a963bde755b0962bcc18db83d611f63e7a [diff] |
net: add linkmode helper for setting flow control advertisement Add a linkmode helper to set the flow control advertisement in an ethtool linkmode mask according to the tx/rx capabilities. This implementation is moved from phylib, and documented with an analysis of its shortcomings. 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>