aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEmil Tantilov <[email protected]>2015-12-03 23:20:06 +0000
committerJeff Kirsher <[email protected]>2016-01-08 11:57:49 +0000
commit0e4d422f5f7249324ac8d1b8e12772e530787a66 (patch)
tree7e508325a78537f2080867bae8a5b46587fb4392 /net/switchdev/switchdev.c
parentixgbe: fix broken PFC with X550 (diff)
downloadkernel-0e4d422f5f7249324ac8d1b8e12772e530787a66.tar.gz
kernel-0e4d422f5f7249324ac8d1b8e12772e530787a66.zip
ixgbe: do not call check_link for ethtool in ixgbe_get_settings()
In ixgbe_get_settings() the link status and speed of the interface are determined based on a read from the LINKS register via the call to mac.ops.check.link(). This can cause issues where external drivers may end up with unknown speed when calling ethtool_get_setings(). Instead of calling the mac.ops.check_link() we can report the speed from the adapter structure which is populated by the driver. Signed-off-by: Emil Tantilov <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions