DellEMC S5232 Buffer profile changes (#5671)
Modified the correct settings for DellEMC S5232 buffer settings. Increased Egress pool size from 28MB to 32 MB.
This commit is contained in:
parent
7895513813
commit
f18bcbf142
@ -1,16 +1,15 @@
|
|||||||
|
{%- set default_cable = '5m' %}
|
||||||
{%- set default_cable = '40m' %}
|
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"xoff": "4194112"
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "static"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
@ -22,13 +21,13 @@
|
|||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
},
|
},
|
||||||
"egress_lossless_profile": {
|
"egress_lossless_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "static",
|
"mode": "static",
|
||||||
"static_th":"32744448"
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
|
|
||||||
{%- set default_cable = '40m' %}
|
{%- set default_cable = '40m' %}
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"xoff": "4194112"
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "static"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
@ -22,13 +21,13 @@
|
|||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
},
|
},
|
||||||
"egress_lossless_profile": {
|
"egress_lossless_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "static",
|
"mode": "static",
|
||||||
"static_th":"32744448"
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
|
@ -541,6 +541,6 @@ dport_map_port_129=126
|
|||||||
dport_map_port_66=127
|
dport_map_port_66=127
|
||||||
dport_map_port_130=128
|
dport_map_port_130=128
|
||||||
|
|
||||||
mmu_init_config="TD3-DEFAULT-LOSSLESS-P3P4"
|
mmu_init_config="TD3-DELL-lossless"
|
||||||
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
||||||
|
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
|
{%- set default_cable = '5m' %}
|
||||||
{%- set default_cable = '40m' %}
|
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"xoff": "4194112"
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "static"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
@ -22,13 +21,13 @@
|
|||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
},
|
},
|
||||||
"egress_lossless_profile": {
|
"egress_lossless_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "static",
|
"mode": "static",
|
||||||
"static_th":"32744448"
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
|
|
||||||
{%- set default_cable = '40m' %}
|
{%- set default_cable = '40m' %}
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"xoff": "4194112"
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "28550336",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "static"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
@ -22,16 +21,17 @@
|
|||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
},
|
},
|
||||||
"egress_lossless_profile": {
|
"egress_lossless_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "static",
|
"mode": "static",
|
||||||
"static_th":"32744448"
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"mode": "dynamic",
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
|
@ -567,6 +567,6 @@ dport_map_port_129=126
|
|||||||
dport_map_port_66=127
|
dport_map_port_66=127
|
||||||
dport_map_port_130=128
|
dport_map_port_130=128
|
||||||
|
|
||||||
mmu_init_config="TD3-DEFAULT-LOSSLESS-P3P4"
|
mmu_init_config="TD3-DELL-lossless"
|
||||||
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
||||||
|
|
||||||
|
@ -1,46 +1,36 @@
|
|||||||
|
{%- set default_cable = '5m' %}
|
||||||
{%- set default_cable = '40m' %}
|
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "static"
|
"mode": "dynamic",
|
||||||
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_lossy_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "dynamic"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BUFFER_PROFILE": {
|
"BUFFER_PROFILE": {
|
||||||
"ingress_lossy_profile": {
|
"ingress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"static_th":"32744448"
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"mode": "static",
|
||||||
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profils(port_names_active) %}
|
|
||||||
"BUFFER_PG": {
|
|
||||||
"{{ port_names_active }}|0": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
{% macro generate_queue_buffers(port_names_active) %}
|
|
||||||
"BUFFER_QUEUE": {
|
|
||||||
"{{ port_names_active }}|0-6": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
|
@ -1,46 +1,36 @@
|
|||||||
|
|
||||||
{%- set default_cable = '40m' %}
|
{%- set default_cable = '40m' %}
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "static"
|
"mode": "dynamic",
|
||||||
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_lossy_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "dynamic"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BUFFER_PROFILE": {
|
"BUFFER_PROFILE": {
|
||||||
"ingress_lossy_profile": {
|
"ingress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"static_th":"32744448"
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"mode": "static",
|
||||||
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profils(port_names_active) %}
|
|
||||||
"BUFFER_PG": {
|
|
||||||
"{{ port_names_active }}|0": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
{% macro generate_queue_buffers(port_names_active) %}
|
|
||||||
"BUFFER_QUEUE": {
|
|
||||||
"{{ port_names_active }}|0-6": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
|
@ -541,5 +541,5 @@ dport_map_port_129=126
|
|||||||
dport_map_port_66=127
|
dport_map_port_66=127
|
||||||
dport_map_port_130=128
|
dport_map_port_130=128
|
||||||
|
|
||||||
mmu_init_config="TD3-DEFAULT"
|
mmu_init_config="TD3-DELL-lossless"
|
||||||
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
||||||
|
@ -1,46 +1,36 @@
|
|||||||
|
{%- set default_cable = '5m' %}
|
||||||
{%- set default_cable = '40m' %}
|
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "static"
|
"mode": "dynamic",
|
||||||
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_lossy_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "dynamic"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BUFFER_PROFILE": {
|
"BUFFER_PROFILE": {
|
||||||
"ingress_lossy_profile": {
|
"ingress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"static_th":"32744448"
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"mode": "static",
|
||||||
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profils(port_names_active) %}
|
|
||||||
"BUFFER_PG": {
|
|
||||||
"{{ port_names_active }}|0": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
{% macro generate_queue_buffers(port_names_active) %}
|
|
||||||
"BUFFER_QUEUE": {
|
|
||||||
"{{ port_names_active }}|0-6": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
|
@ -1,46 +1,36 @@
|
|||||||
|
|
||||||
{%- set default_cable = '40m' %}
|
{%- set default_cable = '40m' %}
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "static"
|
"mode": "dynamic",
|
||||||
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_lossy_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "dynamic"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BUFFER_PROFILE": {
|
"BUFFER_PROFILE": {
|
||||||
"ingress_lossy_profile": {
|
"ingress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"static_th":"32744448"
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"mode": "static",
|
||||||
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profils(port_names_active) %}
|
|
||||||
"BUFFER_PG": {
|
|
||||||
"{{ port_names_active }}|0": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
{% macro generate_queue_buffers(port_names_active) %}
|
|
||||||
"BUFFER_QUEUE": {
|
|
||||||
"{{ port_names_active }}|0-6": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
|
@ -614,5 +614,5 @@ dport_map_port_129=126
|
|||||||
dport_map_port_66=127
|
dport_map_port_66=127
|
||||||
dport_map_port_130=128
|
dport_map_port_130=128
|
||||||
|
|
||||||
mmu_init_config="TD3-DEFAULT"
|
mmu_init_config="TD3-DELL-lossless"
|
||||||
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
||||||
|
@ -1,46 +1,36 @@
|
|||||||
|
{%- set default_cable = '5m' %}
|
||||||
{%- set default_cable = '40m' %}
|
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "static"
|
"mode": "dynamic",
|
||||||
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_lossy_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "dynamic"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BUFFER_PROFILE": {
|
"BUFFER_PROFILE": {
|
||||||
"ingress_lossy_profile": {
|
"ingress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"static_th":"32744448"
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"mode": "static",
|
||||||
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profils(port_names_active) %}
|
|
||||||
"BUFFER_PG": {
|
|
||||||
"{{ port_names_active }}|0": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
{% macro generate_queue_buffers(port_names_active) %}
|
|
||||||
"BUFFER_QUEUE": {
|
|
||||||
"{{ port_names_active }}|0-6": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
|
@ -1,46 +1,36 @@
|
|||||||
|
|
||||||
{%- set default_cable = '40m' %}
|
{%- set default_cable = '40m' %}
|
||||||
|
|
||||||
{%- macro generate_buffer_pool_and_profiles() %}
|
{%- macro generate_buffer_pool_and_profiles() %}
|
||||||
"BUFFER_POOL": {
|
"BUFFER_POOL": {
|
||||||
"ingress_lossless_pool": {
|
"ingress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "26284032",
|
||||||
"type": "ingress",
|
"type": "ingress",
|
||||||
"mode": "static"
|
"mode": "dynamic",
|
||||||
|
"xoff": "6291456"
|
||||||
},
|
},
|
||||||
"egress_lossy_pool": {
|
"egress_lossless_pool": {
|
||||||
"size": "32744448",
|
"size": "32575488",
|
||||||
"type": "egress",
|
"type": "egress",
|
||||||
"mode": "dynamic"
|
"mode": "static"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BUFFER_PROFILE": {
|
"BUFFER_PROFILE": {
|
||||||
"ingress_lossy_profile": {
|
"ingress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
"static_th":"32744448"
|
"dynamic_th":"3"
|
||||||
|
},
|
||||||
|
"egress_lossless_profile": {
|
||||||
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
|
"size":"0",
|
||||||
|
"mode": "static",
|
||||||
|
"static_th":"32575488"
|
||||||
},
|
},
|
||||||
"egress_lossy_profile": {
|
"egress_lossy_profile": {
|
||||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||||
"size":"0",
|
"size":"0",
|
||||||
|
"mode": "dynamic",
|
||||||
"dynamic_th":"3"
|
"dynamic_th":"3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- macro generate_pg_profils(port_names_active) %}
|
|
||||||
"BUFFER_PG": {
|
|
||||||
"{{ port_names_active }}|0": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
{% macro generate_queue_buffers(port_names_active) %}
|
|
||||||
"BUFFER_QUEUE": {
|
|
||||||
"{{ port_names_active }}|0-6": {
|
|
||||||
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endmacro %}
|
|
||||||
|
|
||||||
|
@ -614,5 +614,5 @@ dport_map_port_129=126
|
|||||||
dport_map_port_66=127
|
dport_map_port_66=127
|
||||||
dport_map_port_130=128
|
dport_map_port_130=128
|
||||||
|
|
||||||
mmu_init_config="TD3-DEFAULT"
|
mmu_init_config="TD3-DELL-lossless"
|
||||||
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc
|
||||||
|
Loading…
Reference in New Issue
Block a user