OpenCloudOS-Kernel/drivers/net/benet
Sathya Perla 4097f663cb be2net: cleanup rx/tx rate calculations
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>
2009-03-24 16:40:13 -07:00
..
Kconfig net: Add be2net driver. 2009-03-11 23:32:22 -07:00
Makefile net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be.h be2net: cleanup rx/tx rate calculations 2009-03-24 16:40:13 -07:00
be_cmds.c net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_cmds.h net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_ethtool.c net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_hw.h net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be_main.c be2net: cleanup rx/tx rate calculations 2009-03-24 16:40:13 -07:00