diff options
author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | 2019-08-28 17:08:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-30 02:52:12 +0300 |
commit | cce62943c08ef9fcf3880d7babf76f9e86c9cdbd (patch) | |
tree | 981d343d40d29a7c91785e41864e8f5ab81c4472 /drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h | |
parent | f7fe7e3d19e8d529f33aec6b9d824156e1a6e0fc (diff) | |
download | linux-cce62943c08ef9fcf3880d7babf76f9e86c9cdbd.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h')
0 files changed, 0 insertions, 0 deletions