[Intel-wired-lan] [net] ixgbevf: Use cached link state instead of re-reading the value for ethtool

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jun 19 23:21:23 UTC 2019

> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Wednesday, June 19, 2019 9:59 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Alexander Duyck <alexander.h.duyck at linux.intel.com>; Guilherme
> Piccoli <gpiccoli at canonical.com>
> Subject: [Intel-wired-lan] [net] ixgbevf: Use cached link state instead of re-
> reading the value for ethtool
> From: Alexander Duyck <alexander.h.duyck at linux.intel.com>
> Change the ethtool link settings call to just read the cached state out of the
> adapter structure instead of trying to recheck the value from the PF.
> Doing this should prevent excessive reading of the mailbox.
> Signed-off-by: Alexander Duyck <alexander.h.duyck at linux.intel.com>
> Reviewed-by: Guilherme Piccoli <gpiccoli at canonical.com>
> ---
>  drivers/net/ethernet/intel/ixgbevf/ethtool.c |   10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>

More information about the Intel-wired-lan mailing list