Skip to content

Fix hardcoded lane masks when applying loopbacks#686

Open
abhi-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:abhi.hardcoded-lane-masks
Open

Fix hardcoded lane masks when applying loopbacks#686
abhi-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:abhi.hardcoded-lane-masks

Conversation

@abhi-nexthop
Copy link
Copy Markdown
Contributor

@abhi-nexthop abhi-nexthop commented Jun 4, 2026

Description

Certain transceivers expect exact lane masks for the active appsel when setting Media Side and Host side loopbacks respectively.
Currently, we have them hardcoded as 0xFF which works on certain transceivers but not others. On a 1 media lane transceiver, trying to disable loopback on it with 0xFF might fail depending on the device. We noticed this on several transceivers

Motivation and Context

How Has This Been Tested?

Tested on INPHI CORP IN-Q3JZ1-TC-M1 and Acacia DP04QSDD-E20-001

Acacia works with and without the fix
IN-Q3JZ1-TC-M1 fails to set any kind of media loopback without the fix

Additional Information (Optional)

Signed-off-by: Abhi Singh <abhi@nexthop.ai>
@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