ixgbe: Fix tx_restart_queue/non_eop_desc statistics counters
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Tue, 15 Dec 2009 11:56:59 +0000 (11:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2009 07:18:25 +0000 (23:18 -0800)
commiteb985f09b2a189bde80550e410ddfc28c4276c53
tree7fca198a4e2aba89a5f0babc3d0e2efd1d8bbd71
parenta3f92eea04101d9a8e14d50f8048cc5b7bca07a8
ixgbe: Fix tx_restart_queue/non_eop_desc statistics counters

Fix the restart_queue and non_eop_desc counters from being
double-counted.  They are cumulative in each ring, so we don't want to
add them to the cumulative result in the adapter's master counter.
Otherwise, the stats will be inaccurate

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c