You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For port counters, flex counters need to be enabled to have the counters. If not, the CounterCheckOrch will keep printing warning logs about could not receive counters.
There are 4 functions that add a port into the CounterCheckOrch. They are generateQueueMapPerPort, createPortBufferQueueCounters, generatePriorityGroupMapPerPort, and createPortBufferPgCounters:
For port counters, flex counters need to be enabled to have the counters. If not, the CounterCheckOrch will keep printing warning logs about could not receive counters.
There are 4 functions that add a port into the CounterCheckOrch. They are generateQueueMapPerPort, createPortBufferQueueCounters, generatePriorityGroupMapPerPort, and createPortBufferPgCounters:
sonic-swss/orchagent/portsorch.cpp
Line 6608 in 644b227
sonic-swss/orchagent/portsorch.cpp
Line 6823 in 644b227
sonic-swss/orchagent/portsorch.cpp
Line 6940 in 644b227
sonic-swss/orchagent/portsorch.cpp
Line 6989 in 644b227
Amount those functions, only two of them add the port to FlexCounterOrch: createPortBufferQueueCounters and createPortBufferPgCounters.
We should make CounterCheckOrch and FlexCounterOrch to be in sync.
The text was updated successfully, but these errors were encountered: