sonic-buildimage/device/common/profiles/th4/gen/BALANCED/buffers_defaults_t1.j2

47 lines
1.2 KiB
Plaintext
Raw Normal View History

{%- set default_cable = '5m' %}
{%- macro generate_port_lists(PORT_ALL) %}
{# Generate list of ports #}
{%- for port_idx in range(0,256,8) %}
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
{%- endfor %}
{%- endmacro %}
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "37333333",
"type": "ingress",
"mode": "dynamic",
"xoff": "24000000"
},
"egress_lossy_pool": {
"size": "34000000",
"type": "egress",
"mode": "dynamic"
},
"egress_lossless_pool": {
"size": "56000000",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossy_profile": {
"pool":"ingress_lossless_pool",
"size":"0",
"dynamic_th":"3"
},
"egress_lossless_profile": {
"pool":"egress_lossless_pool",
"size":"1518",
"static_th":"56000000"
},
"egress_lossy_profile": {
"pool":"egress_lossy_pool",
"size":"1518",
"dynamic_th":"3"
}
},
{%- endmacro %}