netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: tom@herbertland.com
Cc: netdev@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH net-next] net: Implement fast csum_partial for x86_64
Date: Mon, 04 Jan 2016 22:01:08 -0500 (EST)	[thread overview]
Message-ID: <20160104.220108.58746007572013351.davem@davemloft.net> (raw)
In-Reply-To: <1451863347-1832521-1-git-send-email-tom@herbertland.com>

From: Tom Herbert <tom@herbertland.com>
Date: Sun, 3 Jan 2016 15:22:27 -0800

> Implement assembly routine for csum_partial for 64 bit x86. This
> primarily speeds up checksum calculation for smaller lengths such as
> those that are present when doing skb_postpull_rcsum when getting
> CHECKSUM_COMPLETE from device or after CHECKSUM_UNNECESSARY
> conversion.
> 
> This implementation is similar to csum_partial implemented in
> checksum_32.S, however since we are dealing with 8 bytes at a time
> there are more cases for alignment and small lengths-- for those we
> employ jump tables.

Looks great, but probably has to go through the x86 maintainers
as Eric suggested.

      parent reply	other threads:[~2016-01-05  3:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-03 23:22 [PATCH net-next] net: Implement fast csum_partial for x86_64 Tom Herbert
2016-01-04 22:17 ` Hannes Frederic Sowa
2016-01-04 22:36 ` Eric Dumazet
2016-01-04 23:34   ` Tom Herbert
2016-01-04 23:51     ` Hannes Frederic Sowa
2016-01-04 23:52     ` Eric Dumazet
2016-01-04 23:58       ` Tom Herbert
2016-01-05  3:01 ` 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=20160104.220108.58746007572013351.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=tom@herbertland.com \
    /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).