aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-02-20 05:45:31 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-02-24 21:30:51 +0000
commita9d8cb494fb40a1fc4378cc8ced27b48b0ed62a6 (patch)
tree705df762f4ed0a989ee809ca5ec681e2ba0e659a /src/vnet/tcp/tcp.h
parent2bcf86f485f35182f139a6b69b03b79b613fa981 (diff)
tcp: dynamic max timers per loop
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If0a634c277d4f8e4d32321f52253721a990bdb1d
Diffstat (limited to 'src/vnet/tcp/tcp.h')
-rw-r--r--src/vnet/tcp/tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h
index e7b53b8ec42..bef7edbd411 100644
--- a/src/vnet/tcp/tcp.h
+++ b/src/vnet/tcp/tcp.h
@@ -544,6 +544,9 @@ typedef struct tcp_worker_ctx_
/** worker time */
u32 time_now;
+ /* Max timers to be handled per dispatch loop */
+ u32 max_timers_per_loop;
+
/** tx frames for ip 4/6 lookup nodes */
vlib_frame_t *ip_lookup_tx_frames[2];