diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-10-27 23:48:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 03:25:43 -0700 |
commit | 3f9c01648146a256d8238292ac9c63fed7e00473 (patch) | |
tree | a9c313ab74f20c4dc3705a502aa1f73baac48dc7 /drivers/net/smc-ultra32.c | |
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>
Diffstat (limited to 'drivers/net/smc-ultra32.c')
0 files changed, 0 insertions, 0 deletions