Skip to content

Conversation

@PrabhuSreenivasan
Copy link

@PrabhuSreenivasan PrabhuSreenivasan commented Dec 15, 2020

Signed-off-by: Prabhu Sreenivasan [email protected]

HLD: sonic-net/SONiC#743

- What I did
Avoid unwanted error logs introduced with CPU queues.

- How I did it
Skip CPU queues while creating port queue stat maps.

- How to verify it
Check syslog for snmp errors

** Depends on PRs**
sonic-net/sonic-swss#1544
sonic-net/sonic-py-swsssdk#98

Related PRs
sonic-net/sonic-sairedis#732
sonic-net/sonic-utilities#1314

Signed-off-by: Prabhu Sreenivasan <[email protected]>
@svc-acs
Copy link
Collaborator

svc-acs commented Dec 15, 2020

Can one of the admins verify this patch?

else:
port_queue_list_map[int(port_index)].append(int(queue_index))
match_port_name = re.match(port_util.SONIC_CPU_PORT_RE_PATTERN, port_name)
if match_port_name is None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if match_port_name is None: [](start = 8, length = 27)

If it is not None: continue.
So we can keep below at original indentation level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants