ab097788d5
Why I did it For better accounting purposes, updating the ingress lossy traffic profile to use static threshold. This change is only intended for Th devices using RDMA-CENTRIC profiles How I did it Update the buffer templates for Th devices in RDMA-CENTRIC folder to use the correct threshold How to verify it Verified the changes manually on a Th device. Existing unit tests render Th template from the RDMA-CENTRIC folder. Updated the expected output to use the correct threshold
42 lines
1.0 KiB
Django/Jinja
42 lines
1.0 KiB
Django/Jinja
{%- set default_cable = '5m' %}
|
|
|
|
{%- include 'buffer_ports_t0.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":"ingress_lossless_pool",
|
|
"size":"0",
|
|
"static_th":"10875072"
|
|
},
|
|
"egress_lossless_profile": {
|
|
"pool":"egress_lossless_pool",
|
|
"size":"1518",
|
|
"static_th":"15982720"
|
|
},
|
|
"egress_lossy_profile": {
|
|
"pool":"egress_lossy_pool",
|
|
"size":"1518",
|
|
"dynamic_th":"3"
|
|
}
|
|
},
|
|
{%- endmacro %}
|