From f6ba56296c4034d299784b828a8ac1661adc74da Mon Sep 17 00:00:00 2001 From: Maxime Peim Date: Mon, 6 Feb 2023 10:14:20 +0000 Subject: vnet: throttling configuration improvement To allow a more flexible throttling configuration, the number of bits used in the throttling bitmap can be chosen. Type: improvement Signed-off-by: Maxime Peim Change-Id: I7bfe391dd64729011b03f3e5b89408dfc340e036 --- src/vnet/ip-neighbor/ip6_neighbor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/ip-neighbor/ip6_neighbor.c') diff --git a/src/vnet/ip-neighbor/ip6_neighbor.c b/src/vnet/ip-neighbor/ip6_neighbor.c index 576ae570c0f..e3a47df2076 100644 --- a/src/vnet/ip-neighbor/ip6_neighbor.c +++ b/src/vnet/ip-neighbor/ip6_neighbor.c @@ -338,7 +338,7 @@ ip6_nd_main_loop_enter (vlib_main_t * vm) { vlib_thread_main_t *tm = &vlib_thread_main; - throttle_init (&nd_throttle, tm->n_vlib_mains, 1e-3); + throttle_init (&nd_throttle, tm->n_vlib_mains, THROTTLE_BITS, 1e-3); return 0; } -- cgit 1.2.3-korg