tcp: horizontal scaling improvments
[vpp.git] / src / vppinfra / tw_timer_template.c
index aba0014..abad371 100644 (file)
@@ -572,7 +572,8 @@ static inline
                {
                  vec_add1 (callback_vector, t->user_handle);
 #if TW_START_STOP_TRACE_SIZE > 0
-                 TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+                 TW (tw_timer_trace) (tw, 0xfe, t->user_handle,
+                                      t - tw->timers);
 #endif
                  pool_put (tw->timers, t);
                }
@@ -635,7 +636,8 @@ static inline
                {
                  vec_add1 (callback_vector, t->user_handle);
 #if TW_START_STOP_TRACE_SIZE > 0
-                 TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+                 TW (tw_timer_trace) (tw, 0xfe, t->user_handle,
+                                      t - tw->timers);
 #endif
                  pool_put (tw->timers, t);
                }
@@ -689,7 +691,8 @@ static inline
                {
                  vec_add1 (callback_vector, t->user_handle);
 #if TW_START_STOP_TRACE_SIZE > 0
-                 TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+                 TW (tw_timer_trace) (tw, 0xfe, t->user_handle,
+                                      t - tw->timers);
 #endif
                  pool_put (tw->timers, t);
                }
@@ -725,7 +728,7 @@ static inline
          next_index = t->next;
          vec_add1 (callback_vector, t->user_handle);
 #if TW_START_STOP_TRACE_SIZE > 0
-         TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+         TW (tw_timer_trace) (tw, 0xfe, t->user_handle, t - tw->timers);
 #endif
          pool_put (tw->timers, t);
        }