From: stephen hemminger Date: Fri, 31 Dec 2010 15:34:27 +0000 (+0000) Subject: sky2: implement 64 bit stats X-Git-Tag: v2.6.38-rc1~476^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0885a30b699a2c96d892b61cc48e8ba68fe87bfc;p=pandora-kernel.git sky2: implement 64 bit stats This implements 64 bit statistics support and fixes races when reading counter values. The PHY counters can only be accessed 16 bits at a time, so they are subject to carry races. NB: * TX/RX counters are maintained in software because the the hardware packet count is only a 32 bit value. * Error counters are really only 32 bit. * Old 32 bit counter fields in dev->stats still used for some software counters Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed