Skip to content

Commit e87c1a1

Browse files
committed
Add support for Mellanox-SN4280-O8C80 SKU
Signed-off-by: ram25794 <ssingamala@nvidia.com>
1 parent 58c1c41 commit e87c1a1

15 files changed

+984
-1
lines changed

device/mellanox/x86_64-mlnx_msn4700-r0/Mellanox-SN4700-O28/buffers_defaults_objects.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{#
2-
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
2+
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
34
Apache-2.0
45
56
Licensed under the Apache License, Version 2.0 (the "License");
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{#
2+
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+
Apache-2.0
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
#}
18+
{%- set default_topo = 't0' %}
19+
{%- include 'buffers_config.j2' %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../x86_64-mlnx_msn4700-r0/Mellanox-SN4700-O28/buffers_defaults_objects.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{#
2+
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+
Apache-2.0
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
#}
17+
{% set default_cable = '5m' %}
18+
{%-set ports2cable = {
19+
'leafrouter_torrouter' : '300m',
20+
'torrouter_server' : '5m'
21+
}
22+
-%}
23+
{% set ingress_lossless_pool_size = '30416832' %}
24+
{% set ingress_lossless_pool_xoff = '19763136' %}
25+
{% set egress_lossless_pool_size = '60817392' %}
26+
{% set egress_lossy_pool_size = '30416832' %}
27+
28+
{% import 'buffers_defaults_objects.j2' as defs with context %}
29+
30+
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
31+
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
32+
{%- endmacro %}
33+
34+
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
35+
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
36+
{%- endmacro %}
37+
38+
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
39+
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
40+
{%- endmacro %}
41+
42+
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
43+
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
44+
{%- endmacro %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{#
2+
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+
Apache-2.0
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
#}
17+
{% set default_cable = '300m' %}
18+
{%-set ports2cable = {
19+
'spinerouter_leafrouter' : '2000m',
20+
'leafrouter_torrouter' : '300m'
21+
}
22+
-%}
23+
{% set ingress_lossless_pool_size = '46743552' %}
24+
{% set ingress_lossless_pool_xoff = '8781696' %}
25+
{% set egress_lossless_pool_size = '60817392' %}
26+
{% set egress_lossy_pool_size = '46743552' %}
27+
28+
{% import 'buffers_defaults_objects.j2' as defs with context %}
29+
30+
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
31+
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
32+
{%- endmacro %}
33+
34+
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
35+
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
36+
{%- endmacro %}
37+
38+
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
39+
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
40+
{%- endmacro %}
41+
42+
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
43+
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
44+
{%- endmacro %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{#
2+
SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+
Apache-2.0
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
#}
18+
{%- set default_topo = 't0' %}
19+
{%- set dynamic_mode = 'true' %}
20+
{%- include 'buffers_config.j2' %}

0 commit comments

Comments
 (0)