Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425326 > unrolled thread

Re: [PATCH] arm64: Implement optimised IP checksum helpers

Started byCatalin Marinas <catalin.marinas@arm.com>
First post2016-06-17 19:10 +0200
Last post2016-06-17 19:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] arm64: Implement optimised IP checksum helpers Catalin Marinas <catalin.marinas@arm.com> - 2016-06-17 19:10 +0200

#1425326 — Re: [PATCH] arm64: Implement optimised IP checksum helpers

FromCatalin Marinas <catalin.marinas@arm.com>
Date2016-06-17 19:10 +0200
SubjectRe: [PATCH] arm64: Implement optimised IP checksum helpers
Message-ID<rL5rj-ST-1@gated-at.bofh.it>
On Thu, May 12, 2016 at 03:26:48PM +0100, Robin Murphy wrote:
> AArch64 is capable of 128-bit memory accesses without alignment
> restrictions, which makes it both possible and highly practical to slurp
> up a typical 20-byte IP header in just 2 loads. Implement our own
> version of ip_fast_checksum() to take advantage of that, resulting in
> considerably fewer instructions and memory accesses than the generic
> version. We can also get more optimal code generation for csum_fold() by
> defining it a slightly different way round from the generic version, so
> throw that into the mix too.
> 
> Suggested-by: Luke Starrett <luke.starrett@broadcom.com>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>

Queued for 4.8. Thanks.

-- 
Catalin

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web