Skip to content

[Mellanox] SFP counter fix for multi-ASIC#45

Open
tshalvi wants to merge 229 commits intomasterfrom
master_fix_for_sfp_count_and_get_transceiver_info
Open

[Mellanox] SFP counter fix for multi-ASIC#45
tshalvi wants to merge 229 commits intomasterfrom
master_fix_for_sfp_count_and_get_transceiver_info

Conversation

@tshalvi
Copy link
Owner

@tshalvi tshalvi commented Jan 13, 2026

Why I did it

This PR introduces two changes:

  1. Updated Chassis.get_num_sfps() to account for the number of ASICs in multi-ASIC systems.
  2. Updated the get_transceiver_info() implementation for CPO ports to handle EEPROM read failures gracefully.
Work item tracking
  • Microsoft ADO (number only):

How I did it

  1. Invoked the relevant API to retrieve the number of ASICs.
  2. Updated get_transceiver_info() for CPO modules to immediately return None when an EEPROM read fails.

How to verify it

Manual testing.

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

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

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)

ymd-arista and others added 4 commits January 13, 2026 08:52
This change updates the boot0 file to include kdump by default
on few more fixed systems

Signed-off-by: Mohan Yelugoti <ymd@arista.com>
Signed-off-by: rhalstea <rhalstea@google.com>
Co-authored-by: rhalstea <rhalstea@google.com>
- Why I did it
At 40°C ambient temperature with current FW+SW, some modules have >7.6% probability of reaching 75°C, which triggers false temperature warnings.
This PR implements vendor-specific temperature threshold support to eliminate false warnings while maintaining accurate temperature telemetry for monitoring purposes.

- How I did it
Implemented new API for vendor-specific temperature offset adjustments:

New API:
Add get_vendor_info() API with caching support.
Smart Module Detection:

Cache vendor information (Manufacturer + Part Number) for each module.
Skip redundant vendor info updates when the same module is replugged.

- How to verify it
Plug in optical module -> Verify vendor info sent to Nvidia API
Unplug and replug same module -> Verify no redundant vendor info update.
Replace with different module -> Verify new vendor info sent.
… sensor errors (sonic-net#24783)

- Why I did it
Fix transient errors during bfb install on smartswitch platform.

ERR pmon#sensord: Error getting sensor data: mp2975/#16: Kernel interface error

- How I did it
Use pre-shutdown procedures before doing a reboot

- How to verify it
Installation of bfb image on dpu from switch shouldn't cause errors

Signed-off-by: Hemanth Kumar Tirupati <htirupati@nvidia.com>
@oleksandrivantsiv
Copy link

@tshalvi please add UT to cover multi asic case

keboliu and others added 23 commits January 14, 2026 22:11
…net#25015)

- Why I did it
Remove the support for voltmon temperature sensors.

- How I did it
Remove it from the platform API code.

- How to verify it
Run sonic-mgmt platform API test.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…r a given device (sonic-net#24628)

* Improve driver to dynamically determine pmbus block data len

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

* PDDF support for multiple max psu fan speeds

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

* Conforming to semgrep

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

* Adding final nexthop example

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

* Removing requirement for attr_len for pmbus PSU attributes with nexthop examples

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

* Using strscpy instead of strncpy and removing change to temp buf size

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

* Adding NH examples of multiple supported psus

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>

---------

Signed-off-by: gordon-nexthop <gordon@nexthop.ai>
…nic-net#24981)

Why I did it
Support pulling slave user image first
Update pipeline to push related image to ACR

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>
Signed-off-by: Tejaswini Chadaga <tchadaga@microsoft.com>
Default buffer configuration was missing for egress_lossless_profile causing yang validation failure on the platform

Signed-off-by: Tejaswini Chadaga <tchadaga@microsoft.com>
… string to allow duplicate values (sonic-net#24998)

Why I did it
To allow duplicate values in the VNET_ROUTE_TUNNEL's endpoint, mac_address and vni list.

Work item tracking
Microsoft ADO (number only):
How I did it
Changed field type from leaf-list to leaf of type string. Added typedefs for regex validation.

How to verify it
Run the tests added in this PR or build image with these changes and set the new attributes.
Why I did it
The UpgradeVersion pipeline failed on master branch
https://dev.azure.com/mssonic/build/_build/results?buildId=1015924
snmpd version conflict

Work item tracking
Microsoft ADO (number only): 36415344
Signed-off-by: Sreemoolanathan Iyer <sbiyer@google.com>
…e latest HEAD automatically (sonic-net#25029)

#### Why I did it
src/wpasupplicant/sonic-wpa-supplicant
```
* 71f7231a8 - (HEAD -> master, origin/master, origin/HEAD) [ci] Update docker slave env referrence (sonic-net#102) (4 days ago) [yijingyan2]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…24884)

Move the media_settings.json from the hwsku folder to the parent
platform directory since it can be shared across many hwskus for this
hardware platform.

Signed-off-by: Brian Gallagher <bgallagher@nexthop.ai>
Co-authored-by: arpit-nexthop <arpit@nexthop.ai>
Co-authored-by: saravanan sellappa <saravanan@nexthop.ai>
…ges (sonic-net#25108)

Why I did it
Use supervisor-proc-exit-listener-rs as listener in 3 more docker images, in order to save RAM usage.
…tomatically (sonic-net#25043)

#### Why I did it
src/sonic-linux-kernel
```
* c10cae9 - (HEAD -> master, origin/master, origin/HEAD) Changes to build kernel with necessary driver support for Aspeed 2700 on arm64. (sonic-net#522) (2 days ago) [Chandrasekaran Swaminathan]
* 35c8381 - Integrate HW-MGMT 7.0050.2930 Changes (sonic-net#525) (3 days ago) [Amit Abel]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…atically (sonic-net#25111)

#### Why I did it
src/sonic-utilities
```
* 137d594 - (HEAD -> master, origin/master, origin/HEAD) Skip IP range duplicate check in validate_bgp_peer_group for different vnets (sonic-net#4179) (2 days ago) [alawing]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…lly (sonic-net#25066)

#### Why I did it
src/sonic-swss
```
* f39134c - (HEAD -> master, origin/master, origin/HEAD) Add metric to vnet route tunnel request fields (sonic-net#4119) (5 hours ago) [Leyza]
* b83273b - Merge pull request sonic-net#4081 from divyagayathri-hcl/nexthop_test (12 hours ago) [StephenWangGoogle]
|\ 
| failure_prs.log skip_prs.log 81c26e9 - [P4Orch] Fix nexthop manager test. (2 days ago) [mint570]
|/ 
* 61d0c0d - Fix orchagent crash handling behavior (sonic-net#4040) (2 days ago) [prabhataravind]
* 655fa0d - [tests]: Update SRv6 test cases to use static SID configuration CLI (sonic-net#3956) (2 days ago) [Carmine Scarpitta]
* 3a7fd1e - Merge pull request sonic-net#4080 from divyagayathri-hcl/bulk_nexthop (3 days ago) [StephenWangGoogle]
* 5dff4df - [P4Orch] Use bulk APIs in the next hop manager. (4 days ago) [mint570]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…ically (sonic-net#25065)

#### Why I did it
src/sonic-restapi
```
* 5c3f4b0 - (HEAD -> master, origin/master, origin/HEAD) Changing the wildcard matching logic for client cert common names (sonic-net#175) (27 hours ago) [mramezani95]
* 0bf8881 - Adding support for wildcard CN matching during client cert authentication (sonic-net#168) (3 days ago) [mramezani95]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…ly (sonic-net#25041)

#### Why I did it
src/dhcprelay
```
* af5f61d - (HEAD -> master, origin/master, origin/HEAD) update docker slave name and switch to using libboost1.83 (sonic-net#88) (4 days ago) [yijingyan2]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…ic-net#24857)

Why I did it
We have added a new cli "counterpoll phy enable/disable" which requires changes to sonic-yang model.

Signed-off-by: dhanasekar-arista <dhanasekar@arista.com>
…tically (sonic-net#25083)

#### Why I did it
src/sonic-sairedis
```
* 914bda7d - (HEAD -> master, origin/master, origin/HEAD) [syncd] Remove syncd redis objects if using ZMQ notifications (sonic-net#1694) (3 days ago) [Connor Roos]
```
#### How I did it
#### How to verify it
#### Description for the changelog
)" (sonic-net#24794) (sonic-net#25037)

#### Why I did it
If teamd feature is disabled,
```
sudo config feature state teamd disabled
```

swss service should not wait on team container at all. Currently there is a process
```
python3 /usr/bin/docker-wait-any -s swss -d syncd teamd
```

However, a thread inside /usr/bin/docker-wait-any is actually crashed, and the behavior is same as ignoring teamd. It still keep the whole system working.

The root fix should check service enabled instead exists, so it will not wait-any on teamd at all. After this PR,

```
python3 /usr/bin/docker-wait-any -s swss -d syncd
```


##### Work item tracking
- Microsoft ADO **(number only)**:
- Fixing sonic-net#24730
…ic-net#25046)

Why I did it
Public build uses files/build/versions folder to store reproducible build version files. If someone wants to do a small change, it will result code conflict in future.
Now we use a symbol link instead of real folder to provide an easy way to override these files.

Work item tracking
Microsoft ADO (number only): 36315930
How I did it
by creating a symbolic link
Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* fix azure-pipeline-image-template.yml

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* fix symbolic link

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* Revert "fix symbolic link"

This reverts commit 26cebbd99c01de3150a1c0d26d24f189c222f7c9.

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* Revert "fix azure-pipeline-image-template.yml"

This reverts commit 4db63725863dc903ab446289891511a21793e032.

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* Revert "rename version folder"

This reverts commit 12a16e03905a077ad44dd162033edcb605ad9262.

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* Revert "create symbolic link for upgradeVersion pipeline"

This reverts commit d07dc205b2c0dc027c28549f4231d14949d7c4c3.

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* rename files/build/versions to files/build/versions-public and add symbolic link

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

* fix symbolic link to use relative path

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>

---------

Signed-off-by: yijingyan2 <yijingyan@microsoft.com>
Why I did it
This PR fixes a service name conflict in the otel container's monit configuration. The monit program check name was incorrectly using container_memory_telemetry instead of container_memory_otel, which would conflict with the telemetry container's monitoring configuration.

Work item tracking
Microsoft ADO (number only):
How I did it
Fixed a service name conflict in the otel container's monit configuration.


Signed-off-by: Janet Cui <janet970527@gmail.com>
Co-authored-by: Ze Gan <ganze718@gmail.com>
…et#24972)

- Why I did it
Fix a bug in HFT where the asic clock was not synchronized with the system clock, causing it to report a time around 1970.

There is a dependency between this PR and: sonic-net/sonic-sairedis#1734
The PR to sonic-buildimage should be merged first, followed by the PR to sonic-sairedis.

- How I did it
Added phcsync script for ASIC clock synchronization on Mellanox platforms: created phcsync.sh that syncs PTP clocks with system clock every 60 seconds.

- How to verify it
Which release branch to backport (provide reason below if selected)


Signed-off-by: Zili Bombach <zbombach@nvidia.com>

* Added error logs to phcsync.sh and made phcsync.sh executable

Signed-off-by: Zili Bombach <zbombach@nvidia.com>

---------

Signed-off-by: Zili Bombach <zbombach@nvidia.com>
Co-authored-by: Liat Grozovik <44433539+liat-grozovik@users.noreply.github.com>
…D automatically (sonic-net#25082)

#### Why I did it
src/sonic-platform-daemons
```
* 66361e2 - (HEAD -> master, origin/master, origin/HEAD) remove cmis logic out of process_single_lport (sonic-net#716) (4 days ago) [Bobby McGonigle]
* 9b81401 - [Xcvrd]Prioritize vendor specific over generic key match (sonic-net#734) (4 days ago) [Prince George]
```
#### How I did it
#### How to verify it
#### Description for the changelog
byu343 and others added 23 commits February 24, 2026 09:42
Why I did it
Add labels for sensors of Moby by sensors.conf

Work item tracking
Microsoft ADO (number only):
How I did it
How to verify it
Verified that labels shown in 'sensors' output is matching the output of 'show platform temperature'

Add labels for sensors of Moby by sensors.conf

Signed-off-by: Boyang Yu <byu@arista.com>
* Add support for MIRROR_URL build attribute

This change adds support for MIRROR_URL as a build parameters to
sonic-buildimage. MIRROR_URL can be mirror of https://packages.trafficmanager.net.

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Separate Debian snapshot mirror URL from general mirror URL

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Revert changes for older debians

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Install ca-certificates in pre_run_buildinfo

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Change sed delimiter to avoid escape characters

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Simplify the certificates install by bypassing peer check

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Pass https verify peer as an argument for apt

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Add changes for docker-base-trixie

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

* Rename to all URL to BUILD_<suffix>_URL

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>

---------

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
Co-authored-by: Lihua Yuan <lihuay@users.noreply.github.com>
…et#25016)

Summary:
During SWSS warm restart, the script swssconfig.sh replays only the TUNNEL_DECAP_TABLE subset from ipinip.json. This replay must not run on platforms that already recover IPinIP decap state from APP_DB. The current logic skipped replay only for Broadcom platform. This patch extends the skip behavior to marvell-teralynx ASICs.

Type of change:
Bug Fix - Adapting skipping of TUNNEL_DECAP replay in case of marvell-teralynx ASIC

How did you do it?
Updated warm-boot logic to skip applying ipinip.json for: marvell-teralynx similar to broadcom
Apply the filtered subset for all other ASICs.
This prevents duplicate tunnel-decap create operations during warm restart on Teralynx platforms.

How did you verify/test it?
Verified the behavior on Marvell-teralynx platform.

Any platform specific information?
YES, marvell-teralynx

Signed-off-by: Gnanapriya Sethuramarajan <gsethuramara@marvell.com>
Co-authored-by: Lihua Yuan <lihuay@users.noreply.github.com>
- Why I did it
Integrate HW-MGMT 7.0050.3001 Changes

- How I did it
Run make integrate-mlnx-hw-mgmt

- How to verify it
Build an image and run tests from "sonic-mgmt".
- Why I did it
The command "systemctl restart networking" uses "ifupdown" which has global file lock to prevent concurrent configurations. In some rare cases, we can get a timing conflict between simultaneous processes,
and eth0 remains down.
"error: Another instance of this program is already running"

- How I did it
Add a retry mechanism for the "systemctl restart networking" command.

- How to verify it
sudo ip link set eth0 down
sudo flock -x /run/network/.lock sleep 7 &
sudo systemctl restart interfaces-config.service

Signed-off-by: Ben Levi <belevi@nvidia.com>
Having this PHONY target results in unconditional builds. We should use
the docker UT Schema to run the tests instead of doing it from the
Makefile.

Signed-off-by: Nate White <nate@nexthop.ai>
[ZMQ] Avoid bind on management ip
[master] Upgrade SONiC package Versions
…sonic-net#25598)

Why I did it
telemetry needs to handle different platform for container_checker, including 202412 and 202411 which has different baseline of container_checker

Work item tracking
Microsoft ADO (number only):
How I did it
pack 202411 container into sidecar, since SHOW feature only exist on 202412 and we cannot use 202412 builtout sidecar directly.

How to verify it
verified on 202411 DUT.
image

before fix, container_checker overwrite will report below error since 202411 branch container_check doesn't have disaggregated_chassis support.
image

after fix, it works fine
image
…utomatically (sonic-net#25663)

#### Why I did it
src/sonic-host-services
```
* 2826255 - (HEAD -> master, origin/master, origin/HEAD) procdockerstatsd-rs: use ASCII hyphen for invalid container name (sonic-net#346) (8 hours ago) [Jianyue Wu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…D automatically (sonic-net#25634)

#### Why I did it
src/sonic-platform-daemons
```
* 9020d38 - (HEAD -> master, origin/master, origin/HEAD) psud: Handle Redis BUSY errors gracefully (sonic-net#743) (2 hours ago) [Vasundhara Volam]
* 177451e - chassis_db_init: add exception handling for HW info fetch (sonic-net#740) (25 hours ago) [LinJin23]
* 2bc0f21 - [xcvrd] Arm DP_ACTIVATE timer in CMIS_STATE_DP_TXON using max of DPInitDuration and MaxDPTxTurnOnDuration (sonic-net#751) (26 hours ago) [pnakka28]
* fa2f491 - Read SFP temperature from TRANSCEIVER_DOM_TEMPERATURE table (sonic-net#747) (2 days ago) [Vasundhara Volam]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…tomatically (sonic-net#25632)

#### Why I did it
src/sonic-linux-kernel
```
* c92aa5c - (HEAD -> master, origin/master, origin/HEAD) Added 6.12 kernel trixie patches for amd-pensando elba platform (sonic-net#538) (29 hours ago) [Sahil Chaudhari]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…tically (sonic-net#25662)

#### Why I did it
src/sonic-dash-api
```
* 18a29c1 - (HEAD -> master, origin/master, origin/HEAD) Add step to compile Trixie in the CI builds (sonic-net#64) (56 seconds ago) [Saikrishna Arcot]
* 99a835c - Move route rule priority to key (sonic-net#62) (3 hours ago) [Lawrence Lee]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…lly (sonic-net#25637)

#### Why I did it
src/sonic-swss
```
* dbe0768e - (HEAD -> master, origin/master, origin/HEAD) Fix the "Invalid BUFFER QUEUE" error (sonic-net#4224) (6 hours ago) [saksarav-nokia]
* d29d7ea1 - This patch is to fix a major bug in the for loop of the function AclRange::remove. (sonic-net#4256) (9 hours ago) [ashishalok-arista]
* 35288a65 - Fix performance issue in fpmsyncd for non-ZMQ configuration (sonic-net#4219) (9 hours ago) [venkit-nexthop]
* 1c384fb6 - Merge pull request sonic-net#4022 from ksravani-hcl/swss_1 (12 hours ago) [StephenWangGoogle]
|\ 
| failure_prs.log skip_prs.log 36d98d61 - Enable response pipeline for P4Orch. (22 hours ago) [mint570]
|/ 
* 63860664 - [build] Add docker-based build environment (sonic-net#3715) (22 hours ago) [Lawrence Lee]
* 26ec7561 - [buffermgrd] Wait for lossless buffer profile to be applied to SAI (sonic-net#4154) (23 hours ago) [ganglv]
* 599eae77 - [tunnel] use warning message when setting a create-only attribute (sonic-net#4212) (27 hours ago) [Yakiv Huryk]
* ebf8c73f - [orchagent] Fix getopt string for -R option (ring_thread_enabled regression) (sonic-net#4207) (27 hours ago) [Chiranjeevi U - MapleLabs]
* aa081017 - Avoid using an uninitialized source MAC address (sonic-net#4201) (28 hours ago) [Andriy Yurkiv]
* 2a258c2 - Added mux neighbor_mode support with prefix-route (sonic-net#4152) (31 hours ago) [manamand2020]
* 9616cd52 - [ci] Install redis from Debian (sonic-net#4241) (34 hours ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…tically (sonic-net#25636)

#### Why I did it
src/sonic-sairedis
```
* bd820a06 - (HEAD -> master, origin/master, origin/HEAD) Fix compilation on Trixie (sonic-net#1768) (26 hours ago) [Saikrishna Arcot]
* 985742f5 - [ci] Install redis from Debian (sonic-net#1777) (2 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Why I did it
HWSKU Arista-720DT-MGX-G48S4 requested by Microsoft

How I did it
Created folder for Arista-720DT-MGX-G48S4
* Build: Fix restapi-sidecar docker Makefile (sonic-net#25417)

Having this PHONY target results in unconditional builds. We should use
the docker UT Schema to run the tests instead of doing it from the
Makefile.

Signed-off-by: Nate White <nate@nexthop.ai>
Signed-off-by: Sonika Jindal <sonikajindal@google.com>

* [azure-pipelines] Add alpinevs build pipeline

Signed-off-by: Sonika Jindal <sonikajindal@google.com>

* Remove BUILD_MULTIASIC_KVM and INCLUDE_DHCP_SERVER from alpinevs build options

Signed-off-by: Sonika Jindal <sonikajindal@google.com>

---------

Signed-off-by: Nate White <nate@nexthop.ai>
Signed-off-by: Sonika Jindal <sonikajindal@google.com>
Co-authored-by: nate-nexthop <nate@nexthop.ai>
What is the motivation for this PR
Enable kubesonic integration tests in sonic-mgmt; tests use the Python kubernetes client to interact with the K8s API.

How did you do it
Added kubernetes to the pip install list in the docker-sonic-mgmt Dockerfile.

How did you verify/test it
Build sonic-mgmt container and verify kubernetes package is installed:
python -c "import kubernetes; print(kubernetes.__version__)"

Signed-off-by: Dawei Huang <daweihuang@microsoft.com>
Why I did it
K8s rollout containers have long names, and we will use container label to identify its original container/service names such as "restapi". This PR will extend service_checker to respect either image native containers or k8s rollout containers for the same service.

Work item tracking
Microsoft ADO (number only):
How I did it
Check all containers labels.

How to verify it
Unit test. Manually verified on a sonic device with k8s rollout restapi container.
…ent to eeprom read failures

Signed-off-by: tshalvi <tshalvi@nvidia.com>
Signed-off-by: tshalvi <tshalvi@nvidia.com>
Signed-off-by: tshalvi <tshalvi@nvidia.com>
@tshalvi tshalvi force-pushed the master_fix_for_sfp_count_and_get_transceiver_info branch from 4fce903 to ad7fa4f Compare February 25, 2026 23:45
xwjiang-ms and others added 6 commits February 25, 2026 16:35
…#25461)

What is the motivation for this PR
PR sonic-mgmt#21636 imported GLOBAL_PARAMS to refactor pr_test_template.yml, which caused downstream templates to fail to receive parameters reliably. This aims to make parameter passing stable and predictable by replacing dynamic expansion with explicit parameters.

How did you do it
Reverted dynamic GLOBAL_PARAMS expansion to explicit parameters for reliable template passing.

How did you verify/test it
Not provided in PR description.

Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
…net#25645)

Add SIGINT and SIGTERM trap handlers to process_log.sh so that
pressing Ctrl-C during a build actually terminates the process
pipeline.

Root cause: The LOG macro in rules/functions pipes build output
through process_log.sh:

  cmd < /dev/null |& process_log.sh -t >> target.log

When the user presses Ctrl-C, make receives SIGINT and attempts to
kill child processes. However, process_log.sh `while read` loop
ignores SIGINT by default (bash builtin read is not interruptible
in all cases), keeping the pipeline alive and preventing make from
cleaning up and exiting.

The fix adds explicit trap handlers that exit with the conventional
signal exit codes (128+signal_number) when SIGINT or SIGTERM is
received.

Fixes: sonic-net#25520

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>
Co-authored-by: Rustiqly <rustiqly@users.noreply.github.com>
Co-authored-by: Lihua Yuan <lihuay@users.noreply.github.com>
…25518)

What is the motivation for this PR
Latest master moved to trixie (6.12 kernel). Update Pensando drivers/scripts/makefiles/plugins to support 6.12.

How did you do it
Updated dsc-drivers, Pensando scripts, makefiles and plugins for 6.12; built using Pensando artifacts (1.87.0-SS-18-release).

How did you verify/test it
Loaded image on Pensando DPU on Mtfuji DSS; all dockers up and interfaces up.

Signed-off-by: Sahil Chaudhari <sahil.chaudhari@amd.com>
…onic-net#25673)

- Why I did it
Use the flag to limit discovery to queues with buffers configured.
(Reduces discovery time under the threshold)

- How I did it
Add create_only_config_db_buffers.json in the platform folder.

- How to verify it
config reload -y

Check the following logs:
"can't provide the statisticcan't provide the statistic"
"NOTICE syncd#SDK: :- threadFunction: time span.*ms for"
show queue counters
counterpoll show


---------

Signed-off-by: Ben Levi <belevi@nvidia.com>
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.