File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1336,6 +1336,11 @@ sai_status_t SwitchStateBase::create_ports()
1336
1336
attr.value .u32 = SAI_PORT_HOST_TX_READY_STATUS_READY;
1337
1337
1338
1338
CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1339
+
1340
+ attr.id = SAI_PORT_ATTR_AUTO_NEG_MODE;
1341
+ attr.value .booldata = false ;
1342
+
1343
+ CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1339
1344
}
1340
1345
1341
1346
return SAI_STATUS_SUCCESS;
@@ -1806,6 +1811,11 @@ sai_status_t SwitchStateBase::create_port_dependencies(
1806
1811
1807
1812
CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1808
1813
1814
+ attr.id = SAI_PORT_ATTR_AUTO_NEG_MODE;
1815
+ attr.value .booldata = false ;
1816
+
1817
+ CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1818
+
1809
1819
// attributes are not required since they will be set outside this function
1810
1820
1811
1821
CHECK_STATUS (create_ingress_priority_groups_per_port (port_id));
You can’t perform that action at this time.
0 commit comments