From: Matthew Smith Date: Fri, 16 Apr 2021 19:13:58 +0000 (-0500) Subject: vrrp: increase stack size of process node X-Git-Tag: v21.10-rc0~185 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=98d83627411eb99c98e567a60f37b389780a1344;p=vpp.git 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 --- 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* */