Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion vslib/vpp/vppxlate/SaiVppXlate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,12 @@ int init_vpp_client()
}
dump_interface_table(vam);

/* Initialize the event queue before enabling any VPP event source,
* otherwise an early sw_interface_event from VPP can be dispatched
* to vl_api_sw_interface_event_t_handler -> vpp_ev_enqueue while
* vpp_evq_p is still NULL, causing a SIGSEGV. */
vpp_evq_init();

vpp_acl_counters_enable_disable(true);

/* Enable LACP punt/xc in linux-cp */
Expand All @@ -1709,7 +1715,6 @@ int init_vpp_client()
/* Enable BFD multihop support in VPP */
vpp_bfd_udp_enable_multihop();

vpp_evq_init();
vpp_client_init = 1;
return 0;
} else {
Expand Down
Loading