lkml.org 
[lkml]   [2001]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: best zero-copy example?

Albert D. Cahalan writes:
>
> What would be the cleanest driver that does everything right?

All of 3c59x, acenic, sunhme, sungem do all of ipv4 right.

sunhme and sungem get ipv6 right as well because they just treat the
checksummed area as an opaque buffer, whereas the other chips really
do checksummming in an ipv4 specific way.

You can check for this "ipv4 only checksumming" feature attribute
being set in the driver, via NETIF_F_IP_CSUM.

The smarter chips which checksum in a protocol independant way will
use NETIF_F_HW_CSUM.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.077 / U:1.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site