Re: [Q] e1000 hardware checksumming support?

From: David S. Miller (davem@redhat.com)
Date: Wed Oct 16 2002 - 16:36:34 EST


   From: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
   Date: Wed, 16 Oct 2002 16:54:05 +0200
   
   Can Linux 2.4 use the hardware checksumming in the e1000 adapter?

Two things:

1) On output you only get checksumming if your applications
   use sendfile()

2) On input, since we have to copy the data anyways, we use
   csum_partial_copy because it costs the same as a memcpy.

   Actually, on some x86 cpus the checksum+copy is faster
   than the memcpy, but that is being fixed in current 2.5.x

-
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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:30 EST