From: Matti Aarnio <matti.aarnio@zmailer.org>
To: shesha bhushan <bhushan_vadulas@hotmail.com>
Cc: matti.aarnio@zmailer.org, linux-kernel@vger.kernel.org,
kernelnewbies@nl.linux.org
Subject: Re: Deactivating TCP checksumming
Date: Tue, 1 Apr 2003 15:28:24 +0300 [thread overview]
Message-ID: <20030401122824.GY29167@mea-ext.zmailer.org> (raw)
In-Reply-To: <F91mkXMUIhAumscmKC00000f517@hotmail.com>
On Tue, Apr 01, 2003 at 12:12:04PM +0000, shesha bhushan wrote:
> I get that. I can talk with the driver vendor. But to gain the usefulness
> of caculation of CSUM in HW we need to disable the software CSUM
> calculation in TCP layer in the kernel. Am I correct? I am trying to find
> that and I ma stuck there. How to disble the software TCP CSUM calculation?
> and later I can talk with driver vendor to enable it in hardware. I wanted
> help from linux gurus in disabling TCP csum calculation in the kernel.
The kernel code is already smart enough of detect that the outbound
device will handle the checksum calculations all by itself, and not
do it in that case.
Testing of dev->features is done in files:
net/core/dev.c
net/ipv4/tcp.c
(depending what protocol is in question.)
in the latter case, actually in common tcp path with route-cached
route_caps flags.
I did
egrep 'NETIF_F_.._CSUM' net/*/*.c
to find those.
(and a number of other subset searches finding nothing)
Grep is your friend.
This whole "zero-copy" infastructure was implemented during
development in 2.3 series.
> Thanking You
> Shesha
/Matti Aarnio
next prev parent reply other threads:[~2003-04-01 12:17 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 [this message]
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
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=20030401122824.GY29167@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=bhushan_vadulas@hotmail.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®