[Intel-wired-lan] [PATCH] ixgbe: do not call check_link for ethtool in ixgbe_get_settings()
Schmitt, Phillip J
phillip.j.schmitt at intel.com
Fri Jan 8 01:31:27 UTC 2016
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Thursday, December 03, 2015 3:20 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] 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 <emil.s.tantilov at intel.com>
> ---
Tested-by: Phil Schmitt <phillip.j.schmitt at intel.com>
More information about the Intel-wired-lan
mailing list