netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: thomas yang <lampsu@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Ethernet CRC questions
Date: Wed, 30 Dec 2009 11:37:13 +0100	[thread overview]
Message-ID: <1262169433.2247.15.camel@localhost> (raw)
In-Reply-To: <f4f837ab0912292153l7086b631o6e0012d9049eecdb@mail.gmail.com>

On Wed, 2009-12-30 at 13:53 +0800, thomas yang wrote:
> 2009/12/30 Ben Hutchings <bhutchings@solarflare.com>:
> > On Wed, 2009-12-30 at 01:17 +0800, thomas yang wrote:
> >> How does Linux  generate Ethernet CRC ?
> >> by the hardware (Ethernet controller)  or  use crc32_le() /
> >> crc32_be()     ( lib/crc32.c )  ?
> >>
> >> P.S.   my  network card is  rtl8139d  , use  8139too driver
> >
> > The Ethernet frame CRC is normally generated and verified in hardware.
> > These library functions are needed for the few MACs that don't, or where
> > the same CRC function is used for some other purpose (e.g. as a hash
> > function for multicast filtering).
> >
> 
> Does the Ethernet frame CRC (generate and verify in hardware)  make
> the TX / RX  rate  a little smaller , and a longer end-to-end  delay ?

Relative to what?

>  Could I disable CRC appending / verifying  in the network card driver
>   on all of my nodes (machines) ?

Maybe if you want switches to discard everything you send...

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


  parent reply	other threads:[~2009-12-30 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29 17:17 Ethernet CRC questions thomas yang
2009-12-29 17:39 ` Ben Hutchings
2009-12-30  5:53   ` thomas yang
2009-12-30  6:43     ` Matti Aarnio
2009-12-30 10:37     ` Ben Hutchings [this message]
2009-12-30 16:19       ` thomas yang
2009-12-30 16:29         ` Ben Hutchings

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=1262169433.2247.15.camel@localhost \
    --to=bhutchings@solarflare.com \
    --cc=lampsu@gmail.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).