commit | cce62943c08ef9fcf3880d7babf76f9e86c9cdbd | [log] [tgz] |
---|---|---|
author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | Wed Aug 28 17:08:14 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 29 16:52:12 2019 -0700 |
tree | 981d343d40d29a7c91785e41864e8f5ab81c4472 | |
parent | f7fe7e3d19e8d529f33aec6b9d824156e1a6e0fc [diff] |
dpaa2-eth: Use stored link settings Whenever a link state change occurs, we get notified and save the new link settings in the device's private data. In ethtool get_link_ksettings, use the stored state instead of interrogating the firmware each time. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>