Skip to content

[Mellanox] Add create_only_config_db_buffers for mellanox platforms#25673

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
benle7:only_config_db_buffers
Feb 26, 2026
Merged

[Mellanox] Add create_only_config_db_buffers for mellanox platforms#25673
liat-grozovik merged 2 commits intosonic-net:masterfrom
benle7:only_config_db_buffers

Conversation

@benle7
Copy link
Copy Markdown
Contributor

@benle7 benle7 commented Feb 25, 2026

Why I did it

Use the flag to limit discovery to queues with buffers configured.
(Reduces discovery time under the threshold)

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add create_only_config_db_buffers.json in the platform folder.

How to verify it

config reload -y

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

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)

Signed-off-by: Ben Levi <belevi@nvidia.com>
@benle7 benle7 requested a review from lguohan as a code owner February 25, 2026 07:25
@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).

@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).

@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).

@benle7 benle7 force-pushed the only_config_db_buffers branch from 93b5df0 to f17cf3d Compare February 25, 2026 08:59
@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).

@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).

@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).

@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).

@benle7 benle7 force-pushed the only_config_db_buffers branch from 52ff065 to a564688 Compare February 25, 2026 09:17
@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).

Signed-off-by: Ben Levi <belevi@nvidia.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@benle7 benle7 force-pushed the only_config_db_buffers branch from cd63bf8 to a3d00da Compare February 25, 2026 09:20
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@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).

@liat-grozovik liat-grozovik merged commit 75ae66f into sonic-net:master Feb 26, 2026
24 of 25 checks passed
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…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>
Signed-off-by: Feng Pan <fenpan@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202511: #25984

dprital pushed a commit that referenced this pull request Mar 19, 2026
…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>
Signed-off-by: dprital <drorp@nvidia.com>
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.

7 participants