summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vector/test/test.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-12-06 12:48:46 +0100
committerOle Tr�an <otroan@employees.org>2021-12-06 12:28:01 +0000
commitde3735f82862e5c3997550e6a5bcbf5adbfbba40 (patch)
tree39158155b5e984609f82ad598cddcffbf6fec9bc /src/vppinfra/vector/test/test.h
parent9c412e9ee58ae4a2671d63f70add6fd2c6c15a2b (diff)
vppinfra: sha2 tests
Type: improvement Change-Id: I8a5d8d5db4e4a8ee3a1164bfbe91badff181d06a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/vector/test/test.h')
-rw-r--r--src/vppinfra/vector/test/test.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/vppinfra/vector/test/test.h b/src/vppinfra/vector/test/test.h
index 02169c1d6de..5b26996551b 100644
--- a/src/vppinfra/vector/test/test.h
+++ b/src/vppinfra/vector/test/test.h
@@ -19,7 +19,21 @@ typedef void (test_perf_fn_t) (int fd, struct test_perf_ *tp);
typedef struct test_perf_
{
u64 n_ops;
- u64 arg0;
+ union
+ {
+ u64 arg0;
+ void *ptr0;
+ };
+ union
+ {
+ u64 arg1;
+ void *ptr1;
+ };
+ union
+ {
+ u64 arg2;
+ void *ptr2;
+ };
char *op_name;
char *name;
test_perf_fn_t *fn;