Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-11698 libcfs: Add checksum speed under /sys/fs
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
libcfs_crypto.h
diff --git
a/libcfs/include/libcfs/libcfs_crypto.h
b/libcfs/include/libcfs/libcfs_crypto.h
index
8271306
..
f271676
100644
(file)
--- a/
libcfs/include/libcfs/libcfs_crypto.h
+++ b/
libcfs/include/libcfs/libcfs_crypto.h
@@
-134,6
+134,9
@@
static struct cfs_crypto_crypt_type crypt_types[] = {
/* Maximum size of hash_types[].cht_size */
#define CFS_CRYPTO_HASH_DIGESTSIZE_MAX 64
/* Maximum size of hash_types[].cht_size */
#define CFS_CRYPTO_HASH_DIGESTSIZE_MAX 64
+/* Array of hash algorithm speed in MByte per second */
+extern int cfs_crypto_hash_speeds[CFS_HASH_ALG_MAX];
+
/**
* Return hash algorithm information for the specified algorithm identifier
*
/**
* Return hash algorithm information for the specified algorithm identifier
*