From: mukesh.fkd@gmail.com (Mukesh Yadav)
To: kernelnewbies@lists.kernelnewbies.org
Subject: TCP checksum offloading for raw sockets
Date: Sat, 24 Dec 2011 21:51:52 +0530 [thread overview]
Message-ID: <CACPS-Pt+Db2ToYaWPrxicyn+0FW0PDJrx=pm-W4N4S6+uGdPPQ@mail.gmail.com> (raw)
Hi Guys,
How to use TCP checksum offloading for raw sockets. I can see rx/tx
checksumming as enabled using ethool.
But packets send out from machine have IP/UDP checksum as zero only. While
making packet I am making checksum value in IP/UDP header as zero.
No new value updated in checksum.
>ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off
--
Cheers
Mukesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111224/ae7dffa6/attachment.html
reply other threads:[~2011-12-24 16:21 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='CACPS-Pt+Db2ToYaWPrxicyn+0FW0PDJrx=pm-W4N4S6+uGdPPQ@mail.gmail.com' \
--to=mukesh.fkd@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).