be2net: cleanup rx/tx rate calculations
authorSathya Perla <sathyap@serverengines.com>
Tue, 24 Mar 2009 23:40:13 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2009 23:40:13 +0000 (16:40 -0700)
Hi, Pls accept this patch to cleanup rx/tx rate calculations as follows:
- check for jiffies wraparound
- remove typecast of a denominator
- do rate calculation only in workqueue context periodically

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found