-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #547 from mssonicbld/cherry/msft-202412/21155
[action] [PR:21155] Add buffer configs for TH5 C224 and C256 SKUs
- Loading branch information
Showing
11 changed files
with
446 additions
and
6 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C224O8/buffers_defaults_t0.j2
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C224O8/buffers_defaults_t0.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,30 @@ | ||
{%- set default_cable = '0m' %} | ||
|
||
{%- include 'buffer_ports.j2' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool": "ingress_lossy_pool", | ||
"size": "0", | ||
"static_th": "167546528" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool": "egress_lossy_pool", | ||
"size": "1778", | ||
"dynamic_th": "1" | ||
} | ||
}, | ||
{%- endmacro %} |
1 change: 0 additions & 1 deletion
1
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C224O8/buffers_defaults_t1.j2
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C224O8/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,30 @@ | ||
{%- set default_cable = '0m' %} | ||
|
||
{%- include 'buffer_ports.j2' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool": "ingress_lossy_pool", | ||
"size": "0", | ||
"static_th": "167546528" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool": "egress_lossy_pool", | ||
"size": "1778", | ||
"dynamic_th": "1" | ||
} | ||
}, | ||
{%- endmacro %} |
142 changes: 142 additions & 0 deletions
142
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C224O8/qos.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 |
---|---|---|
@@ -1 +1,143 @@ | ||
{%- macro generate_dscp_to_tc_map_per_sku() -%} | ||
"DSCP_TO_TC_MAP": { | ||
"AZURE": { | ||
"0" : "0", | ||
"1" : "1", | ||
"2" : "2", | ||
"3" : "3", | ||
"4" : "4", | ||
"5" : "4", | ||
"6" : "4", | ||
"7" : "0", | ||
"8" : "0", | ||
"9" : "0", | ||
"10": "5", | ||
"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": "0", | ||
"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" | ||
} | ||
}, | ||
{%- endmacro -%} | ||
|
||
{%- macro generate_tc_to_queue_map_per_sku() -%} | ||
"TC_TO_QUEUE_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7", | ||
"8": "8", | ||
"9": "9" | ||
} | ||
}, | ||
{%- endmacro -%} | ||
|
||
{%- macro generate_scheduler_per_sku() -%} | ||
"SCHEDULER": { | ||
"scheduler.0": { | ||
"type" : "DWRR", | ||
"weight": "1" | ||
}, | ||
"scheduler.1": { | ||
"type" : "DWRR", | ||
"weight": "10" | ||
}, | ||
"scheduler.2": { | ||
"type" : "DWRR", | ||
"weight": "20" | ||
}, | ||
"scheduler.3": { | ||
"type" : "DWRR", | ||
"weight": "30" | ||
} | ||
}, | ||
{%- endmacro -%} | ||
|
||
{%- macro generate_single_queue_per_sku(port) -%} | ||
"{{ port }}|0": { | ||
"scheduler": "scheduler.0" | ||
}, | ||
"{{ port }}|1": { | ||
"scheduler": "scheduler.1" | ||
}, | ||
"{{ port }}|2": { | ||
"scheduler": "scheduler.2" | ||
}, | ||
"{{ port }}|3": { | ||
"scheduler": "scheduler.3" | ||
}, | ||
"{{ port }}|4": { | ||
"scheduler": "scheduler.1" | ||
}, | ||
"{{ port }}|5": { | ||
"scheduler": "scheduler.1" | ||
}, | ||
"{{ port }}|6": { | ||
"scheduler": "scheduler.1" | ||
}, | ||
"{{ port }}|7": { | ||
"scheduler": "scheduler.1" | ||
}, | ||
"{{ port }}|8": { | ||
"scheduler": "scheduler.1" | ||
}, | ||
"{{ port }}|9": { | ||
"scheduler": "scheduler.1" | ||
} | ||
{%- endmacro -%} | ||
|
||
{%- include 'qos_config.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
1 change: 0 additions & 1 deletion
1
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C256S2/buffers_defaults_t0.j2
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C256S2/buffers_defaults_t0.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,40 @@ | ||
{%- set default_cable = '0m' %} | ||
|
||
{%- include 'buffer_ports.j2' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool": "ingress_lossy_pool", | ||
"size": "0", | ||
"static_th": "167546528" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool": "egress_lossy_pool", | ||
"size": "1778", | ||
"dynamic_th": "1" | ||
} | ||
}, | ||
{%- endmacro %} | ||
{%- macro generate_queue_buffers(ports) %} | ||
"BUFFER_QUEUE": { | ||
{% for port in ports.split(',') %} | ||
"{{ port }}|0-9": { | ||
"profile" : "egress_lossy_profile" | ||
} | ||
{%- if not loop.last -%},{% endif %} | ||
{% endfor %} | ||
} | ||
{%- endmacro %} |
1 change: 0 additions & 1 deletion
1
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C256S2/buffers_defaults_t1.j2
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
device/arista/x86_64-arista_7060x6_64pe/Arista-7060X6-64PE-C256S2/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,40 @@ | ||
{%- set default_cable = '0m' %} | ||
|
||
{%- include 'buffer_ports.j2' %} | ||
|
||
{%- macro generate_buffer_pool_and_profiles() %} | ||
"BUFFER_POOL": { | ||
"ingress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "ingress", | ||
"mode": "dynamic" | ||
}, | ||
"egress_lossy_pool": { | ||
"size": "166607744", | ||
"type": "egress", | ||
"mode": "dynamic" | ||
} | ||
}, | ||
"BUFFER_PROFILE": { | ||
"ingress_lossy_profile": { | ||
"pool": "ingress_lossy_pool", | ||
"size": "0", | ||
"static_th": "167546528" | ||
}, | ||
"egress_lossy_profile": { | ||
"pool": "egress_lossy_pool", | ||
"size": "1778", | ||
"dynamic_th": "1" | ||
} | ||
}, | ||
{%- endmacro %} | ||
{%- macro generate_queue_buffers(ports) %} | ||
"BUFFER_QUEUE": { | ||
{% for port in ports.split(',') %} | ||
"{{ port }}|0-9": { | ||
"profile" : "egress_lossy_profile" | ||
} | ||
{%- if not loop.last -%},{% endif %} | ||
{% endfor %} | ||
} | ||
{%- endmacro %} |
Oops, something went wrong.