@@ -1235,6 +1235,11 @@ sai_status_t SwitchStateBase::create_ports()
1235
1235
attr.value .u32 = DEFAULT_VLAN_NUMBER;
1236
1236
1237
1237
CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1238
+
1239
+ attr.id = SAI_PORT_ATTR_HOST_TX_READY_STATUS;
1240
+ attr.value .u32 = SAI_PORT_HOST_TX_READY_STATUS_READY;
1241
+
1242
+ CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1238
1243
}
1239
1244
1240
1245
return SAI_STATUS_SUCCESS;
@@ -1699,6 +1704,11 @@ sai_status_t SwitchStateBase::create_port_dependencies(
1699
1704
1700
1705
CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1701
1706
1707
+ attr.id = SAI_PORT_ATTR_HOST_TX_READY_STATUS;
1708
+ attr.value .u32 = SAI_PORT_HOST_TX_READY_STATUS_READY;
1709
+
1710
+ CHECK_STATUS (set (SAI_OBJECT_TYPE_PORT, port_id, &attr));
1711
+
1702
1712
// attributes are not required since they will be set outside this function
1703
1713
1704
1714
CHECK_STATUS (create_ingress_priority_groups_per_port (port_id));
@@ -2423,6 +2433,7 @@ sai_status_t SwitchStateBase::refresh_read_only(
2423
2433
*/
2424
2434
2425
2435
case SAI_PORT_ATTR_OPER_STATUS:
2436
+ case SAI_PORT_ATTR_HOST_TX_READY_STATUS:
2426
2437
return SAI_STATUS_SUCCESS;
2427
2438
2428
2439
case SAI_PORT_ATTR_FABRIC_ATTACHED:
0 commit comments