aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-06-04 21:24:07 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-07 13:38:39 -0700
commit02537b0676930b1bd9aff2139e0e645c79986931 (patch)
tree28736a22d1b51d180f2c1bb9a3e845e178e8e7d3 /net/ipv4
parent0aa38df7cd5b6c5b89f5146f4a2286434bc4a8f3 (diff)
[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 <jd@disjunkt.com> and CaT <cat@zip.com.au> for reporting this rare problem. Signed-off-by: Michael Chan <mchan@broadcom.com> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions