From: David Miller <davem@davemloft.net>
To: mchan@broadcom.com
Cc: andy@greyhouse.net, netdev@vger.kernel.org, jd@disjunkt.com,
cat@zip.com.au
Subject: Re: [4/5][BNX2]: Fix occasional counter corruption on 5708.
Date: Mon, 04 Jun 2007 21:24:17 -0700 (PDT) [thread overview]
Message-ID: <20070604.212417.08667756.davem@davemloft.net> (raw)
In-Reply-To: <1181001668.5275.15.camel@dell>
From: "Michael Chan" <mchan@broadcom.com>
Date: Mon, 04 Jun 2007 17:01:08 -0700
> [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>
Applied.
prev parent reply other threads:[~2007-06-05 4:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-05 0:01 [4/5][BNX2]: Fix occasional counter corruption on 5708 Michael Chan
2007-06-05 4:24 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070604.212417.08667756.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andy@greyhouse.net \
--cc=cat@zip.com.au \
--cc=jd@disjunkt.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).