commit | 3f9c01648146a256d8238292ac9c63fed7e00473 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Oct 27 23:48:12 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 28 03:25:43 2009 -0700 |
tree | a9c313ab74f20c4dc3705a502aa1f73baac48dc7 | |
parent | a6b623e0e5787ba5ffd2a3c4448ff6d1eaa904a9 [diff] |
igb: only process global stats in igb_update_stats This patch moves the update of adapter->net_stats.rx/tx values out of the interrupt routine and into igb_update_stats by just adding together the tx/rx byte/packet counts for the rings. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>