lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1262108376.5941.5.camel@localhost>
Date:	Tue, 29 Dec 2009 18:39:36 +0100
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	thomas yang <lampsu@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: Ethernet CRC questions

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).

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.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ