From 61c0a3ddb84b8e43059c619299e12e9c098c7743 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 5 Apr 2019 19:42:21 +0200 Subject: crypto: add performace test to unittest plugin Change-Id: I49c710c5ace24a4c1f083120fd4c2972566a1695 Signed-off-by: Damjan Marion Signed-off-by: Filip Tehlar --- src/plugins/unittest/crypto/crypto.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/plugins/unittest/crypto') 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; -- cgit 1.2.3-korg