Whamcloud - gitweb
LU-1339 libcfs: add crc32 pclmulqdq implementation
authorAlexander.Boyko <alexander_boyko@xyratex.com>
Fri, 29 Jun 2012 08:51:56 +0000 (12:51 +0400)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 4 Jul 2012 16:48:59 +0000 (12:48 -0400)
commit5a562259fce98b15f519fab7dd8cb921e8445d7b
tree48ef24a2f7742f9827de46a4dbba053e178e1746
parent7c5643233b91cf4729878cd8792255e5d12f481e
LU-1339 libcfs: add crc32 pclmulqdq implementation

Using hardware provided PCLMULQDQ instruction to accelerate the CRC32
disposal. This instruction present from Intel Westmere and
AMD Bulldozer CPUs.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyartex.com>
Xyratex-bug-id: MRP-314
Change-Id: Id6c88629f77cc5d389db49b7ee6e7111294c4a14
Reviewed-on: http://review.whamcloud.com/2586
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
13 files changed:
build/autoconf/lustre-build.m4
configure.ac
libcfs/include/libcfs/Makefile.am
libcfs/include/libcfs/linux/linux-crypto.h
libcfs/include/libcfs/user-crypto.h [new file with mode: 0644]
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/crc32-pclmul_asm.S [new file with mode: 0644]
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-crypto-crc32pclmul.c [new file with mode: 0644]
libcfs/libcfs/linux/linux-crypto.c
libcfs/libcfs/user-crc32pclmul.c [new file with mode: 0644]
libcfs/libcfs/user-crypto.c