netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* checksum offloading
@ 2003-11-10 11:29 francois donzet
  2003-11-11  2:13 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: francois donzet @ 2003-11-10 11:29 UTC (permalink / raw)
  To: netdev


Hi,

i have a little question : 

When tcp checksum offloading is enabled, the chip
computes a sum on all words of the packet contents and
stores the result in skb->csum, setting skb->ip_summed
to CHECKSUM_HW. (see for example, e100_main.c)

Then, when packet reaches tcp layer, via
tcp_checksum_init(), tcp checksum is verified (using
together skb->csum and the pseudo header checksum).

How does TCP deal with skb->csum, as it doesn't cover
only the tcpheader+data (but ipheader+tcpheader+data)

Thanks.



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: checksum offloading
  2003-11-10 11:29 checksum offloading francois donzet
@ 2003-11-11  2:13 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-11-11  2:13 UTC (permalink / raw)
  To: francois donzet; +Cc: netdev


I would like to ask that you not send out your questions
to all the mailing lists _AND_ privately to every developer
you can find an email address for.

This is rude and greatly _DECREASES_ the likelyhood that
someone will bother to answer your question.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-11  2:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 11:29 checksum offloading francois donzet
2003-11-11  2:13 ` David S. Miller

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