From: Andi Kleen <andi@firstfloor.org>
To: Rick Jones <rick.jones2@hp.com>
Cc: Andi Kleen <andi@firstfloor.org>,
Aaron Lehmann <aaronl@vitelus.com>, Jim Paris <jim@jtan.com>,
netdev@vger.kernel.org
Subject: Re: NIC data corruption
Date: Mon, 2 Apr 2007 20:07:17 +0200 [thread overview]
Message-ID: <20070402180717.GA32435@one.firstfloor.org> (raw)
In-Reply-To: <46114158.2030007@hp.com>
On Mon, Apr 02, 2007 at 10:46:00AM -0700, Rick Jones wrote:
> I changed the title to be more accurate, and culled the distribution to
> individuals and netdev
>
> The mention of trying to turn-off CKO and see if the data corruption
> goes away leads me to ask a possibly "delicate" question:
>
> Should "Linux" only enable CKO on those NICs certified to have
> ECC/parity throughout their _entire_ data path?
Even with reliable software checksumming you can have quite a lot of undetected
errors (there was a interesting study about this some years ago).
If you really care about your data you should use SSL or some
other protocol with strong checksums.
That said it would probably make quite a lot of people unhappy
because it would make their NICs much slower and the occasional
bit error that is missed by the NIC is likely not a big issue for them.
What might be a good idea would to have some optional knob
somewhere that allows to disable hardware checksumming for NICs
that are not trusted this way. But then someone would need to
do the necessary research for the hundreds of NICs Linux support
Just providing a general global "disable hardware checksumming"
knob for the paranoid would be much easier. I guess that would
be a good idea.
-Andi
next prev parent reply other threads:[~2007-04-02 18:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070401012736.GT15189@vitelus.com>
[not found] ` <20070401030315.GA24080@jim.sh>
[not found] ` <20070401043905.GV15189@vitelus.com>
2007-04-01 13:58 ` Silent corruption on AMD64 Andi Kleen
2007-04-02 17:46 ` NIC data corruption Rick Jones
2007-04-02 18:07 ` Andi Kleen [this message]
2007-04-04 5:00 ` Herbert Xu
2007-04-04 18:45 ` Silent corruption with r8169 Francois Romieu
2007-04-04 20:06 ` Aaron Lehmann
2007-04-04 20:45 ` Francois Romieu
2007-04-05 11:41 ` Andi Kleen
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=20070402180717.GA32435@one.firstfloor.org \
--to=andi@firstfloor.org \
--cc=aaronl@vitelus.com \
--cc=jim@jtan.com \
--cc=netdev@vger.kernel.org \
--cc=rick.jones2@hp.com \
/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).