Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto: add performace test to unittest plugin
[vpp.git]
/
src
/
plugins
/
unittest
/
crypto
/
crypto.h
diff --git
a/src/plugins/unittest/crypto/crypto.h
b/src/plugins/unittest/crypto/crypto.h
index
587d7b7
..
ab9f706
100644
(file)
--- a/
src/plugins/unittest/crypto/crypto.h
+++ b/
src/plugins/unittest/crypto/crypto.h
@@
-38,6
+38,15
@@
typedef struct unittest_crypto_test_registration
typedef struct
{
int verbose;
+
+ /* perf */
+ vnet_crypto_alg_t alg;
+ u32 warmup_rounds;
+ u32 rounds;
+ u32 buffer_size;
+ u32 n_buffers;
+ u8 one_key;
+
unittest_crypto_test_registration_t *test_registrations;
} crypto_test_main_t;