summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/mac.c
diff options
context:
space:
mode:
authorAlexander Duyck2019-06-19 18:58:53 +0200
committerJeff Kirsher2019-06-29 01:00:13 +0200
commit1e1b0c658d9bb364b4a2a4b08a760d3e4c239bdc (patch)
treea047c4675a498ebd50195f21be52fbd0b5e34030 /drivers/net/ethernet/intel/e1000e/mac.c
parentiavf: fix dereference of null rx_buffer pointer (diff)
downloadkernel-qcow2-linux-1e1b0c658d9bb364b4a2a4b08a760d3e4c239bdc.tar.gz
kernel-qcow2-linux-1e1b0c658d9bb364b4a2a4b08a760d3e4c239bdc.tar.xz
kernel-qcow2-linux-1e1b0c658d9bb364b4a2a4b08a760d3e4c239bdc.zip
ixgbevf: Use cached link state instead of re-reading the value for ethtool
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@linux.intel.com> Reviewed-by: "Guilherme G. Piccoli" <gpiccoli@canonical.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/mac.c')
0 files changed, 0 insertions, 0 deletions