[E1000E]: update netstats traffic counters realtime
authorAuke Kok <auke-jan.h.kok@intel.com>
Wed, 14 Nov 2007 04:48:36 +0000 (20:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:49 +0000 (15:03 -0800)
commit419886927796dfeca87c1fd11d1fe2ed442103cc
tree43409e3e85e5a5f2be66ef9f47d146e282ba9b5b
parent9a6c686799346b6c95405c9e051f5023873504fa
[E1000E]: 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/e1000e/netdev.c