sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
170 stars 503 forks source link

[orchagent]: Resolving issue #18844 #3223

Open fountzou opened 1 month ago

fountzou commented 1 month ago

Mirror session is not activated and thus, the ACL rule is not created in sairedis/SAI (there is no next hop for the mirror destination IP). However, orchagent creates and registers the ACL counter with the flexcounter (FC) and the counter is being polled every polling interval. Since the ACL counter is not attached to any ACL rule, the BCM SAI introduces print errors in syslog.

What I did Removed the ACL counter when ACL mirror rule / session is inactive.

Why I did it To solve #18844 issue.

How I verified it

Details if related

deepak-singhal0408 commented 4 weeks ago

@bingwang-ms can you please help review this?