aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vrrp
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2021-04-16 14:13:58 -0500
committerDamjan Marion <dmarion@me.com>2021-04-27 09:25:29 +0000
commit98d83627411eb99c98e567a60f37b389780a1344 (patch)
tree40a6d3610a403cdecd4065c338f4b79e70e445ee /src/plugins/vrrp
parent3ff1598846901e10ca837a77e33ce94594a93496 (diff)
vrrp: increase stack size of process node
Type: fix The process node which wakes up when a timer expires and transitions a backup node to master state may call a function to add a MAC address to an interface. This works fine for some devices, but with DPDK 20.11 on i40e interfaces, the i40e PMD functions which enact the change cause the stack to be exhausted. Increase the stack size for the node. Change-Id: I824603e162f4f6d680486706210986572f0d9845 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/vrrp')
-rw-r--r--src/plugins/vrrp/vrrp_periodic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/vrrp/vrrp_periodic.c b/src/plugins/vrrp/vrrp_periodic.c
index d37347701fe..9c1b76ae59d 100644
--- a/src/plugins/vrrp/vrrp_periodic.c
+++ b/src/plugins/vrrp/vrrp_periodic.c
@@ -211,11 +211,11 @@ vrrp_periodic_process (vlib_main_t * vm,
}
/* *INDENT-OFF* */
-VLIB_REGISTER_NODE (vrrp_periodic_node) =
-{
+VLIB_REGISTER_NODE (vrrp_periodic_node) = {
.function = vrrp_periodic_process,
.type = VLIB_NODE_TYPE_PROCESS,
.name = "vrrp-periodic-process",
+ .process_log2_n_stack_bytes = 17,
};
/* *INDENT-ON* */