diff --git a/platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py b/platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py index ddaa60d2860e..e2c6d63dc7a3 100644 --- a/platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py +++ b/platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py @@ -1053,7 +1053,10 @@ def is_supported_for_software_control(self, xcvr_api): Returns: bool: True if the api object supports software control """ - return self.is_cmis_api(xcvr_api) and not xcvr_api.is_flat_memory() + if xcvr_api.is_flat_memory(): + return self.is_cmis_api(xcvr_api) or self.is_sff_api(xcvr_api) + else: + return self.is_cmis_api(xcvr_api) def check_power_capability(self): """Check module max power with cage power limit