aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vector/test/test.h
diff options
context:
space:
mode:
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;