Skip to content

Commit

Permalink
Fix CR comments for buffers_default_objects
Browse files Browse the repository at this point in the history
  • Loading branch information
noaOrMlnx committed Jan 16, 2025
1 parent ba2d74a commit 453c83e
Showing 1 changed file with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"BUFFER_PORT_INGRESS_PROFILE_LIST": {
{% for port in port_names_active.split(',') %}
"{{ port }}": {
"profile_list" : "ingress_lossless_profile,ingress_lossy_profile"
"profile_list" : "ingress_lossless_profile"
}{% if not loop.last %},{% endif %}

{% endfor %}
Expand All @@ -114,9 +114,9 @@
{% for port in port_names_inactive.split(',') %}
"{{ port }}": {
{% if dynamic_mode is defined %}
"profile_list" : "ingress_lossless_profile,ingress_lossy_profile"
"profile_list" : "ingress_lossless_profile"
{% else %}
"profile_list" : "ingress_lossless_zero_profile,ingress_lossy_zero_profile"
"profile_list" : "ingress_lossless_zero_profile"
{% endif %}
}{% if not loop.last %},{% endif %}

Expand Down Expand Up @@ -190,11 +190,6 @@
{%- macro generate_pg_profiles(port_names_active, port_names_inactive) %}
"BUFFER_PG": {
{% for port in port_names_active.split(',') %}
{% if dynamic_mode is defined %}
"{{ port }}|3-4": {
"profile" : "NULL"
},
{% endif %}
"{{ port }}|0": {
"profile" : "ingress_lossy_profile"
}{% if not loop.last %},{% endif %}
Expand All @@ -203,11 +198,6 @@
{% if port_names_inactive|length > 0 %}
{%- for port in port_names_inactive.split(',') %}
{%- if loop.first -%},{%- endif -%}
{% if dynamic_mode is defined %}
"{{ port }}|3-4": {
"profile" : "NULL"
},
{% endif %}
"{{ port }}|0": {
{% if dynamic_mode is defined %}
"profile" : "ingress_lossy_profile"
Expand Down

0 comments on commit 453c83e

Please sign in to comment.