Skip to content
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

Support for reading RX_FREQUENCY_OFFSET_PPM, RX_SNR and FEC_CORRECTED_BITS with SAI #1846

Conversation

harshitgulati18
Copy link
Contributor

This change includes support for reading the following PHY layer diagnostics in SAI -

  1. RX_FREQUENCY_OFFSET_PPM - Per lane frequency offset observed at the receiver serdes

  2. RX_SNR - Per lane Signal to Noise ratio observed at the receiver serdes
    Note that the units chosen (value reported as a U16 in units of 1/256dB) to represent this value in SAI is similar to how transceiver management standards like SFF-8636 and CMIS represent them.

  3. TOTAL FEC CORRECTED BITS - Represents the total bits corrected by the FEC (Forward Error Correction) as a monotonically incrementing counter. Note that SAI today has support for reading FEC Corrected codewords and symbols, but not the total corrected bits. The corrected bits counter will help in providing an accurate representation of the bit error rate on a link.

These are some useful diagnostics for debugging a link down or a link flap issue.

@harshitgulati18 harshitgulati18 deleted the phy_diags_jun_2023 branch August 11, 2023 16:21
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.

1 participant