Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #138: Fix instability in test_vxlan_ecmp sonic-mgmt test #139

Merged
merged 3 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions saivpp/src/TunnelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ TunnelManager::create_vpp_vxlan_decap(
vpp_status = create_bvi_interface(bvi_mac, bd_id);
if (vpp_status != 0) {
SWSS_LOG_ERROR("Failed to create bvi interface");
m_switch_db->dynamic_bd_id_pool.free(bd_id);
return SAI_STATUS_FAILURE;
}
// Get new list of physical interfaces from VPP
Expand Down Expand Up @@ -390,6 +391,7 @@ TunnelManager::remove_vpp_vxlan_decap(

delete_bvi_interface(hw_bvi_ifname);

m_switch_db->dynamic_bd_id_pool.free(tunnel_data.bd_id);
refresh_interfaces_list();
//bd is create automatically when the fist interface is add to it but requires manual deletion
vpp_bridge_domain_add_del(tunnel_data.bd_id, false);
Expand Down
2 changes: 0 additions & 2 deletions saivpp/src/vppxlate/SaiVppXlate.c
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,6 @@ vl_api_bfd_udp_session_event_t_handler (vl_api_bfd_udp_session_event_t *msg)
vpp_ev_enqueue(evinfo);
}

set_reply_status(0);

SAIVPP_DEBUG("BFD udp session event, multihop: %d, sw_if_index: %d, "
"state: %d ",
multihop, htonl(msg->sw_if_index), htonl(msg->state));
Expand Down