mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dennis Cook" <cook@sandgate.com>
To: "Jeff Garzik" <jgarzik@pobox.com>
Cc: <linux-kernel@vger.kernel.org>, <kernelnewbies@nl.linux.org>
Subject: RE: Deactivating TCP checksumming
Date: Thu, 3 Apr 2003 15:57:53 -0500	[thread overview]
Message-ID: <IJEHKLJHMGFNGKMEBBFNMEIICBAA.cook@sandgate.com> (raw)
In-Reply-To: <3E8C9DDD.3080205@pobox.com>

In the 3c59x.c, e1000, and other adapter drivers, ip_summed is
what is being checked for value CHECKSUM_HW when sending
a packet.

> -----Original Message-----
> From: Jeff Garzik [mailto:jgarzik@pobox.com]
> Sent: Thursday, April 03, 2003 03:47 PM
> To: Dennis Cook
> Cc: linux-kernel@vger.kernel.org; kernelnewbies@nl.linux.org
> Subject: Re: Deactivating TCP checksumming
> 
> 
> Dennis Cook wrote:
> > Based on various feedback, on my RH Linux 2.4.18 kernel I tried the
> > following:
> > 
> > Set "features" bit NETIF_F_IP_CSUM set (the only feature bit set).
> > In my network driver start-transmit check for "CHECKSUM_HW" in 
> ip_summed.
> > Using a small test program, use "sendfile" to copy a file to a network
> > socket FD.
> > Result is none of the packets presented to my network adapter 
> driver have
> > ip_summed set to CHECKSUM_HW, so the SW IP stack has already
> > computed checksums.
> 
> CHECKSUM_HW is for receive, not transmit.  Read the comments at the top 
> of include/linux/skbuff.h.
> 
> 
> > Is this mechanism possibly broken on kernel 2.4?
> 
> 
> it works quite well.
> 
> 	Jeff
> 
> 
> 
> 


  reply	other threads:[~2003-04-03 20:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 12:12 shesha bhushan
2003-04-01 12:28 ` Matti Aarnio
2003-04-02 19:22   ` Dennis Cook
2003-04-02 20:36     ` Jeff Garzik
2003-04-02 20:47       ` Dennis Cook
2003-04-02 20:58         ` Jeff Garzik
2003-04-03 20:34           ` Dennis Cook
2003-04-03 20:47             ` Jeff Garzik
2003-04-03 20:57               ` Dennis Cook [this message]
2003-04-04 14:20                 ` Jeff Garzik
2003-04-04 14:08               ` Abhishek Agrawal
2003-04-04  4:41             ` Ion Badulescu
2003-04-02 21:03         ` Richard B. Johnson
2003-04-02 21:22           ` Dennis Cook
  -- strict thread matches above, loose matches on Subject: below --
2003-04-01  9:47 shesha bhushan
2003-04-01 10:58 ` Matti Aarnio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=IJEHKLJHMGFNGKMEBBFNMEIICBAA.cook@sandgate.com \
    --to=cook@sandgate.com \
    --cc=jgarzik@pobox.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®