File tree 1 file changed +4
-5
lines changed
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)
1959
1959
// TODO: Use SAI_PORT_ATTR_SUPPORTED_LINK_TRAINING_MODE for the query
1960
1960
//
1961
1961
// 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.
1963
1963
// And given that LT is part of AN, it should be okay to use
1964
1964
// SAI_PORT_ATTR_SUPPORTED_AUTO_NEG_MODE as a fallback plan.
1965
1965
attr.id = SAI_PORT_ATTR_SUPPORTED_AUTO_NEG_MODE;
@@ -1970,10 +1970,9 @@ void PortsOrch::initPortCapLinkTraining(Port &port)
1970
1970
}
1971
1971
else
1972
1972
{
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" ,
1977
1976
port.m_alias .c_str ());
1978
1977
}
1979
1978
}
You can’t perform that action at this time.
0 commit comments