]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitaad2aa23b307097bd777ca72483cf154c1d87f7b
tree43409e3e85e5a5f2be66ef9f47d146e282ba9b5b
parent55a73e9afb99fe7e9c4c206bb813e77c7b2cadda
[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