forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Supermicro] Add a new supported device and platform, SSE-T7132S (son…
…ic-net#15368) * Switch Vendor: Supermicro * Switch SKU: Supermicro_sse_t7132s * ASIC Vendor: innovium * Swich ASIC: TL7 * Port Configuration: 32x400G Signed-off-by: wilsonw <[email protected]>
- Loading branch information
1 parent
477e2fa
commit fd463b9
Showing
69 changed files
with
8,637 additions
and
0 deletions.
There are no files selected for viewing
263 changes: 263 additions & 0 deletions
263
device/supermicro/x86_64-supermicro_sse_t7132s-r0/CSV/TL7_DAC_1M.csv
Large diffs are not rendered by default.
Oops, something went wrong.
263 changes: 263 additions & 0 deletions
263
device/supermicro/x86_64-supermicro_sse_t7132s-r0/CSV/TL7_DAC_3M.csv
Large diffs are not rendered by default.
Oops, something went wrong.
263 changes: 263 additions & 0 deletions
263
device/supermicro/x86_64-supermicro_sse_t7132s-r0/CSV/TL7_Optics.csv
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
device/supermicro/x86_64-supermicro_sse_t7132s-r0/CSV/TL7_RJ45.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
VERSION,CABLE TYPE,VENDOR,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
1.2,RJ45,GENERIC,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
,,,SPEED,ENCODING,,,,,,,,,,SPEED,ENCODING,,,,,,,,,,,,,,SPEED,ENCODING,,,,,, | ||
,,,50G/400G,PAM4,,,,,,,,,,25G/100G,NRZ,,,,,,,,,,,,,,10G/40G,NRZ,,,,,, | ||
index,Front Port,lane,TX_EQ_ATTN,TX_EQ_PRE1,TX_EQ_PRE2,TX_EQ_PRE3,TX_EQ_POST,Optical Module CTLE,RX_EQ_COARSE_TUNE_EFFORT_50G,RX_EQ_FINE_TUNE_EFFORT_50G,RX_GAINSHAPE1,RX_GAINSHAPE2,LINK_TRAINING,TX_EQ_ATTN,TX_EQ_PRE1,TX_EQ_PRE2,TX_EQ_PRE3,TX_EQ_POST,Optical Module CTLE,RX_GAINSHAPE1,RX_GAINSHAPE2,RX_AGC_TARGET,RX_EYE_DISQUALIFY_THRESHOLD_25G,RX_EQ_COARSE_TUNE_EFFORT_25G,RX_EQ_FINE_TUNE_EFFORT_25G,SD_RESET_THRESHOLD,SD_RESET_25G,LINK_TRAINING,TX_EQ_ATTN,TX_EQ_PRE1,TX_EQ_PRE2,TX_EQ_PRE3,TX_EQ_POST,RX_GAINSHAPE1,RX_GAINSHAPE2,LINK_TRAINING | ||
256,32,0,0,4,0,0,4,4.5,Medium,High,0,2,0,0,4,0,0,4,4,0,0,100,100,LOW,LOW,NA,FALSE,0,0,0,0,0,0,0,0,0 | ||
257,32,1,0,4,0,0,2,5.5,Medium,High,0,2,0,0,4,0,1,2,4,0,0,100,100,LOW,LOW,NA,FALSE,0,0,0,0,0,0,0,0,0 |
167 changes: 167 additions & 0 deletions
167
device/supermicro/x86_64-supermicro_sse_t7132s-r0/Supermicro_sse_t7132s/buffers.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
{# Default values which will be used if no actual configura available #} | ||
{% set default_cable = '40m' %} | ||
{% set mgmt_port_name = ['Ethernet256','Ethernet257'] %} | ||
|
||
{# Port configuration to cable length look-up table #} | ||
{# Each record describes mapping of DUT (DUT port) role and neighbor role to cable length #} | ||
{# Roles described in the minigraph #} | ||
{% set ports2cable = { | ||
'torrouter_server' : '5m', | ||
'leafrouter_torrouter' : '40m', | ||
'spinerouter_leafrouter' : '300m' | ||
} | ||
%} | ||
|
||
{%- macro cable_length(port_name) %} | ||
{%- set cable_len = [] %} | ||
{%- for local_port in DEVICE_NEIGHBOR %} | ||
{%- if local_port == port_name %} | ||
{%- if DEVICE_NEIGHBOR_METADATA is defined and DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] %} | ||
{%- set neighbor = DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] %} | ||
{%- set neighbor_role = neighbor.type %} | ||
{%- set roles1 = switch_role + '_' + neighbor_role %} | ||
{%- set roles2 = neighbor_role + '_' + switch_role %} | ||
{%- set roles1 = roles1 | lower %} | ||
{%- set roles2 = roles2 | lower %} | ||
{%- if roles1 in ports2cable %} | ||
{%- if cable_len.append(ports2cable[roles1]) %}{% endif %} | ||
{%- elif roles2 in ports2cable %} | ||
{%- if cable_len.append(ports2cable[roles2]) %}{% endif %} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endfor %} | ||
{%- if cable_len -%} | ||
{{ cable_len.0 }} | ||
{%- else %} | ||
{%- if switch_role.lower() == 'torrouter' %} | ||
{%- for local_port in VLAN_MEMBER %} | ||
{%- if local_port[1] == port_name %} | ||
{%- set roles3 = switch_role + '_' + 'server' %} | ||
{%- set roles3 = roles3 | lower %} | ||
{%- if roles3 in ports2cable %} | ||
{%- if cable_len.append(ports2cable[roles3]) %}{% endif %} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endfor %} | ||
{%- if cable_len -%} | ||
{{ cable_len.0 }} | ||
{%- else -%} | ||
{{ default_cable }} | ||
{%- endif %} | ||
{%- else -%} | ||
{{ default_cable }} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endmacro %} | ||
|
||
{%- if DEVICE_METADATA is defined %} | ||
{%- set switch_role = DEVICE_METADATA['localhost']['type'] %} | ||
{%- endif -%} | ||
|
||
{% set port_names_list = [] %} | ||
{% for port in PORT %} | ||
{% if port not in mgmt_port_name %} | ||
{%- if port_names_list.append(port) %}{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
{% set port_names = port_names_list | join(',') -%} | ||
|
||
{ | ||
"CABLE_LENGTH": { | ||
"AZURE": { | ||
{% for port in PORT %} | ||
{% if port not in mgmt_port_name %} | ||
{% set cable = cable_length(port) -%} | ||
"{{ port }}": "{{ cable }}"{%- if not loop.last -%},{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
} | ||
}, | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "51691264", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "17708800" | ||
}, | ||
"lossy_pool": { | ||
"size": "18874368", | ||
"type": "egress", | ||
"mode": "dynamic", | ||
"xoff": "0" | ||
}, | ||
"egress_lossless_pool": { | ||
"size": "70565632", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossless_profile": { | ||
"pool":"ingress_lossless_pool", | ||
"xoff":"38816", | ||
"size":"1518", | ||
"dynamic_th":"1", | ||
"xon_offset":"9408" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"ingress_lossless_pool", | ||
"size":"0", | ||
"static_th":"10243072" | ||
}, | ||
"ingress_lossy_profile": { | ||
"pool":"lossy_pool", | ||
"size":"0", | ||
"static_th":"10243072" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"lossy_pool", | ||
"size":"1518", | ||
"dynamic_th":"2" | ||
} | ||
}, | ||
"BUFFER_PG": { | ||
{% for port in port_names_list %} | ||
"{{ port }}|3-4": { | ||
{% set cable = cable_length(port) -%} | ||
"profile" : "pg_lossless_400000_{{ cable }}_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|0": { | ||
"profile" : "ingress_lossy_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|1-2": { | ||
"profile" : "ingress_lossy_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|5-7": { | ||
"profile" : "ingress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
|
||
{% endfor %} | ||
}, | ||
|
||
"BUFFER_QUEUE": { | ||
{% for port in port_names_list %} | ||
"{{ port }}|3-4": { | ||
"profile" : "egress_lossless_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|0-2": { | ||
"profile" : "egress_lossy_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|5-7": { | ||
"profile" : "egress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
|
||
{% endfor %} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...micro/x86_64-supermicro_sse_t7132s-r0/Supermicro_sse_t7132s/buffers_defaults_def_lossy.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% set mgmt_port_name = ['Ethernet256','Ethernet257'] %} | ||
{% set port_names_list = [] %} | ||
{% for port in PORT %} | ||
{% if port not in mgmt_port_name %} | ||
{%- if port_names_list.append(port) %}{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
{% set port_names = port_names_list | join(',') -%} | ||
|
||
{ | ||
"BUFFER_POOL": { | ||
"lossy_pool": { | ||
"size": "61458432", | ||
"type": "egress", | ||
"mode": "dynamic", | ||
"xoff": "0" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool":"lossy_pool", | ||
"size":"0", | ||
"static_th":"10243072" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"lossy_pool", | ||
"size":"1518", | ||
"dynamic_th":"2" | ||
} | ||
}, | ||
"BUFFER_PG": { | ||
{% for port in port_names_list %} | ||
"{{ port }}|0-7": { | ||
"profile" : "ingress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
{% endfor %} | ||
}, | ||
"BUFFER_QUEUE": { | ||
{% for port in port_names_list %} | ||
"{{ port }}|0-7": { | ||
"profile" : "egress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
{% endfor %} | ||
} | ||
} |
167 changes: 167 additions & 0 deletions
167
...e/supermicro/x86_64-supermicro_sse_t7132s-r0/Supermicro_sse_t7132s/buffers_defaults_t1.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
{# Default values which will be used if no actual configura available #} | ||
{% set default_cable = '40m' %} | ||
{% set mgmt_port_name = ['Ethernet256','Ethernet257'] %} | ||
|
||
{# Port configuration to cable length look-up table #} | ||
{# Each record describes mapping of DUT (DUT port) role and neighbor role to cable length #} | ||
{# Roles described in the minigraph #} | ||
{% set ports2cable = { | ||
'torrouter_server' : '5m', | ||
'leafrouter_torrouter' : '40m', | ||
'spinerouter_leafrouter' : '300m' | ||
} | ||
%} | ||
|
||
{%- macro cable_length(port_name) %} | ||
{%- set cable_len = [] %} | ||
{%- for local_port in DEVICE_NEIGHBOR %} | ||
{%- if local_port == port_name %} | ||
{%- if DEVICE_NEIGHBOR_METADATA is defined and DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] %} | ||
{%- set neighbor = DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] %} | ||
{%- set neighbor_role = neighbor.type %} | ||
{%- set roles1 = switch_role + '_' + neighbor_role %} | ||
{%- set roles2 = neighbor_role + '_' + switch_role %} | ||
{%- set roles1 = roles1 | lower %} | ||
{%- set roles2 = roles2 | lower %} | ||
{%- if roles1 in ports2cable %} | ||
{%- if cable_len.append(ports2cable[roles1]) %}{% endif %} | ||
{%- elif roles2 in ports2cable %} | ||
{%- if cable_len.append(ports2cable[roles2]) %}{% endif %} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endfor %} | ||
{%- if cable_len -%} | ||
{{ cable_len.0 }} | ||
{%- else %} | ||
{%- if switch_role.lower() == 'torrouter' %} | ||
{%- for local_port in VLAN_MEMBER %} | ||
{%- if local_port[1] == port_name %} | ||
{%- set roles3 = switch_role + '_' + 'server' %} | ||
{%- set roles3 = roles3 | lower %} | ||
{%- if roles3 in ports2cable %} | ||
{%- if cable_len.append(ports2cable[roles3]) %}{% endif %} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endfor %} | ||
{%- if cable_len -%} | ||
{{ cable_len.0 }} | ||
{%- else -%} | ||
{{ default_cable }} | ||
{%- endif %} | ||
{%- else -%} | ||
{{ default_cable }} | ||
{%- endif %} | ||
{%- endif %} | ||
{%- endmacro %} | ||
|
||
{%- if DEVICE_METADATA is defined %} | ||
{%- set switch_role = DEVICE_METADATA['localhost']['type'] %} | ||
{%- endif -%} | ||
|
||
{% set port_names_list = [] %} | ||
{% for port in PORT %} | ||
{% if port not in mgmt_port_name %} | ||
{%- if port_names_list.append(port) %}{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
{% set port_names = port_names_list | join(',') -%} | ||
|
||
{ | ||
"CABLE_LENGTH": { | ||
"AZURE": { | ||
{% for port in PORT %} | ||
{% if port not in mgmt_port_name %} | ||
{% set cable = cable_length(port) -%} | ||
"{{ port }}": "{{ cable }}"{%- if not loop.last -%},{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
} | ||
}, | ||
"BUFFER_POOL": { | ||
"ingress_lossless_pool": { | ||
"size": "51691264", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "17708800" | ||
}, | ||
"lossy_pool": { | ||
"size": "18874368", | ||
"type": "egress", | ||
"mode": "dynamic", | ||
"xoff": "0" | ||
}, | ||
"egress_lossless_pool": { | ||
"size": "70565632", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossless_profile": { | ||
"pool":"ingress_lossless_pool", | ||
"xoff":"38816", | ||
"size":"1518", | ||
"dynamic_th":"1", | ||
"xon_offset":"9408" | ||
}, | ||
"egress_lossless_profile": { | ||
"pool":"ingress_lossless_pool", | ||
"size":"0", | ||
"static_th":"10243072" | ||
}, | ||
"ingress_lossy_profile": { | ||
"pool":"lossy_pool", | ||
"size":"0", | ||
"static_th":"10243072" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"lossy_pool", | ||
"size":"1518", | ||
"dynamic_th":"2" | ||
} | ||
}, | ||
"BUFFER_PG": { | ||
{% for port in port_names_list %} | ||
"{{ port }}|3-4": { | ||
{% set cable = cable_length(port) -%} | ||
"profile" : "pg_lossless_400000_{{ cable }}_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|0": { | ||
"profile" : "ingress_lossy_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|1-2": { | ||
"profile" : "ingress_lossy_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|5-7": { | ||
"profile" : "ingress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
|
||
{% endfor %} | ||
}, | ||
|
||
"BUFFER_QUEUE": { | ||
{% for port in port_names_list %} | ||
"{{ port }}|3-4": { | ||
"profile" : "egress_lossless_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|0-2": { | ||
"profile" : "egress_lossy_profile" | ||
}, | ||
{% endfor %} | ||
{% for port in port_names_list %} | ||
"{{ port }}|5-7": { | ||
"profile" : "egress_lossy_profile" | ||
}{% if not loop.last %},{% endif %} | ||
|
||
{% endfor %} | ||
} | ||
} |
Oops, something went wrong.