]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Fix stats output on i210/i211 parts.
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 12 Sep 2012 04:36:24 +0000 (04:36 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 22 Sep 2012 08:49:41 +0000 (01:49 -0700)
commitd48a6a0e313ff8e0f074e0b9f3ff651abbfa4743
tree3356f57ad9289582e9f138205cef96a8df0a47a9
parenta2ac483965c4ce7886244f98febd3c52a3c806fe
igb: Fix stats output on i210/i211 parts.

Due to a hardware issue, on i210 and i211 parts, the TNCRS statistic
provides an invalid value.  This patch changes the update stats function
to increment the stat only for non-i210/i211 parts.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c