diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-12-31 15:34:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 14:02:24 -0800 |
commit | 0885a30b699a2c96d892b61cc48e8ba68fe87bfc (patch) | |
tree | 870ab51f527bc7369190075682e739b274f01803 /crypto/twofish_common.c | |
parent | a016892cd6eb8d3dd9769021b088917ac7371abd (diff) | |
download | kernel_samsung_aries-0885a30b699a2c96d892b61cc48e8ba68fe87bfc.zip kernel_samsung_aries-0885a30b699a2c96d892b61cc48e8ba68fe87bfc.tar.gz kernel_samsung_aries-0885a30b699a2c96d892b61cc48e8ba68fe87bfc.tar.bz2 |
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 <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions