-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SN5640 SIMX platform with default SKU #32
Conversation
43e86d7
to
d321226
Compare
{% set default_cable = '300m' %} | ||
{% set ingress_lossless_pool_size = '31502336' %} | ||
{% set ingress_lossy_pool_size = '31502336' %} | ||
{% set egress_lossless_pool_size = '138240000' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am afraid this value is too big. if the guaranteed size is 130.9, the number should be round_down(130.9*1024*1024, 192)
d321226
to
43cd2cf
Compare
43cd2cf
to
be36ad2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to overcome your issue.
Need to understand the number of uplink/downlink ports to calculate concrete pool numbers
@@ -0,0 +1 @@ | |||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers.json.j2
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 | |
../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers.json.j2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to use templates from Mellanox-SN2700-D48C8
{% set ingress_lossless_pool_size = '2359296' %} | ||
{% set ingress_lossy_pool_size = '2359296' %} | ||
{% set egress_lossless_pool_size = '136209408' %} | ||
{% set egress_lossy_pool_size = '2359296' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{% set egress_lossy_pool_size = '2359296' %} | |
{% set egress_lossy_pool_size = '2359296' %} | |
{% set ingress_lossless_pool_xoff = '1024000' %} |
{% set ingress_lossless_pool_size = '18874368' %} | ||
{% set ingress_lossy_pool_size = '71459840' %} | ||
{% set egress_lossless_pool_size = '136209408' %} | ||
{% set egress_lossy_pool_size = '71459840' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{% set egress_lossy_pool_size = '71459840' %} | |
{% set egress_lossy_pool_size = '71459840' %} | |
{% set ingress_lossless_pool_xoff = '1024000' %} |
@@ -0,0 +1 @@ | |||
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to use templates from Mellanox-SN2700-D48C8
#} | ||
{% set default_cable = '40m' %} | ||
{% set ingress_lossless_pool_size = '73684992' %} | ||
{% set ingress_lossless_pool_xoff = '57828352' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
22016 * 1024?
0107a17
to
3c5e828
Compare
@stephenxs thanks for the comment. all were addressed. |
What I did
Added new platform and SKU for SN5640.
Currently, number of up/down links is 256/256.
Why I did it
Work item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
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)