summaryrefslogtreecommitdiffstats
path: root/lib/ts_bm.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-28 00:48:12 +0100
committerDavid S. Miller <davem@davemloft.net>2009-10-28 11:25:43 +0100
commit3f9c01648146a256d8238292ac9c63fed7e00473 (patch)
treea9c313ab74f20c4dc3705a502aa1f73baac48dc7 /lib/ts_bm.c
parentigb: move vf init into a seperate function (diff)
downloadlinux-3f9c01648146a256d8238292ac9c63fed7e00473.tar.xz
linux-3f9c01648146a256d8238292ac9c63fed7e00473.zip
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 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions