Sonic port link up before allPortsReady

19 views
Skip to first unread message

Shrivastava, Shantanu

unread,
May 12, 2023, 3:40:09 AM5/12/23
to sonicp...@googlegroups.com

[AMD Official Use Only - General]


Hello,

 

We have brcm th4-t based switch where we are seeing that hw port links up even before portsorch agent is ready to receive link up notifications. As a result, link up is not processed and is not reflected in STATE_DB netdev_oper status.

 

Is there a solution or some work around for this?

 

 

void PortsOrch::doTask(NotificationConsumer &consumer)

{

    SWSS_LOG_ENTER();

 

    /* Wait for all ports to be initialized */

    if (!allPortsReady())

    {

        return;

    }

 

Regards,

Shantanu

 

 

Reply all
Reply to author
Forward
0 new messages