Skip to content

Comments

[202503] [sff-mgr] Disable SFF manager support for all CMIS transceivers#57

Merged
arlakshm merged 1 commit intoAzure:202503from
mihirpat1:sff_mgr_cmis_fix_202503
Nov 24, 2025
Merged

[202503] [sff-mgr] Disable SFF manager support for all CMIS transceivers#57
arlakshm merged 1 commit intoAzure:202503from
mihirpat1:sff_mgr_cmis_fix_202503

Conversation

@mihirpat1
Copy link

Cherry-pick PR for sonic-net/sonic-platform-daemons#710

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
https://github.com/sonic-net/sonic-platform-daemons/blob/69ce3870c5dcd5ab4d5a6ec0b784da827acb1d0e/sonic-xcvrd/xcvrd/sff_mgr.py#L387-L389

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?

  1. Verified CMIS transceivers with "QSFP+ or later with CMIS" type are now properly skipped by SFF manager
  2. 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

…ers (#710)

* [sff-mgr] Disable SFF manager support for all CMIS transceivers

Signed-off-by: Mihir Patel <patelmi@microsoft.com>

* Change pipeline pool to sonictest

* Added unit test to improve code coverage

---------

Signed-off-by: Mihir Patel <patelmi@microsoft.com>
@mihirpat1 mihirpat1 requested a review from prgeor November 19, 2025 17:54
@arlakshm
Copy link

@bingwang-ms for viz..

@arlakshm arlakshm merged commit 1f7fd1b into Azure:202503 Nov 24, 2025
3 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.

3 participants