Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
"BUFFER_PG": {
"Dpc": {
"active": {
"dynamic": "ingress_lossy_profile",
"static": "ingress_lossy_profile"
"dynamic": "NULL"
},
"inactive": {
"dynamic": "ingress_lossy_profile",
Expand Down Expand Up @@ -361,12 +360,6 @@
"{{ port }}|3-4": {
"profile" : {{find_profile_to_attach('BUFFER_PG', port, 'active', 'dynamic')}}
},
{% else %}
{% if port in PORT_DPC %}
"{{ port }}|3-4": {
"profile" : {{find_profile_to_attach('BUFFER_PG', port, 'active', 'static')}}
},
{% endif %}
{% endif %}
"{{ port }}|0": {
"profile" : "ingress_lossy_profile"
Expand Down
2 changes: 2 additions & 0 deletions files/build_templates/buffers_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def
{%- endif %}
{%- endif %}
{%- endfor %}
{%- if port_name in PORT_DPC -%}
{{ '0m' }}
{%- if cable_len -%}
{{ cable_len.0 }}
{%- else %}
Expand Down
16 changes: 16 additions & 0 deletions files/build_templates/qos_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@
{{- generate_tc_to_pg_map_per_sku() }}
{% else %}
"TC_TO_PRIORITY_GROUP_MAP": {
{% if PORT_DPC %}
"AZURE_DPC": {
"0": "0",
"1": "0",
"2": "0",
"3": "0",
"4": "0",
"5": "0",
"6": "0",
"7": "7"
},
{% endif %}
"AZURE": {
"0": "0",
"1": "0",
Expand Down Expand Up @@ -351,7 +363,11 @@
{% endif %}
"pfcwd_sw_enable" : "3,4",
{% endif %}
{% if port not in PORT_DPC %}
"tc_to_pg_map" : "AZURE",
{% else %}
"tc_to_pg_map" : "AZURE_DPC",
{% endif %}
"pfc_to_queue_map": "AZURE"
}{% if not loop.last %},{% endif %}

Expand Down