diff options
author | Maxime Peim <mpeim@cisco.com> | 2023-02-06 10:14:20 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2023-03-23 08:58:30 +0000 |
commit | f6ba56296c4034d299784b828a8ac1661adc74da (patch) | |
tree | b206a7b11c3624b7cf02aca5787c89c14f863106 /src/vnet/ip/icmp6.c | |
parent | ac3c8dcb076245544e61dabb984d057167572276 (diff) |
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 <mpeim@cisco.com>
Change-Id: I7bfe391dd64729011b03f3e5b89408dfc340e036
Diffstat (limited to 'src/vnet/ip/icmp6.c')
-rw-r--r-- | src/vnet/ip/icmp6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/icmp6.c b/src/vnet/ip/icmp6.c index 4cabc0e083f..8d95e48b269 100644 --- a/src/vnet/ip/icmp6.c +++ b/src/vnet/ip/icmp6.c @@ -644,7 +644,7 @@ icmp6_init (vlib_main_t * vm) vlib_thread_main_t *tm = &vlib_thread_main; u32 n_vlib_mains = tm->n_vlib_mains; - throttle_init (&icmp_throttle, n_vlib_mains, 1e-3); + throttle_init (&icmp_throttle, n_vlib_mains, THROTTLE_BITS, 1e-3); return (NULL); } |