mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "shesha bhushan" <bhushan_vadulas@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: How to Enable Hardware Checksum on Intel 82546 GBE and e1000-4.4.19 driver
Date: Fri, 14 Feb 2003 04:05:52 +0000	[thread overview]
Message-ID: <F65ztVOYDWNYojnS41B00029471@hotmail.com> (raw)

Hi all,

I am attempting to simulate zerocopy on my machine and I am just learning 
kernel hacking (very naive).  I have Intel 82546 GBE and e1000-4.4.19 
drivers for it.

I have commented out the calls to  csum_and_copy_from_user() function in 
both tcp_copy_to_page and skb_add_data functions in linux/net/ipv4/tcp.c, 
which essentialy does the copy of data form the user space to kernel space 
and calulates checksum.
Can any one tell me how to enable the hardware checksumming, so that 
hardware calculates the correct checksum on the (Non relevant) data present 
in the kernel buffer and the receiveing end should think that all went fine.
In addition to setting some parameter in the driver, I think I must set some 
parameters at the tcp level so the driver realizes that checksum is not done 
in the above layers and must be don by hardware when it reseives the skbuff.

Thanking You
Shesha






_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


                 reply	other threads:[~2003-02-14  3:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=F65ztVOYDWNYojnS41B00029471@hotmail.com \
    --to=bhushan_vadulas@hotmail.com \
    --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®