diff options
author | Michael Chan <mchan@broadcom.com> | 2007-06-04 21:24:07 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-07 13:38:39 -0700 |
commit | 02537b0676930b1bd9aff2139e0e645c79986931 (patch) | |
tree | 28736a22d1b51d180f2c1bb9a3e845e178e8e7d3 /include/rdma | |
parent | 0aa38df7cd5b6c5b89f5146f4a2286434bc4a8f3 (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 'include/rdma')
0 files changed, 0 insertions, 0 deletions