diff options
author | Damjan Marion <damarion@cisco.com> | 2019-04-05 19:42:21 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-11 08:35:41 +0000 |
commit | 61c0a3ddb84b8e43059c619299e12e9c098c7743 (patch) | |
tree | 552f6dc09a346819444ce790da521444f6490079 /src/plugins/unittest/crypto/crypto.h | |
parent | 90cf21b5d8fd2d3e531e841dcd752311df5f8a50 (diff) |
crypto: add performace test to unittest plugin
Change-Id: I49c710c5ace24a4c1f083120fd4c2972566a1695
Signed-off-by: Damjan Marion <damarion@cisco.com>
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/unittest/crypto/crypto.h')
-rw-r--r-- | src/plugins/unittest/crypto/crypto.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/unittest/crypto/crypto.h b/src/plugins/unittest/crypto/crypto.h index 587d7b76a2f..ab9f706c081 100644 --- 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; |