Skip to content

[Dash] Deprecate traditional Flex Counter support#42

Closed
vivekrnv wants to merge 2 commits into
masterfrom
refactor_dash_fc
Closed

[Dash] Deprecate traditional Flex Counter support#42
vivekrnv wants to merge 2 commits into
masterfrom
refactor_dash_fc

Conversation

@vivekrnv

@vivekrnv vivekrnv commented Aug 20, 2025

Copy link
Copy Markdown
Owner

What I did

  1. Simplify the logic by removing Timers etc associated with Traditional Approach for DASH counters.

    With sairedis channel, FC creation is always guaranteed to follow Eni Object creation thus removing the need for Timers etc

  2. Refactor Dash Meter FC by moving the logic into DashOrch since pre-requisites for creating ENI/Meter counters is the same and is dependent only on ENI object creation/deletion

Why I did it

Traditional counters approach is not used for DASH related counters on DPU platforms but the code to support exists and making the code un-necessarily complex and slightly less performant because of 2 timers

How I verified it

UT's

Creating, deleting ENI and observing counters are created

Details if related

@vivekrnv vivekrnv force-pushed the refactor_dash_fc branch 5 times, most recently from 64458bf to 8856639 Compare August 20, 2025 15:45
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@vivekrnv vivekrnv closed this Oct 25, 2025
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.

2 participants