-
Notifications
You must be signed in to change notification settings - Fork 331
Add PORT_SERDES_ATTR flex counter support #1674
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
base: master
Are you sure you want to change the base?
Add PORT_SERDES_ATTR flex counter support #1674
Conversation
This commit introduces support for polling PORT serdes related attributes using the flex counter infrastructure. Following changes are added in sairedis to support this feature - Added serialization and deserialization APIs for sai_port_snr_list_t - Added an extra parameter(AttrDataType) to the template of class AttrContext, this is required to handle attributes with complex data strucutres. - Added unit-tests
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@dhanasekar-arista please fix the build errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dhanasekar-arista can you please confirm if SAI_PORT_ATTR_FEC_ALIGNMENT_LOCK and SAI_PORT_RX_SIGNAL_DETECT are using sai_serialize_port_lane_latch_status_list for serialization ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR introduces support for polling PORT serdes related attributes using the flex counter infrastructure.
Following changes are added in sairedis to support this feature