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)
commit3dbdf96928dcdece134113c8ffa137f1a3b5dd88
tree3356f57ad9289582e9f138205cef96a8df0a47a9
parentf557147c4615f5e03abb673bd566901783565666
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