From: Tim Chen <tim.c.chen@linux.intel.com>
To: Herbert Xu <herbert@gondor.hengli.com.au>,
"David S. Miller" <davem@davemloft.net>,
"H. Peter Anvin" <hpa@zytor.com>
Cc: 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>,
Suresh Siddha <suresh.b.siddha@intel.com>,
David Cote <david.m.cote@intel.com>,
Austin Zhang <austin_zhang@linux.intel.com>,
Chaohong Guo <chaohong.guo@intel.com>
Subject: [PATCH 3/3] Added speed test in tcrypt for crc32c
Date: Tue, 25 Sep 2012 14:50:18 -0700 [thread overview]
Message-ID: <1348609818.9977.208.camel@schen9-DESK> (raw)
In-Reply-To: <cover.1348599489.git.tim.c.chen@linux.intel.com>
This patch adds a test case in tcrypt to perform speed test for
crc32c checksum calculation.
Tim
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-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 ` [PATCH 0/3] Optimize CRC32C calculation using PCLMULQDQ in crc32c-intel module Tim Chen
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 ` 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=1348609818.9977.208.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®