Skip to content

[code sync] Merge code from sonic-net/sonic-platform-daemons:202505 to 202506#58

Merged
mssonicbld merged 2 commits intoAzure:202506from
mssonicbld:sonicbld/202506-merge
Nov 25, 2025
Merged

[code sync] Merge code from sonic-net/sonic-platform-daemons:202505 to 202506#58
mssonicbld merged 2 commits intoAzure:202506from
mssonicbld:sonicbld/202506-merge

Conversation

@mssonicbld
Copy link
Collaborator

* 3ba2423 - (origin/202505) [202505] [sff-mgr] Disable SFF manager support for all CMIS transceivers (#710) (#712) (2025-11-24) [mihirpat1]<br>```

mihirpat1 and others added 2 commits November 24, 2025 14:54
…ers (#710) (#712)

Description
For certain CMIS transceivers which have transceiver type as "QSFP+ or later with CMIS", SFF manager also starts controlling Tx disable in addition to CMIS manager.
Hence, SFF manager needs to skip handling such CMIS transceivers. Following code needs to be modified to addressed this

sonic-platform-daemons/sonic-xcvrd/xcvrd/sff_mgr.py

Lines 387 to 389 in 69ce387

 # Procced only for QSFP28/QSFP+ transceiver 
 if not (xcvr_type.startswith('QSFP28') or xcvr_type.startswith('QSFP+')): 
     continue 
Motivation and Context
For certain CMIS transceivers which have transceiver type as "QSFP+ or later with CMIS", the SFF manager was also controlling Tx disable in addition to the CMIS manager. This created a conflict where both managers would attempt to control the same transceiver, leading to potential race conditions and unexpected behavior.

The previous type check only filtered based on the string prefix "QSFP28" or "QSFP+", which would incorrectly include CMIS modules that report as "QSFP+ or later with CMIS".

Added explicit CMIS API check using common.is_cmis_api() to the transceiver filtering logic

How Has This Been Tested?
Verified CMIS transceivers with "QSFP+ or later with CMIS" type are now properly skipped by SFF manager
Confirmed QSFP28 module continue to be handled correctly
Unrelated change
The pipeline pool has been updated to sonictest since sonic-common is not supported anymore.

Additional Information (Optional)
MSFT ADO - 35947863

---------

Signed-off-by: Mihir Patel <patelmi@microsoft.com>
@mssonicbld mssonicbld merged commit 452b632 into Azure:202506 Nov 25, 2025
3 checks passed
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.

2 participants