-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[devices]: Dell Z9100 T0 T1 MMU/QoS fixes (#2126)
* Dell Z9100 T0 PFC fixes * Addressed review comments. Fixed QoS, Changed SKU's, and sorted bcm.config * Adressed review comments and modified T0 and T1 profiles
- Loading branch information
Showing
17 changed files
with
1,138 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/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,2 @@ | ||
{%- set default_topo = 't1' %} | ||
{%- include 'buffers_config.j2' %} |
47 changes: 47 additions & 0 deletions
47
device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/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,47 @@ | ||
|
||
{%- set default_cable = '40m' %} | ||
|
||
{%- 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": "10443264", | ||
"type": "ingress", | ||
"mode": "dynamic", | ||
"xoff": "4625920" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "8877440", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_lossless_pool": { | ||
"size": "15982720", | ||
"type": "egress", | ||
"mode": "static" | ||
} | ||
}, | ||
"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":"1518", | ||
"static_th":"3995680" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool":"[BUFFER_POOL|egress_lossy_pool]", | ||
"size":"1518", | ||
"dynamic_th":"3" | ||
} | ||
}, | ||
{%- endmacro %} |
17 changes: 17 additions & 0 deletions
17
device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/pg_profile_lookup.ini
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,17 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold xon_offset | ||
10000 5m 1248 2288 35776 -3 2288 | ||
25000 5m 1248 2288 53248 -3 2288 | ||
40000 5m 1248 2288 66560 -3 2288 | ||
50000 5m 1248 2288 90272 -3 2288 | ||
100000 5m 1248 2288 165568 -3 2288 | ||
10000 40m 1248 2288 37024 -3 2288 | ||
25000 40m 1248 2288 53248 -3 2288 | ||
40000 40m 1248 2288 71552 -3 2288 | ||
50000 40m 1248 2288 96096 -3 2288 | ||
100000 40m 1248 2288 177632 -3 2288 | ||
10000 300m 1248 2288 46176 -3 2288 | ||
25000 300m 1248 2288 79040 -3 2288 | ||
40000 300m 1248 2288 108160 -3 2288 | ||
50000 300m 1248 2288 141856 -3 2288 | ||
100000 300m 1248 2288 268736 -3 2288 |
File renamed without changes.
157 changes: 157 additions & 0 deletions
157
device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/qos.json
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,157 @@ | ||
{ | ||
"TC_TO_PRIORITY_GROUP_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7" | ||
} | ||
}, | ||
"MAP_PFC_PRIORITY_TO_QUEUE": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7" | ||
} | ||
}, | ||
"TC_TO_QUEUE_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7" | ||
} | ||
}, | ||
"DSCP_TO_TC_MAP": { | ||
"AZURE": { | ||
"0":"0", | ||
"1":"0", | ||
"2":"0", | ||
"3":"3", | ||
"4":"4", | ||
"5":"0", | ||
"6":"0", | ||
"7":"0", | ||
"8":"1", | ||
"9":"0", | ||
"10":"0", | ||
"11":"0", | ||
"12":"0", | ||
"13":"0", | ||
"14":"0", | ||
"15":"0", | ||
"16":"0", | ||
"17":"0", | ||
"18":"0", | ||
"19":"0", | ||
"20":"0", | ||
"21":"0", | ||
"22":"0", | ||
"23":"0", | ||
"24":"0", | ||
"25":"0", | ||
"26":"0", | ||
"27":"0", | ||
"28":"0", | ||
"29":"0", | ||
"30":"0", | ||
"31":"0", | ||
"32":"0", | ||
"33":"0", | ||
"34":"0", | ||
"35":"0", | ||
"36":"0", | ||
"37":"0", | ||
"38":"0", | ||
"39":"0", | ||
"40":"0", | ||
"41":"0", | ||
"42":"0", | ||
"43":"0", | ||
"44":"0", | ||
"45":"0", | ||
"46":"5", | ||
"47":"0", | ||
"48":"0", | ||
"49":"0", | ||
"50":"0", | ||
"51":"0", | ||
"52":"0", | ||
"53":"0", | ||
"54":"0", | ||
"55":"0", | ||
"56":"0", | ||
"57":"0", | ||
"58":"0", | ||
"59":"0", | ||
"60":"0", | ||
"61":"0", | ||
"62":"0", | ||
"63":"0" | ||
} | ||
}, | ||
"SCHEDULER": { | ||
"scheduler.0" : { | ||
"type":"DWRR", | ||
"weight": "20" | ||
} | ||
}, | ||
"PORT_QOS_MAP": { | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124": { | ||
"dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]", | ||
"tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]", | ||
"tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]", | ||
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]", | ||
"pfc_enable": "3,4" | ||
} | ||
}, | ||
"WRED_PROFILE": { | ||
"AZURE_LOSSLESS" : { | ||
"wred_green_enable":"true", | ||
"wred_yellow_enable":"true", | ||
"wred_red_enable":"true", | ||
"ecn":"ecn_all", | ||
"red_max_threshold":"2097152", | ||
"red_min_threshold":"1048576", | ||
"yellow_max_threshold":"2097152", | ||
"yellow_min_threshold":"1048576", | ||
"green_max_threshold":"2097152", | ||
"green_min_threshold":"1048576", | ||
"green_drop_probability":"5", | ||
"yellow_drop_probability":"5", | ||
"red_drop_probability":"5" | ||
} | ||
}, | ||
"QUEUE": { | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|3" : { | ||
"scheduler" : "[SCHEDULER|scheduler.0]", | ||
"wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]" | ||
}, | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|4" : { | ||
"scheduler" : "[SCHEDULER|scheduler.0]", | ||
"wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]" | ||
}, | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|0" : { | ||
"scheduler" : "[SCHEDULER|scheduler.0]" | ||
}, | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|1" : { | ||
"scheduler" : "[SCHEDULER|scheduler.0]" | ||
}, | ||
"Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|5" : { | ||
"scheduler" : "[SCHEDULER|scheduler.0]" | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
device/dell/x86_64-dell_z9100_c2538-r0/Force10-Z9100-C32/sai.profile
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 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th-z9100-32x100G.config.bcm |
Oops, something went wrong.