Skip to content

Commit 9a52d8f

Browse files
committed
Add support for Mellanox-SN4280-O8C40 SKU
Signed-off-by: ram25794 <ssingamala@nvidia.com>
1 parent 6e37b4b commit 9a52d8f

14 files changed

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

0 commit comments

Comments
 (0)