public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Dennis Cook" <cook@sandgate.com>
To: linux-kernel@vger.kernel.org
Cc: kernelnewbies@nl.linux.org
Subject: Re: Deactivating TCP checksumming
Date: Wed, 2 Apr 2003 16:22:40 -0500	[thread overview]
Message-ID: <b6fkaf$t7p$1@main.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.53.0304021555160.32710@chaos

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1957 bytes --]

Re: Windows support of checksum offloading (not kidding).

Following from Windows DDK

===============================================

To achieve a significant performance boost, the Microsoft TCP/IP transport
can offload one or more of the following tasks to a NIC that has the
appropriate task-offload capabilities:

  a.. Checksum tasks
  The TCP/IP transport can offload the calculation and/or validation of IP
and/or TCP checksums. The initial release of Windows® 2000 does not support
UDP checksum offloads; however, future service packs and update releases of
Windows 2000 and later versions may support UDP checksum offloads.


===============================================

Win2K SP3 and WinXP both indicate to my driver that TCP and IP checksums are
being offloaded
on packets to be sent provided the driver advertises that the associated HW
is capable of computing
the checksums. I haven't established that the SW transport stack actually
skips computing the checksums.

"Richard B. Johnson" <root@chaos.analogic.com> wrote in message
news:Pine.LNX.4.53.0304021555160.32710@chaos...
> On Wed, 2 Apr 2003, Dennis Cook wrote:
>
> > What I was looking for is a general capability to keep the SW transport
> > stack from
> > computing outgoing TCP/UDP/IP checksums so that the HW can be allowed to
do
> > it,
> > similar to Windows checksum offload capability.
> REALLY? Who are you kidding. Windows has no such capability.
>
> Check \WINDOWS\SYSTEM32\DRIVERS\ETC\* and see who they stole
> the TCP/IP stack from!
>
> Further, when you perform normal user->TCP/IP operations, you
> get checksumming for free as part of the copy operation. It's
> only when you don't even copy data that you can get any advantage
> of not checksumming. That's why sendfile disables it.
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
> Why is the government concerned about the lunatic fringe? Think about it.
>




  reply	other threads:[~2003-04-02 21:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 12:12 Deactivating TCP checksumming 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
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 [this message]
  -- 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='b6fkaf$t7p$1@main.gmane.org' \
    --to=cook@sandgate.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