Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
rdma: ring db only once per vector on tx
[vpp.git]
/
src
/
plugins
/
unittest
/
punt_test.c
diff --git
a/src/plugins/unittest/punt_test.c
b/src/plugins/unittest/punt_test.c
index
3806dae
..
431624f
100644
(file)
--- a/
src/plugins/unittest/punt_test.c
+++ b/
src/plugins/unittest/punt_test.c
@@
-30,11
+30,6
@@
typedef struct punt_trace_t_
vlib_punt_reason_t pt_reason;
} punt_trace_t;
vlib_punt_reason_t pt_reason;
} punt_trace_t;
-/**
- * Per-thread clone vectors
- */
-u32 **punt_clones;
-
#define SW_IF_INDEX_PG0 1
#define SW_IF_INDEX_PG1 2
#define SW_IF_INDEX_PG0 1
#define SW_IF_INDEX_PG1 2
@@
-322,9
+317,11
@@
punt_test (vlib_main_t * vm,
punt_hdl = vlib_punt_client_register ("test");
rc =
punt_hdl = vlib_punt_client_register ("test");
rc =
- vlib_punt_reason_alloc (punt_hdl, "reason-v4", &punt_reason_v4);
+ vlib_punt_reason_alloc (punt_hdl, "reason-v4",
+ NULL, NULL, &punt_reason_v4);
rc |=
rc |=
- vlib_punt_reason_alloc (punt_hdl, "reason-v6", &punt_reason_v6);
+ vlib_punt_reason_alloc (punt_hdl, "reason-v6",
+ NULL, NULL, &punt_reason_v6);
ASSERT (!rc);
vnet_feature_enable_disable ("ip4-unicast",
ASSERT (!rc);
vnet_feature_enable_disable ("ip4-unicast",