We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffc4109 commit cb41a91Copy full SHA for cb41a91
vslib/SwitchStateBase.cpp
@@ -3001,6 +3001,15 @@ sai_status_t SwitchStateBase::initialize_voq_switch_objects(
3001
if (attr_list[i].value.u32 != SAI_SWITCH_TYPE_VOQ)
3002
{
3003
// Switch is not being set as VOQ type.
3004
+ SWSS_LOG_NOTICE("initialize_voq_switch_objects the value is %d", attr_list[i].value.u32);
3005
+ if (attr_list[i].value.u32 == SAI_SWITCH_TYPE_FABRIC) {
3006
+ SWSS_LOG_NOTICE("about to config fabric ports");
3007
+ if (m_switchConfig->m_fabricLaneMap)
3008
+ {
3009
+ CHECK_STATUS(create_fabric_ports());
3010
+ CHECK_STATUS(set_fabric_port_list());
3011
+ }
3012
3013
return SAI_STATUS_SUCCESS;
3014
}
3015
else
0 commit comments