File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -994,6 +994,11 @@ void PortsOrch::getCpuPort(Port &port)
994
994
port = m_cpuPort;
995
995
}
996
996
997
+ /*
998
+ * Create host_tx_ready field in PORT_TABLE of STATE-DB
999
+ * and set the field to false by default for the
1000
+ * front<Ethernet> port.
1001
+ */
997
1002
void PortsOrch::initHostTxReadyState (Port &port)
998
1003
{
999
1004
SWSS_LOG_ENTER ();
@@ -1013,7 +1018,6 @@ void PortsOrch::initHostTxReadyState(Port &port)
1013
1018
}
1014
1019
}
1015
1020
1016
- /* Create host_tx_ready field in state-DB and set it to false by default. */
1017
1021
if (hostTxReady.empty ())
1018
1022
{
1019
1023
m_portStateTable.hset (port.m_alias , " host_tx_ready" , " false" );
@@ -1054,7 +1058,7 @@ bool PortsOrch::setPortAdminStatus(Port &port, bool state)
1054
1058
{
1055
1059
SWSS_LOG_ERROR (" Failed to set admin status on PHY %s to port pid:%" PRIx64,
1056
1060
state ? " UP" : " DOWN" , port.m_port_id );
1057
- /* add task handler to recover/take action on this failure */
1061
+ /* TODO add task handler to recover/take action on this failure */
1058
1062
}
1059
1063
1060
1064
/* Update the state table for 'host_tx_ready'*/
You can’t perform that action at this time.
0 commit comments