Skip to content
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

Closed
wants to merge 5 commits into from
Closed

Conversation

noaOrMlnx
Copy link
Owner

@noaOrMlnx noaOrMlnx commented Jul 14, 2024

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
  • Microsoft ADO (number only):

How I did it

How to verify it

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)

{% set default_cable = '300m' %}
{% set ingress_lossless_pool_size = '31502336' %}
{% set ingress_lossy_pool_size = '31502336' %}
{% set egress_lossless_pool_size = '138240000' %}
Copy link

@stephenxs stephenxs Jul 18, 2024

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)

Copy link

@stephenxs stephenxs left a 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

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

Suggested change
../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers.json.j2
../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers.json.j2

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' %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% 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' %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% 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

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' %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

22016 * 1024?

@noaOrMlnx
Copy link
Owner Author

@stephenxs thanks for the comment. all were addressed.

@noaOrMlnx noaOrMlnx closed this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants