From: thomas yang <lampsu@gmail.com>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: netdev@vger.kernel.org
Subject: Re: Ethernet CRC questions
Date: Wed, 30 Dec 2009 13:53:09 +0800 [thread overview]
Message-ID: <f4f837ab0912292153l7086b631o6e0012d9049eecdb@mail.gmail.com> (raw)
In-Reply-To: <1262108376.5941.5.camel@localhost>
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 ?
Could I disable CRC appending / verifying in the network card driver
on all of my nodes (machines) ?
Thanks.
--
Thomas
next prev parent reply other threads:[~2009-12-30 5:53 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 [this message]
2009-12-30 6:43 ` Matti Aarnio
2009-12-30 10:37 ` Ben Hutchings
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=f4f837ab0912292153l7086b631o6e0012d9049eecdb@mail.gmail.com \
--to=lampsu@gmail.com \
--cc=bhutchings@solarflare.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).