]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ixgbe: cache AUTOC reads
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 12 Apr 2013 08:36:42 +0000 (08:36 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Apr 2013 02:13:09 +0000 (19:13 -0700)
commit5e82f2f07645ef2d8db837ebe907dfbb33d18a1e
treeb2b05493ba73a6b456b4d892e075451003a52804
parent26b4742beaf18456195eeda1b8f59547f5569ac7
ixgbe: cache AUTOC reads

This patch removes majority of the AUTOC register reads by using a cached
value instead.

The reason for this change is to avoid writing corrupted values to AUTOC
due to bad FW.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h