aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-22 18:10:58 +0000
committerDave Barach <openvpp@barachs.net>2020-04-22 19:52:08 +0000
commit67ec589d231cd27261ccf2265ee8627cfce0fa00 (patch)
tree1b49a0f4954506922d3b9c9d48cb5e70a989a564 /src/vnet/lisp-cp/control.h
parent38ab5672b599df8ef201ca6733c9b008c37fdfa3 (diff)
lisp: switch to new timer wheel code
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie212a43c435cfa7f8fac65d1620258913611c527
Diffstat (limited to 'src/vnet/lisp-cp/control.h')
-rw-r--r--src/vnet/lisp-cp/control.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/lisp-cp/control.h b/src/vnet/lisp-cp/control.h
index d3d320abb3e..78d1ffe5e70 100644
--- a/src/vnet/lisp-cp/control.h
+++ b/src/vnet/lisp-cp/control.h
@@ -20,6 +20,7 @@
#include <vnet/lisp-cp/gid_dictionary.h>
#include <vnet/lisp-cp/lisp_types.h>
#include <vppinfra/timing_wheel.h>
+#include <vppinfra/tw_timer_1t_3w_1024sl_ov.h>
#define NUMBER_OF_RETRIES 1
#define PENDING_MREQ_EXPIRATION_TIME 3.0 /* seconds */
@@ -266,7 +267,7 @@ typedef struct
u8 rloc_probing;
/* timing wheel for mapping timeouts */
- timing_wheel_t wheel;
+ TWT (tw_timer_wheel) wheel;
/** Per thread pool of records shared with thread0 */
map_records_arg_t **map_records_args_pool;