Skip to content

Conversation

@vincent9926-Accton
Copy link

Description:
Issue Summary: The current ASIC implementation contains a hard-coded Preemphasis value of -15, which causescreate_port_serdes()API failures when Signal Integrity (SI) configurations require different Preemphasis values than the default TxFirPre1 setting.

Root Cause:

  • Hard-coded Preemphasis value (-15) in ASIC code
  • Inflexibility to accommodate varying SI configuration requirements
  • SAI API rejection of non-matching Preemphasis values

Solution:

  • Remove the hard-coded default Preemphasis value
  • Return nullopt when no specific Preemphasis value is configured
  • Enable SAI API to accept custom SI configurations dynamically

…s failure

Description:
Currently, the FBOSS Preemphasis value is hard-coded to -15.

cpp

std::optional<uint32_t> ChenabAsic::getPortSerdesPreemphasis() const {
  return -15; // must be same as pre1
}

When a different SI configuration is required, the Preemphasis value differs from TxFirPre1, which
causes the call to the SAI API api_->create_port_serdes() to fail and return an error.

The current workaround is to not specify a default Preemphasis value and instead return nullopt.
@meta-cla
Copy link

meta-cla bot commented Jan 12, 2026

Hi @vincent9926-Accton!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@meta-cla meta-cla bot added the CLA Signed label Jan 12, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 14, 2026

@birdsoup has imported this pull request. If you are a Meta employee, you can view this in D90707712.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant