From: Patrick McHardy <kaber@trash.net>
To: Alexander Sirotkin <demiourgos@gmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: TCP/UDP checksum in hardware
Date: Sun, 04 Mar 2007 18:16:39 +0100 [thread overview]
Message-ID: <45EAFEF7.7050404@trash.net> (raw)
In-Reply-To: <c4357ccd0703040726ie905103rd60c87c8a35923c8@mail.gmail.com>
Alexander Sirotkin wrote:
> It appears that Netfilter does not exploit the hardware TCP/UDP
> checksum functionality present in some network cards, i.e.
> NETIF_F_HW_CSUM. Is there any particular reason why it is not used ?
With pure NAT we do incremental checksumming, which shouldn't be
very expensive. One thing I want to do is offload checksumming in
the cases where we recalculate the entire checksum, but AFAIK thats
only when helpers mangle the packet.
> The reason I'm asking is that computing checksum (in case of NAT, for
> instance) becomes a real problem on embedded devices
Do you have any data to show this?
next prev parent reply other threads:[~2007-03-04 17:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-04 15:26 TCP/UDP checksum in hardware Alexander Sirotkin
2007-03-04 17:16 ` Patrick McHardy [this message]
2007-03-05 9:49 ` Alexander Sirotkin
2007-03-05 18:06 ` Patrick McHardy
2007-03-08 10:15 ` Alexander Sirotkin
2007-03-16 12:35 ` Patrick McHardy
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=45EAFEF7.7050404@trash.net \
--to=kaber@trash.net \
--cc=demiourgos@gmail.com \
--cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.