Skip to content

Commit b7665b8

Browse files
authored
[Mellanox] Update Mellanox-SN5600-C256S1, Mellanox-SN5600-C224O8 buffers and DSCP mapping (sonic-net#562)
<!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md failure_prs.log skip_prs.log Make sure all your commits include a signature generated with `git commit -s` ** If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" or "resolves #xxxx" Please provide the following information: --> #### Why I did it To update buffers for Mellanox-SN5600-C256S1 and Mellanox-SN5600-C224O8 ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it Update proper files - qos.json.j2, buffer_defaults_objects.j2, buffers_defaults_t0/t1.j2 #### How to verify it Run test and check SDK dumps values <!-- If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012. --> #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 - [ ] 202211 - [ ] 202305 #### Tested branch (Please provide the tested image version) <!-- - Please provide tested image version - e.g. - [x] 20201231.100 --> - [ ] <!-- image version 1 --> - [ ] <!-- image version 2 --> #### Description for the changelog <!-- Write a short (one line) summary that describes the changes in this pull request for inclusion in the changelog: --> <!-- Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU. --> #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md --> #### A picture of a cute animal (not mandatory but encouraged)
1 parent 4eaf71b commit b7665b8

File tree

9 files changed

+437
-343
lines changed

9 files changed

+437
-343
lines changed

device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C224O8/buffers_defaults_objects.j2

-310
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Mellanox-SN5600-C256S1/buffers_defaults_objects.j2

device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C224O8/buffers_defaults_t0.j2

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{#
22
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3-
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
Apache-2.0
55
66
Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,11 +15,17 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
#}
18-
{% set default_cable = '40m' %}
19-
{% set ingress_lossless_pool_size = '144188416' %}
20-
{% set ingress_lossless_pool_xoff = '1024' %}
18+
{% set default_cable = '0m' %}
19+
{%-set ports2cable = {
20+
'torrouter_server' : '0m',
21+
'leafrouter_torrouter' : '0m',
22+
'spinerouter_leafrouter' : '0m'
23+
}
24+
-%}
25+
{% set ingress_lossless_pool_size = '144189440' %}
26+
{% set ingress_lossless_pool_xoff = '0' %}
2127
{% set egress_lossless_pool_size = '158229504' %}
22-
{% set egress_lossy_pool_size = '144188416' %}
28+
{% set egress_lossy_pool_size = '144189440' %}
2329

2430
{% import 'buffers_defaults_objects.j2' as defs with context %}
2531

device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C224O8/buffers_defaults_t1.j2

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{#
22
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3-
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
Apache-2.0
55
66
Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,18 +15,17 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
#}
18-
{% set default_cable = '250m' %}
19-
{% set ingress_lossless_pool_size = '144188416' %}
20-
{% set ingress_lossless_pool_xoff = '1024' %}
21-
{% set egress_lossless_pool_size = '158229504' %}
22-
{% set egress_lossy_pool_size = '144188416' %}
23-
18+
{% set default_cable = '0m' %}
2419
{%-set ports2cable = {
25-
'torrouter_server' : '40m',
26-
'leafrouter_torrouter' : '250m',
27-
'spinerouter_leafrouter' : '1000m'
20+
'torrouter_server' : '0m',
21+
'leafrouter_torrouter' : '0m',
22+
'spinerouter_leafrouter' : '0m'
2823
}
2924
-%}
25+
{% set ingress_lossless_pool_size = '144189440' %}
26+
{% set ingress_lossless_pool_xoff = '0' %}
27+
{% set egress_lossless_pool_size = '158229504' %}
28+
{% set egress_lossy_pool_size = '144189440' %}
3029

3130
{% import 'buffers_defaults_objects.j2' as defs with context %}
3231

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2
1+
../Mellanox-SN5600-C256S1/qos.json.j2

device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256S1/buffers_defaults_objects.j2

-1
This file was deleted.

0 commit comments

Comments
 (0)