[E1000]: update netstats traffic counters realtime
authorAuke Kok <auke-jan.h.kok@intel.com>
Wed, 14 Nov 2007 04:49:15 +0000 (20:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:49 +0000 (15:03 -0800)
commitef90e4eca9fcade05dd03f853df75cf459a75422
tree1285956c5b0d31ac19ff561f08e826c5915963f2
parent419886927796dfeca87c1fd11d1fe2ed442103cc
[E1000]: update netstats traffic counters realtime

formerly e1000/e1000e only updated traffic counters once every
2 seconds with the register values of bytes/packets. With newer
code however in the interrupt and polling code we can real-time
fill in these values in the netstats struct for users to see.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c