File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1959,7 +1959,7 @@ void PortsOrch::initPortCapLinkTraining(Port &port)
19591959 // TODO: Use SAI_PORT_ATTR_SUPPORTED_LINK_TRAINING_MODE for the query
19601960 //
19611961 // While SAI_PORT_ATTR_SUPPORTED_LINK_TRAINING_MODE is available at SAI master,
1962- // it's not available in SAI v1.10 paried with SONiC.202205.
1962+ // it's not available in SAI v1.10 paired with SONiC.202205.
19631963 // And given that LT is part of AN, it should be okay to use
19641964 // SAI_PORT_ATTR_SUPPORTED_AUTO_NEG_MODE as a fallback plan.
19651965 attr.id = SAI_PORT_ATTR_SUPPORTED_AUTO_NEG_MODE;
@@ -1970,10 +1970,9 @@ void PortsOrch::initPortCapLinkTraining(Port &port)
19701970 }
19711971 else
19721972 {
1973- // This is a new feature, hence none of breakage should be observed by
1974- // having the LT capability flagged as NOT SUPPORTED upon a get failure
1975- port.m_cap_lt = 0 ;
1976- SWSS_LOG_WARN (" Unable to get %s LT capability, assumming it's NOT supported" ,
1973+ // Align with AN to have LT flagged as supported
1974+ port.m_cap_lt = 1 ;
1975+ SWSS_LOG_WARN (" Unable to get %s LT capability, assumming it's supported" ,
19771976 port.m_alias .c_str ());
19781977 }
19791978}
You can’t perform that action at this time.
0 commit comments