[vortex] 3c905C CRC check status.

Rodrigo Severo rodrigo.lists@fabricadeideias.com
Thu Oct 23 08:18:01 2003


Donald Becker wrote:

>On Wed, 22 Oct 2003, Rodrigo Severo wrote:
>
>>one gets to believe
>>it does but after my quick look at 3c59x.c from Donald Becker, I started 
>>to doubt it. Or at least this driver seems not to use it. Or am I all wrong?
>>    
>>
>
>The 3c905 implement is very clean, so there are not may lines of code.
>But the comment is very clear "hardware checksum"
>
>	skb->protocol = eth_type_trans(skb, dev);
>	{			/* Use hardware checksum info. */
>		int csum_bits = rx_status & 0xee000000;
>		if (csum_bits &&
>			(csum_bits == (IPChksumValid | TCPChksumValid) ||
>			 csum_bits == (IPChksumValid | UDPChksumValid))) {
>			skb->ip_summed = CHECKSUM_UNNECESSARY;
>			rx_csumhits++;
>		}
>	}
>	netif_rx(skb);
>  
>
Yeah, I should have taken a not so "quick look" at the code. Thanks for 
your info.

On a side and kind of misplaced note, I would like to collect opinions 
on the best options for server 100 Mbps network boards. I'm looking for 
reliable, non-IPSec and resource savvy boards. And one of my servers 
will need 5 or 6 of them. According to <http://www.fefe.de/linuxeth/> 
the way to got nowadays is 3Com 3c905C. But maybe I should know better :)


Rodrigo

-- 
----------------------------------------------------
Rodrigo Severo
Fábrica de Idéias
Fone: +55(61)321 1357
Fax: +55(61)223 1712
SBS - Quadra 2 - Ed. Empire Center - Sala 1301
Brasília/DF - Brasil
CEP: 70.070-904
----------------------------------------------------