Skip to content

[Mellanox] Support new field "supporting_bulk_counter_groups" in DEVICE_METADATA|localhost for Mellanox-SN4280-O28 #21874

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
oleksandrivantsiv:Mellanox-SN4280-O28-bulk-counters
Mar 6, 2025
Merged

[Mellanox] Support new field "supporting_bulk_counter_groups" in DEVICE_METADATA|localhost for Mellanox-SN4280-O28 #21874
liat-grozovik merged 1 commit intosonic-net:masterfrom
oleksandrivantsiv:Mellanox-SN4280-O28-bulk-counters

Conversation

@oleksandrivantsiv
Copy link
Collaborator

@oleksandrivantsiv oleksandrivantsiv commented Feb 27, 2025

Why I did it

Support new field "supporting_bulk_counter_groups" in DEVICE_METADATA|localhost for Mellanox-SN4280-O28. This change is required to optimize and speed up counters initialization.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Set create_only_config_db_buffers flag for the SKU and provide a list of counters for the bulk groups.

How to verify it

Run sonic-mgmt test. Compare the initilization sequence with and without changes.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

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
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@oleksandrivantsiv
Copy link
Collaborator Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 21874 in repo sonic-net/sonic-buildimage

@oleksandrivantsiv
Copy link
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@oleksandrivantsiv
Copy link
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@oleksandrivantsiv
Copy link
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik liat-grozovik merged commit 7ba0e97 into sonic-net:master Mar 6, 2025
21 checks passed
@liat-grozovik liat-grozovik changed the title Support new field "supporting_bulk_counter_groups" in DEVICE_METADATA|localhost for Mellanox-SN4280-O28 [Mellanox] Support new field "supporting_bulk_counter_groups" in DEVICE_METADATA|localhost for Mellanox-SN4280-O28 Mar 6, 2025
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #21986

echuawu added a commit to echuawu/sonic-mgmt that referenced this pull request Mar 13, 2025
After PR sonic-net/sonic-buildimage#21874 merged
The admin down ports in table BUFFER_PG_TABLE only contain PG 0

Change-Id: I793a02e97340eb6c583ac7c5c83dd2b8d6fd1689
(cherry picked from commit 69898173db63fc2ed050fd6f422a6f009cf57a14)
liat-grozovik pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Mar 20, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup
amulyan7 pushed a commit to amulyan7/sonic-mgmt that referenced this pull request Mar 31, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup
OriTrabelsi pushed a commit to OriTrabelsi/sonic-mgmt that referenced this pull request Apr 1, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Apr 21, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup
mssonicbld pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Apr 22, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup

Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup

Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
Remove admin down ports in BUFFER PG check logic.
After PR sonic-net/sonic-buildimage#21874 merged, the admin down ports in table BUFFER_PG_TABLE only contain PG 0.

- What is the motivation for this PR?
Test update for design PR sonic-net/sonic-buildimage#21874

- How did you do it?
Remove admin down ports in BUFFER PG check logic.

- How did you verify/test it?
Run it in local setup

Signed-off-by: Guy Shemesh <gshemesh@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.

5 participants