From 98d83627411eb99c98e567a60f37b389780a1344 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Fri, 16 Apr 2021 14:13:58 -0500 Subject: 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 --- src/plugins/vrrp/vrrp_periodic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/vrrp/vrrp_periodic.c') 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* */ -- cgit 1.2.3-korg