Skip to content

Commit

Permalink
Revert "Configure buffer profile to all ports (#3561)" (#3628)
Browse files Browse the repository at this point in the history
This reverts commit 8861cbe.
  • Loading branch information
wendani authored and renukamanavalan committed Oct 18, 2019
1 parent 5e53db0 commit 90feda6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 244 deletions.
8 changes: 4 additions & 4 deletions files/build_templates/buffers_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def
{{ defs.generate_pg_profils(port_names_active) }}
{% else %}
"BUFFER_PG": {
{% for port in PORT_ALL %}
{% for port in PORT_ACTIVE %}
"{{ port }}|0": {
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
}{% if not loop.last %},{% endif %}
Expand All @@ -144,17 +144,17 @@ def
{{ defs.generate_queue_buffers(port_names_active) }}
{% else %}
"BUFFER_QUEUE": {
{% for port in PORT_ALL %}
{% for port in PORT_ACTIVE %}
"{{ port }}|3-4": {
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
},
{% endfor %}
{% for port in PORT_ALL %}
{% for port in PORT_ACTIVE %}
"{{ port }}|0-2": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
},
{% endfor %}
{% for port in PORT_ALL %}
{% for port in PORT_ACTIVE %}
"{{ port }}|5-6": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
}{% if not loop.last %},{% endif %}
Expand Down
Loading

0 comments on commit 90feda6

Please sign in to comment.