Skip to content

swss: Add support for dynamic gearbox tuning in orchagent#3437

Open
j-mazurek wants to merge 1 commit intosonic-net:masterfrom
j-mazurek:master-orch-agent-set-gearbox-tuning
Open

swss: Add support for dynamic gearbox tuning in orchagent#3437
j-mazurek wants to merge 1 commit intosonic-net:masterfrom
j-mazurek:master-orch-agent-set-gearbox-tuning

Conversation

@j-mazurek
Copy link
Copy Markdown

What I did

  • Removed gearbox tx_taps on gearbox init
  • Added serdes attributes for line-side and system-side gearbox tx_taps
  • Added cases in doPortTask within orchagent to set tx_taps on gearbox ports based off serdes attributes read in from APPL_DB

Why I did it

These changes were added as part of the Dynamic Gearbox Tuning feature. They allow orchagent to dynamically set gearbox tunings using new serdes attributes read in from APPL_DB.

How I verified it

  • Set all gearbox tx_taps in port_table to 0
    • Verified that tx_taps had been set by orchagent to 0 on gearboxes via credo shell
    • Set tx_taps in port_table to real values
    • Verified that orchagent set real values again by using credo shell to verify tx_tap values
  • Existing unit tests in test_gearbox.py

* Remove gearbox tx_taps on gearbox init
* Add serdes attributes for line-side and system-side gearbox tx_taps
* Add cases in doPortTask within orchagent to set tx_taps on gearbox
  ports based off serdes attributes read in from APPL_DB

Signed-off-by: Jan Mazurek <[email protected]>
@j-mazurek j-mazurek requested a review from prsunny as a code owner December 20, 2024 03:24
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

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