f7455b7b2c
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
42 lines
1.1 KiB
Django/Jinja
42 lines
1.1 KiB
Django/Jinja
{%- set default_cable = '40m' %}
|
|
|
|
{%- include 'buffer_ports_t1.j2' %}
|
|
|
|
{%- macro generate_buffer_pool_and_profiles() %}
|
|
"BUFFER_POOL": {
|
|
"ingress_lossless_pool": {
|
|
"size": "10875072",
|
|
"type": "ingress",
|
|
"mode": "dynamic",
|
|
"xoff": "4194112"
|
|
},
|
|
"egress_lossy_pool": {
|
|
"size": "9243812",
|
|
"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":"15982720"
|
|
},
|
|
"egress_lossy_profile": {
|
|
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
|
"size":"1518",
|
|
"dynamic_th":"3"
|
|
}
|
|
},
|
|
{%- endmacro %}
|