Added platform.json in Mellanox Spectrum-4 and older simx platforms (#9621)

- Why I did it
Added missing functionality for dynamic buffer calculation in Spectrum-4.

- How I did it
Added a section of code in asic_table.j2 for Spectrum-4, and added the simx version of SN5600 to the supported list.

- How to verify it
Manually: buffershow -l should show all ingress/egress lossy/lossless pools, and all fields of profiles should show values.
Automatically: https://github.com/Azure/sonic-mgmt/blob/master/tests/qos/test_buffer.py

Signed-off-by: Raphael Tryster <raphaelt@nvidia.com>
This commit is contained in:
Raphael Tryster 2022-01-02 09:58:40 +02:00 committed by GitHub
parent b0f0d4e963
commit c2b0af89fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1296 additions and 0 deletions

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/platform.json

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn3700-r0/platform.json

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn4700-r0/platform.json

File diff suppressed because it is too large Load Diff

View File

@ -44,6 +44,7 @@
'x86_64-nvidia_sn4800_simx-r0':'MELLANOX-SPECTRUM-3',
'x86_64-nvidia_sn2201-r0':'MELLANOX-SPECTRUM',
'x86_64-nvidia_sn5600-r0':'MELLANOX-SPECTRUM-4',
'x86_64-nvidia_sn5600_simx-r0':'MELLANOX-SPECTRUM-4',
'vs-platform':'vs'
}
%}
@ -78,5 +79,15 @@
},
"OP": "SET"
}
{% elif asic_type == 'MELLANOX-SPECTRUM-4' %}
{
"ASIC_TABLE:MELLANOX-SPECTRUM-4": {
"cell_size": "192",
"pipeline_latency": "19",
"mac_phy_delay": "0.8",
"peer_response_time": "3.8"
},
"OP": "SET"
}
{% endif %}
]