mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tim Chen <tim.c.chen@linux.intel.com>
To: Herbert Xu <herbert@gondor.hengli.com.au>,
	"H. Peter Anvin" <hpa@zytor.com>,
	"David S. Miller" <davem@davemloft.net>
Cc: Wajdi Feghali <wajdi.k.feghali@intel.com>,
	James Guilford <james.guilford@intel.com>,
	David Cote <david.m.cote@intel.com>,
	Suresh Siddha <suresh.b.siddha@intel.com>,
	Chaohong Guo <chaohong.guo@intel.com>,
	Austin Zhang <austin_zhang@linux.intel.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-crypto@vger.kernel.org
Subject: [PATCH 0/3] Optimize CRC32C calculation using PCLMULQDQ in crc32c-intel module
Date: Tue, 25 Sep 2012 14:50:08 -0700	[thread overview]
Message-ID: <1348609808.9977.205.camel@schen9-DESK> (raw)
In-Reply-To: <cover.1348599489.git.tim.c.chen@linux.intel.com>

This patch series optimized CRC32C calculations with PCLMULQDQ
instruction for crc32c-intel module.  It speeds up the original
implementation by 1.6x for 1K buffer and by 3x for buffer 4k or
more.  The tcrypt module was enhanced for doing speed test
on crc32c calculations.

Tim

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
---
Tim Chen (3):
  Rename crc32c-intel.c to crc32c-intel_glue.c
  Optimize CRC32C calculation with PCLMULQDQ instruction
  Added speed test in tcrypt for crc32c

 arch/x86/crypto/Makefile                           |    1 +
 .../crypto/{crc32c-intel.c => crc32c-intel_glue.c} |   75 ++++
 arch/x86/crypto/crc32c-pcl-intel-asm.S             |  460 ++++++++++++++++++++
 crypto/tcrypt.c                                    |    4 +
 4 files changed, 540 insertions(+), 0 deletions(-)
 rename arch/x86/crypto/{crc32c-intel.c => crc32c-intel_glue.c} (70%)
 create mode 100644 arch/x86/crypto/crc32c-pcl-intel-asm.S

-- 
1.7.7.6



       reply	other threads:[~2012-09-25 21:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1348599489.git.tim.c.chen@linux.intel.com>
2012-09-25 21:50 ` Tim Chen [this message]
2012-09-26 16:55   ` David Miller
2012-09-27  5:45   ` Herbert Xu
2012-09-25 21:50 ` [PATCH 1/3] Rename crc32c-intel.c to crc32c-intel_glue.c Tim Chen
2012-09-25 21:50 ` [PATCH 2/3] Optimize CRC32C calculation with PCLMULQDQ instruction Tim Chen
2012-09-25 21:50 ` [PATCH 3/3] Added speed test in tcrypt for crc32c Tim Chen

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=1348609808.9977.205.camel@schen9-DESK \
    --to=tim.c.chen@linux.intel.com \
    --cc=austin_zhang@linux.intel.com \
    --cc=chaohong.guo@intel.com \
    --cc=davem@davemloft.net \
    --cc=david.m.cote@intel.com \
    --cc=herbert@gondor.hengli.com.au \
    --cc=hpa@zytor.com \
    --cc=james.guilford@intel.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suresh.b.siddha@intel.com \
    --cc=wajdi.k.feghali@intel.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

all inboxes | Powered by JetHome®