From de3735f82862e5c3997550e6a5bcbf5adbfbba40 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 6 Dec 2021 12:48:46 +0100 Subject: vppinfra: sha2 tests Type: improvement Change-Id: I8a5d8d5db4e4a8ee3a1164bfbe91badff181d06a Signed-off-by: Damjan Marion --- src/vppinfra/vector/test/test.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/vppinfra/vector/test/test.h') 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; -- cgit 1.2.3-korg