Skip to content

[202511][Mellanox] read temperature threshold from SDK sysfs for firmware-controlled module#24937

Merged
vmittal-msft merged 3 commits intosonic-net:202511from
Junchao-Mellanox:202511-retry-threshold
Mar 18, 2026
Merged

[202511][Mellanox] read temperature threshold from SDK sysfs for firmware-controlled module#24937
vmittal-msft merged 3 commits intosonic-net:202511from
Junchao-Mellanox:202511-retry-threshold

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator

Why I did it

For firmware controlled module, temperature threshold should be read from SDK sysfs to avoid too many I2C access from module.

Work item tracking
  • Microsoft ADO (number only):

How I did it

  1. Read temp threshold from SDK sysfs for fimrware-controlled module
  2. Add a retry mechanism to avoid reading module temperature when it is not ready

How to verify it

unit test

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Need to cherry-pick PR #24688 to 202511 first, waiting...

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft
Copy link
Copy Markdown
Contributor

@Junchao-Mellanox #24688 is merged. please change it to ready for review.

@PriyanshTratiya
Copy link
Copy Markdown

@Junchao-Mellanox #24688 is merged. please change it to ready for review.

Hi @Junchao-Mellanox , just checking in to see if we can get this merged to 202511? Thanks!

@Junchao-Mellanox Junchao-Mellanox marked this pull request as ready for review March 18, 2026 01:48
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft vmittal-msft merged commit 254fe24 into sonic-net:202511 Mar 18, 2026
13 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.

4 participants