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

[Quanta] Add and update platform and device files #6971

Merged
merged 8 commits into from
Jun 21, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{%- set default_topo = 't1' %}
{%- include 'buffers_config.j2' %}

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{%- set default_cable = '300m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{% for port_idx in range(0,32) %}
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
{% endfor %}
{%- endmacro %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"xoff": "4625920",
"size": "12766208",
"type": "ingress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "12766208",
"type": "egress",
"mode": "static"
},
"egress_lossy_pool": {
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"static_th":"12766208"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"1518",
"dynamic_th":"3"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{%- set default_cable = '300m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{% for port_idx in range(0,32) %}
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
{% endfor %}
{%- endmacro %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "12766208",
"type": "ingress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "12766208",
"type": "egress",
"mode": "static"
},
"egress_lossy_pool": {
"size": "7326924",
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"static_th":"12766208"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"1518",
"dynamic_th":"3"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{%- set default_cable = '300m' %}

{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{% for port_idx in range(0,32) %}
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
{% endfor %}
{%- endmacro %}

{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"xoff": "196608",
"size": "12766208",
"type": "ingress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "33004032",
"type": "egress",
"mode": "static"
},
"egress_lossy_pool": {
"size": "12766208",
"type": "egress",
"mode": "dynamic"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"0",
"static_th":"33004032"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossless_pool]",
"size":"1518",
"dynamic_th":"3"
}
},
{%- endmacro %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
l2_mem_entries=294912
l3_mem_entries=16384
l3_alpm_enable=0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
l2_mem_entries=40960
l3_mem_entries=40960
l3_alpm_enable=2
use_all_splithorizon_groups=1
sai_tunnel_support=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold xon_offset
10000 5m 9427 0 50176 1 3584
25000 5m 9427 0 50176 1 3584
40000 5m 9427 0 50176 1 3584
50000 5m 9427 0 50176 1 3584
100000 5m 9427 0 50176 1 3584
10000 40m 9427 0 50176 1 3584
25000 40m 9427 0 50176 1 3584
40000 40m 9427 0 50176 1 3584
50000 40m 9427 0 50176 1 3584
100000 40m 9427 0 50176 1 3584
10000 300m 9427 0 50176 1 3584
25000 300m 9427 0 50176 1 3584
40000 300m 9427 0 50176 1 3584
50000 300m 9427 0 50176 1 3584
100000 300m 9427 0 50176 1 3584
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"fec-mode": {
"Ethernet0-127": {
"1": {
"10000": [ "none", "fc" ],
"25000": [ "none", "rs" ]
},
"2": {
"20000": [ "none", "fc" ],
"50000": [ "none", "rs" ]
},
"4": {
"40000": [ "none", "fc" ],
"100000": [ "none", "rs" ]
}
}
},
"default-fec-mode": {
"Ethernet0-127": {
"4": {
"40000": "none",
"100000": "rs"
}
}
},
"native-port-supported-speeds": {
"Ethernet0-127": {
"4": ["100000","40000"]
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# name lanes alias index speed valid_speeds
Ethernet0 29,30,31,32 hundredGigE1 1 100000 100000,40000
Ethernet4 33,34,35,36 hundredGigE2 2 100000 100000,40000
Ethernet8 41,42,43,44 hundredGigE3 3 100000 100000,40000
Ethernet12 45,46,47,48 hundredGigE4 4 100000 100000,40000
Ethernet16 1,2,3,4 hundredGigE5 5 100000 100000,40000
Ethernet20 5,6,7,8 hundredGigE6 6 100000 100000,40000
Ethernet24 9,10,11,12 hundredGigE7 7 100000 100000,40000
Ethernet28 13,14,15,16 hundredGigE8 8 100000 100000,40000
Ethernet32 17,18,19,20 hundredGigE9 9 100000 100000,40000
Ethernet36 21,22,23,24 hundredGigE10 10 100000 100000,40000
Ethernet40 25,26,27,28 hundredGigE11 11 100000 100000,40000
Ethernet44 37,38,39,40 hundredGigE12 12 100000 100000,40000
Ethernet48 49,50,51,52 hundredGigE13 13 100000 100000,40000
Ethernet52 53,54,55,56 hundredGigE14 14 100000 100000,40000
Ethernet56 57,58,59,60 hundredGigE15 15 100000 100000,40000
Ethernet60 61,62,63,64 hundredGigE16 16 100000 100000,40000
Ethernet64 65,66,67,68 hundredGigE17 17 100000 100000,40000
Ethernet68 69,70,71,72 hundredGigE18 18 100000 100000,40000
Ethernet72 73,74,75,76 hundredGigE19 19 100000 100000,40000
Ethernet76 77,78,79,80 hundredGigE20 20 100000 100000,40000
Ethernet80 93,94,95,96 hundredGigE21 21 100000 100000,40000
Ethernet84 101,102,103,104 hundredGigE22 22 100000 100000,40000
Ethernet88 105,106,107,108 hundredGigE23 23 100000 100000,40000
Ethernet92 109,110,111,112 hundredGigE24 24 100000 100000,40000
Ethernet96 113,114,115,116 hundredGigE25 25 100000 100000,40000
Ethernet100 117,118,119,120 hundredGigE26 26 100000 100000,40000
Ethernet104 121,122,123,124 hundredGigE27 27 100000 100000,40000
Ethernet108 125,126,127,128 hundredGigE28 28 100000 100000,40000
Ethernet112 81,82,83,84 hundredGigE29 29 100000 100000,40000
Ethernet116 85,86,87,88 hundredGigE30 30 100000 100000,40000
Ethernet120 89,90,91,92 hundredGigE31 31 100000 100000,40000
Ethernet124 97,98,99,100 hundredGigE32 32 100000 100000,40000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{%- include 'qos_config_t1.j2' %}
Loading