Skip to content

Conversation

@dhanasekar-arista
Copy link

Implement PORT_SERDES_ATTR flex counter support for monitoring SERDES-level port attributes (RX_SIGNAL_DETECT, FEC_ALIGNMENT_LOCK, RX_SNR).

Changes

  • meta/: Add serialization support for PORT_SNR_LIST and PORT_LANE_LATCH_STATUS_LIST
  • syncd/: Implement PortSerdesAttrContext for SERDES attribute collection with dynamic lane count discovery
  • unittest/: Add serialization and end-to-end collection tests

Implementation

  • Queries SAI for per-port lane count using BUFFER_OVERFLOW pattern
  • Maintains lane count cache for efficient memory allocation
  • Writes collected data to dedicated PORT_SERDES_ATTR table in COUNTERS_DB

@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).

Signed-off-by: dhanasekar-arista <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Make the PORT_ATTR more easily readable.

Signed-off-by: dhanasekar-arista <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: dhanasekar-arista <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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