Skip to content

Commit 90feda6

Browse files
wendanirenukamanavalan
authored andcommitted
Revert "Configure buffer profile to all ports (#3561)" (#3628)
This reverts commit 8861cbe.
1 parent 5e53db0 commit 90feda6

File tree

2 files changed

+4
-244
lines changed

2 files changed

+4
-244
lines changed

files/build_templates/buffers_config.j2

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def
131131
{{ defs.generate_pg_profils(port_names_active) }}
132132
{% else %}
133133
"BUFFER_PG": {
134-
{% for port in PORT_ALL %}
134+
{% for port in PORT_ACTIVE %}
135135
"{{ port }}|0": {
136136
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
137137
}{% if not loop.last %},{% endif %}
@@ -144,17 +144,17 @@ def
144144
{{ defs.generate_queue_buffers(port_names_active) }}
145145
{% else %}
146146
"BUFFER_QUEUE": {
147-
{% for port in PORT_ALL %}
147+
{% for port in PORT_ACTIVE %}
148148
"{{ port }}|3-4": {
149149
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
150150
},
151151
{% endfor %}
152-
{% for port in PORT_ALL %}
152+
{% for port in PORT_ACTIVE %}
153153
"{{ port }}|0-2": {
154154
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
155155
},
156156
{% endfor %}
157-
{% for port in PORT_ALL %}
157+
{% for port in PORT_ACTIVE %}
158158
"{{ port }}|5-6": {
159159
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
160160
}{% if not loop.last %},{% endif %}

0 commit comments

Comments
 (0)