aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2007-06-05 04:24:07 +0000
committerDavid S. Miller <[email protected]>2007-06-07 20:38:39 +0000
commit02537b0676930b1bd9aff2139e0e645c79986931 (patch)
tree28736a22d1b51d180f2c1bb9a3e845e178e8e7d3 /net/unix/af_unix.c
parent[BNX2]: Enable DMA on 5709. (diff)
downloadkernel-02537b0676930b1bd9aff2139e0e645c79986931.tar.gz
kernel-02537b0676930b1bd9aff2139e0e645c79986931.zip
[BNX2]: Fix occasional counter corruption on 5708.
The statistics block DMA on 5708 can be messed up occasionally on the average of about once per hour. If the user is reading the counters within one second after the corruption, the counters will be all messed up. One second later, the counters will be ok again until the next corruption occurs. The workaround is to disable the periodic statistics DMA. Instead, we manually trigger the DMA once a second in bnx2_timer(). This manual trigger of the DMA avoids the problem. As a consequence, we can only allow 0 or 1 second settings for ethtool -C statistics block. Thanks to Jean-Daniel Pauget <[email protected]> and CaT <[email protected]> for reporting this rare problem. Signed-off-by: Michael Chan <[email protected]> Acked-by: Jeff Garzik <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions