Re: [NET] 64 bit byte counter for 2.6.3

From: Jeff Garzik
Date: Wed Feb 18 2004 - 18:25:02 EST


Stephen Hemminger wrote:
Do it right:
* use per-cpu long long for both bytes and packet counts
and change each driver ...
* expose both a new 64 bit and legacy 32 bit /proc interface
* no tools use /sys yet, so that needs to show long long
* have both a get_stats and get_stats64 hook in netdevice so not all drivers
have to be converted at once.


Yep.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/