From: David Miller <davem@davemloft.net>
To: aduyck@mirantis.com
Cc: netdev@vger.kernel.org
Subject: Re: [net-next PATCH] net: Optimize local checksum offload
Date: Thu, 18 Feb 2016 15:29:43 -0500 (EST) [thread overview]
Message-ID: <20160218.152943.1817919033060980651.davem@davemloft.net> (raw)
In-Reply-To: <20160217192355.11040.3502.stgit@localhost.localdomain>
From: Alexander Duyck <aduyck@mirantis.com>
Date: Wed, 17 Feb 2016 11:23:55 -0800
> This patch takes advantage of several assumptions we can make about the
> headers of the frame in order to reduce overall processing overhead for
> computing the outer header checksum.
>
> First we can assume the entire header is in the region pointed to by
> skb->head as this is what csum_start is based on.
>
> Second, as a result of our first assumption, we can just call csum_partial
> instead of making a call to skb_checksum which would end up having to
> configure things so that we could walk through the frags list.
>
> Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Applied, thanks Alex.
prev parent reply other threads:[~2016-02-18 20:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 19:23 [net-next PATCH] net: Optimize local checksum offload Alexander Duyck
2016-02-18 20:29 ` David Miller [this message]
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=20160218.152943.1817919033060980651.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=aduyck@mirantis.com \
--cc=netdev@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