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

Add a check if OID exists before setting Host Tx Ready Signal Enable #3233

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

noaOrMlnx
Copy link
Collaborator

This is a cherry-pick of #3232

What I did
I added a query before setting host tx ready - must check that Oid exists before setting attribute to SAI.

Why I did it

When we do dynamic port breakout to a Fw-control port, portsorch receives a notification that something was deleted in TRANSCEIVER_INFO table from State DB, and tries to set HOST_TX_READY_SIGNAL_ENABLE attribute to false for the deleted OID.
The issue is the Oid is already deleted and we receive an error from SAI.

How I verified it
Run DPB on the switch
Details if related

@noaOrMlnx noaOrMlnx requested a review from prsunny as a code owner July 11, 2024 05:53
@prsunny prsunny merged commit 1cbaf9d into sonic-net:202311 Jul 12, 2024
14 checks passed
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