Skip to content

Conversation

@dhanasekar-arista
Copy link

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

  • 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

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
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prgeor
Copy link

prgeor commented Nov 24, 2025

@dhanasekar-arista please fix the build errors

Copy link

@prgeor prgeor Nov 24, 2025

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 ?

Copy link
Author

Choose a reason for hiding this comment

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

@dhanasekar-arista dhanasekar-arista marked this pull request as draft November 25, 2025 08:56
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