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: 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,
James Guilford <james.guilford@intel.com>,
Wajdi Feghali <wajdi.k.feghali@intel.com>,
Min Li <min.a.li@intel.com>, David Cote <david.m.cote@intel.com>,
Fengguang Wu <fengguang.wu@intel.com>
Subject: [PATCH 3/3 v2] Added speed test in tcrypt for crc32c
Date: Thu, 27 Sep 2012 15:44:24 -0700 [thread overview]
Message-ID: <1348785864.17632.18.camel@schen9-DESK> (raw)
In-Reply-To: <cover.1348784343.git.tim.c.chen@linux.intel.com>
This patch adds a test case in tcrypt to perform speed test for
crc32c checksum calculation.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
---
crypto/tcrypt.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 581081d..6deb77f 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1437,6 +1437,10 @@ static int do_test(int m)
test_hash_speed("ghash-generic", sec, hash_speed_template_16);
if (mode > 300 && mode < 400) break;
+ case 319:
+ test_hash_speed("crc32c", sec, generic_hash_speed_template);
+ if (mode > 300 && mode < 400) break;
+
case 399:
break;
--
1.7.7.6
prev parent reply other threads:[~2012-09-27 22:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1348784343.git.tim.c.chen@linux.intel.com>
2012-09-27 22:44 ` [PATCH 0/3 v2] Optimize CRC32C calculation using PCLMULQDQ in crc32c-intel module Tim Chen
2012-09-28 2:54 ` H. Peter Anvin
[not found] ` <CAA-+O6EkeJQtO=GFhDCZxFoX9L42CAJW71oT2miivOKL9MzDyA@mail.gmail.com>
2012-10-05 16:47 ` Tim Chen
2012-10-15 14:31 ` Herbert Xu
2012-09-27 22:44 ` [PATCH 1/3 v2] Rename crc32c-intel.c to crc32c-intel_glue.c Tim Chen
2012-09-27 22:44 ` [PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction Tim Chen
2013-02-26 9:54 ` Herbert Xu
2013-02-26 16:57 ` Tim Chen
2013-02-27 2:02 ` Herbert Xu
2012-09-27 22:44 ` Tim Chen [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=1348785864.17632.18.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=fengguang.wu@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=min.a.li@intel.com \
--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®