-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Link Event Damping] Add link event damping sairedis port attributes. #1314
Conversation
Adding @Junchao-Mellanox for review. |
please fix aspell:
|
ad3c99e
to
f5ad9de
Compare
df56d94
to
fe445f5
Compare
Please let me know if you have any other comments/concerns. If everything looks good, can we merge this PR? Thank you. |
HI @kcudnik, I dont have permission to merge PRs. Can you please merge this PR? Thank you. |
just one more question here, is this will be used internally by sairedis ? since i see you added custom range port attributes, or this will interact with SAI via sairedis ? |
This will be used internally by sairedis, it will not interact with SAI. Basically swss will use these port attributes to set the link event damping config and link event damping algo (using sai_port_api->set_port_attribute() API) and these set requests will be consumed by sairedis internally to set the link event damping algo and config in the link event damping logic in syncd. |
Why then this state needs to be held inside sairedis and not OA directly ? |
There was couple of reasons:
We discussed this during HLD review and syncd implementation had advantages over OA implementation. |
ok sounds good |
Can you merge the PR if everything looks good? Thank you. |
- Add link event damping sairedis port attributes. - These attributes will be used by OA to set the link event damping algorithm and AIED link event damping config. - Syncd uses these sairedis port attribute to receive the link event damping algorithm and AIED config to execute syncd-based link event damping. HLD: sonic-net/SONiC#1071
fe445f5
to
1df7f00
Compare
HLD: sonic-net/SONiC#1071