Skip to content

Commit 4b6f3b5

Browse files
committed
[Mellanox] Update Mellanox-SN5600-C256S1 buffer calculations
<!-- Please make sure you've read and understood our contributing guidelines: https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md ** 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 Update buffer calculations for Mellanox-SN5600-C256S1 HwSKU. ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it Update lossless pool #### How to verify it Run sonic-mgmt QoS test <!-- 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 - [x] 202405 #### 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 891a522 commit 4b6f3b5

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
limitations under the License.
1717
#}
1818
{% set default_cable = '40m' %}
19-
{% set ingress_lossless_pool_size = '115245056' %}
20-
{% set ingress_lossless_pool_xoff = '14826496' %}
19+
{% set ingress_lossless_pool_size = '142703616' %}
20+
{% set ingress_lossless_pool_xoff = '1024' %}
2121
{% set egress_lossless_pool_size = '158229504' %}
22-
{% set egress_lossy_pool_size = '115245056' %}
22+
{% set egress_lossy_pool_size = '142703616' %}
2323

2424
{% import 'buffers_defaults_objects.j2' as defs with context %}
2525

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

+11-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
#}
18-
{% set default_cable = '300m' %}
19-
{% set ingress_lossless_pool_size = '137779200' %}
20-
{% set ingress_lossless_pool_xoff = '10092544' %}
18+
{% set default_cable = '250m' %}
19+
{% set ingress_lossless_pool_size = '142703616' %}
20+
{% set ingress_lossless_pool_xoff = '1024' %}
2121
{% set egress_lossless_pool_size = '158229504' %}
22-
{% set egress_lossy_pool_size = '137779200' %}
22+
{% set egress_lossy_pool_size = '142703616' %}
23+
24+
{%-set ports2cable = {
25+
'torrouter_server' : '40m',
26+
'leafrouter_torrouter' : '250m',
27+
'spinerouter_leafrouter' : '1000m'
28+
}
29+
-%}
2330

2431
{% import 'buffers_defaults_objects.j2' as defs with context %}
2532

device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256S1/pg_profile_lookup.ini

+8
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,11 @@
4949
200000 300m 19456 19456 130048 0
5050
400000 300m 19456 19456 243712 0
5151
800000 300m 38912 38912 411648 0
52+
10000 1000m 19456 19456 24576 0
53+
25000 1000m 19456 19456 46080 0
54+
40000 1000m 19456 19456 68608 0
55+
50000 1000m 19456 19456 83968 0
56+
100000 1000m 19456 19456 168960 0
57+
200000 1000m 19456 19456 308224 0
58+
400000 1000m 19456 19456 610304 0
59+
800000 1000m 38912 38912 1153024 0

0 commit comments

Comments
 (0)