Skip to content

Commit 9d92a56

Browse files
authored
Merge pull request sonic-net#604 from mssonicbld/cherry/msft-202412/21543
[action] [PR:21543] [Mellanox] Fix SN5600 buffers_defaults_objects.j2
2 parents e1693bc + 89ee8da commit 9d92a56

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

device/mellanox/x86_64-nvidia_sn5600-r0/Mellanox-SN5600-C256S1/buffers_defaults_objects.j2

+4-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
106106
{% for port in port_names_active.split(',') %}
107107
"{{ port }}": {
108-
"profile_list" : "ingress_lossless_profile"
108+
"profile_list" : "ingress_lossy_profile"
109109
}{% if not loop.last %},{% endif %}
110110

111111
{% endfor %}
@@ -114,7 +114,7 @@
114114
{% for port in port_names_inactive.split(',') %}
115115
"{{ port }}": {
116116
{% if dynamic_mode is defined %}
117-
"profile_list" : "ingress_lossless_profile"
117+
"profile_list" : "ingress_lossy_profile"
118118
{% else %}
119119
"profile_list" : "ingress_lossless_zero_profile"
120120
{% endif %}
@@ -147,7 +147,7 @@
147147
{%- endmacro %}
148148

149149
{%- macro generate_queue_buffers(port_names_active, port_names_inactive) %}
150-
150+
"BUFFER_QUEUE": {
151151
{% if dynamic_mode is not defined %}
152152
{% for port in port_names_active.split(',') %}
153153
"{{ port }}|0": {
@@ -177,6 +177,7 @@
177177
{% endfor %}
178178
{% if port_names_inactive|length > 0 %}
179179
{% for port in port_names_inactive.split(',') %}
180+
{%- if loop.first -%},{%- endif -%}
180181
"{{ port }}|1-6": {
181182
"profile" : "egress_lossy_zero_profile"
182183
}{% if not loop.last %},{% endif %}

0 commit comments

Comments
 (0)