[Profile separation] MMU infrastructure update for TD2 (#12626)
Signed-off-by: Neetha John <nejo@microsoft.com> Why I did it There is a need to have separate profiles on compute and storage and this infra update will help achieve that How I did it Moved buffer pool/profile and qos definitions on TD2 to a common folder and all TD2 hwsku's will reference that folder
This commit is contained in:
parent
6f7b5293ad
commit
92ae2bda5d
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/TCP-CENTRIC
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -1,45 +0,0 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,45 +0,0 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t1.j2
|
@ -1,11 +0,0 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
40000 5m 46384 18432 45136 -3 2496
|
||||
50000 5m 46592 18432 45344 -3 2496
|
||||
100000 5m 48464 18432 47216 -3 2496
|
||||
40000 40m 48464 18432 47216 -3 2496
|
||||
50000 40m 49296 18432 48048 -3 2496
|
||||
100000 40m 53872 18432 52624 -3 2496
|
||||
40000 300m 64064 18432 62816 -3 2496
|
||||
50000 300m 68848 18432 67600 -3 2496
|
||||
100000 300m 92976 18432 91728 -3 2496
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1 +0,0 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
1
device/arista/x86_64-arista_7050_qx32/Arista-7050-QX32/BALANCED
Symbolic link
1
device/arista/x86_64-arista_7050_qx32/Arista-7050-QX32/BALANCED
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/TCP-CENTRIC
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -1,45 +0,0 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,45 +0,0 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t1.j2
|
@ -1,11 +0,0 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
40000 5m 46384 18432 45136 -3 2496
|
||||
50000 5m 46592 18432 45344 -3 2496
|
||||
100000 5m 48464 18432 47216 -3 2496
|
||||
40000 40m 48464 18432 47216 -3 2496
|
||||
50000 40m 49296 18432 48048 -3 2496
|
||||
100000 40m 53872 18432 52624 -3 2496
|
||||
40000 300m 64064 18432 62816 -3 2496
|
||||
50000 300m 68848 18432 67600 -3 2496
|
||||
100000 300m 92976 18432 91728 -3 2496
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1 +0,0 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/TCP-CENTRIC
|
@ -0,0 +1,10 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% if PORT_ALL.append("Ethernet0") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet1") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet2") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet3") %}{% endif %}
|
||||
{% for port_idx in range(1,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,10 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% if PORT_ALL.append("Ethernet0") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet1") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet2") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet3") %}{% endif %}
|
||||
{% for port_idx in range(1,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -1,49 +0,0 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% if PORT_ALL.append("Ethernet0") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet1") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet2") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet3") %}{% endif %}
|
||||
{% for port_idx in range(1,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,49 +0,0 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% if PORT_ALL.append("Ethernet0") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet1") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet2") %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet3") %}{% endif %}
|
||||
{% for port_idx in range(1,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t1.j2
|
@ -1,17 +0,0 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
1000 5m 41808 18432 40560 -3 2496
|
||||
10000 5m 41808 18432 40560 -3 2496
|
||||
40000 5m 46384 18432 45136 -3 2496
|
||||
50000 5m 46592 18432 45344 -3 2496
|
||||
100000 5m 48464 18432 47216 -3 2496
|
||||
1000 40m 41808 18432 40560 -3 2496
|
||||
10000 40m 41808 18432 40560 -3 2496
|
||||
40000 40m 48464 18432 47216 -3 2496
|
||||
50000 40m 49296 18432 48048 -3 2496
|
||||
100000 40m 53872 18432 52624 -3 2496
|
||||
1000 300m 41808 18432 40560 -3 2496
|
||||
10000 300m 41808 18432 40560 -3 2496
|
||||
40000 300m 64064 18432 62816 -3 2496
|
||||
50000 300m 68848 18432 67600 -3 2496
|
||||
100000 300m 92976 18432 91728 -3 2496
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1 +0,0 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/gen/TCP-CENTRIC
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -1,45 +0,0 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,45 +0,0 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t1.j2
|
@ -1,11 +0,0 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
40000 5m 46384 18432 45136 -3 2496
|
||||
50000 5m 46592 18432 45344 -3 2496
|
||||
100000 5m 48464 18432 47216 -3 2496
|
||||
40000 40m 48464 18432 47216 -3 2496
|
||||
50000 40m 49296 18432 48048 -3 2496
|
||||
100000 40m 53872 18432 52624 -3 2496
|
||||
40000 300m 64064 18432 62816 -3 2496
|
||||
50000 300m 68848 18432 67600 -3 2496
|
||||
100000 300m 92976 18432 91728 -3 2496
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1 +0,0 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t0.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t1.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
10000 5m 56368 18432 55120 -3 2496
|
||||
25000 5m 56368 18432 55120 -3 2496
|
||||
40000 5m 56368 18432 55120 -3 2496
|
||||
50000 5m 56368 18432 55120 -3 2496
|
||||
100000 5m 56368 18432 55120 -3 2496
|
||||
10000 40m 56368 18432 55120 -3 2496
|
||||
25000 40m 56368 18432 55120 -3 2496
|
||||
40000 40m 56368 18432 55120 -3 2496
|
||||
50000 40m 56368 18432 55120 -3 2496
|
||||
100000 40m 56368 18432 55120 -3 2496
|
||||
10000 300m 56368 18432 55120 -3 2496
|
||||
25000 300m 56368 18432 55120 -3 2496
|
||||
40000 300m 56368 18432 55120 -3 2496
|
||||
50000 300m 56368 18432 55120 -3 2496
|
||||
100000 300m 56368 18432 55120 -3 2496
|
1
device/common/profiles/td2/6000/BALANCED/qos.json.j2
Normal file
1
device/common/profiles/td2/6000/BALANCED/qos.json.j2
Normal file
@ -0,0 +1 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t0.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t1.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
10000 5m 56368 18432 55120 -3 2496
|
||||
25000 5m 56368 18432 55120 -3 2496
|
||||
40000 5m 56368 18432 55120 -3 2496
|
||||
50000 5m 56368 18432 55120 -3 2496
|
||||
100000 5m 56368 18432 55120 -3 2496
|
||||
10000 40m 56368 18432 55120 -3 2496
|
||||
25000 40m 56368 18432 55120 -3 2496
|
||||
40000 40m 56368 18432 55120 -3 2496
|
||||
50000 40m 56368 18432 55120 -3 2496
|
||||
100000 40m 56368 18432 55120 -3 2496
|
||||
10000 300m 56368 18432 55120 -3 2496
|
||||
25000 300m 56368 18432 55120 -3 2496
|
||||
40000 300m 56368 18432 55120 -3 2496
|
||||
50000 300m 56368 18432 55120 -3 2496
|
||||
100000 300m 56368 18432 55120 -3 2496
|
1
device/common/profiles/td2/6000/RDMA-CENTRIC/qos.json.j2
Normal file
1
device/common/profiles/td2/6000/RDMA-CENTRIC/qos.json.j2
Normal file
@ -0,0 +1 @@
|
||||
{%- include 'qos_config.j2' %}
|
1
device/common/profiles/td2/6000/TCP-CENTRIC
Symbolic link
1
device/common/profiles/td2/6000/TCP-CENTRIC
Symbolic link
@ -0,0 +1 @@
|
||||
BALANCED
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t0.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t1.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
1000 5m 41808 18432 40560 -3 2496
|
||||
10000 5m 41808 18432 40560 -3 2496
|
||||
40000 5m 46384 18432 45136 -3 2496
|
||||
50000 5m 46592 18432 45344 -3 2496
|
||||
100000 5m 48464 18432 47216 -3 2496
|
||||
1000 40m 41808 18432 40560 -3 2496
|
||||
10000 40m 41808 18432 40560 -3 2496
|
||||
40000 40m 48464 18432 47216 -3 2496
|
||||
50000 40m 49296 18432 48048 -3 2496
|
||||
100000 40m 53872 18432 52624 -3 2496
|
||||
1000 300m 41808 18432 40560 -3 2496
|
||||
10000 300m 41808 18432 40560 -3 2496
|
||||
40000 300m 64064 18432 62816 -3 2496
|
||||
50000 300m 68848 18432 67600 -3 2496
|
||||
100000 300m 92976 18432 91728 -3 2496
|
1
device/common/profiles/td2/gen/BALANCED/qos.json.j2
Normal file
1
device/common/profiles/td2/gen/BALANCED/qos.json.j2
Normal file
@ -0,0 +1 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t0.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,40 @@
|
||||
{%- set default_cable = '0m' %}
|
||||
|
||||
{%- include 'buffer_ports_t1.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,17 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
1000 5m 41808 18432 40560 -3 2496
|
||||
10000 5m 41808 18432 40560 -3 2496
|
||||
40000 5m 46384 18432 45136 -3 2496
|
||||
50000 5m 46592 18432 45344 -3 2496
|
||||
100000 5m 48464 18432 47216 -3 2496
|
||||
1000 40m 41808 18432 40560 -3 2496
|
||||
10000 40m 41808 18432 40560 -3 2496
|
||||
40000 40m 48464 18432 47216 -3 2496
|
||||
50000 40m 49296 18432 48048 -3 2496
|
||||
100000 40m 53872 18432 52624 -3 2496
|
||||
1000 300m 41808 18432 40560 -3 2496
|
||||
10000 300m 41808 18432 40560 -3 2496
|
||||
40000 300m 64064 18432 62816 -3 2496
|
||||
50000 300m 68848 18432 67600 -3 2496
|
||||
100000 300m 92976 18432 91728 -3 2496
|
1
device/common/profiles/td2/gen/RDMA-CENTRIC/qos.json.j2
Normal file
1
device/common/profiles/td2/gen/RDMA-CENTRIC/qos.json.j2
Normal file
@ -0,0 +1 @@
|
||||
{%- include 'qos_config.j2' %}
|
1
device/common/profiles/td2/gen/TCP-CENTRIC
Symbolic link
1
device/common/profiles/td2/gen/TCP-CENTRIC
Symbolic link
@ -0,0 +1 @@
|
||||
BALANCED/
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/TCP-CENTRIC
|
@ -0,0 +1,24 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,8) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(8,14) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(14,18) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(18,24) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(24,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,24 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,8) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(8,14) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(14,18) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(18,24) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(24,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -1,63 +0,0 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,8) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(8,14) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(14,18) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(18,24) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(24,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,63 +0,0 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,8) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(8,14) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(14,18) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(18,24) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(24,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t1.j2
|
@ -1,17 +0,0 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
10000 5m 56368 18432 55120 -3 2496
|
||||
25000 5m 56368 18432 55120 -3 2496
|
||||
40000 5m 56368 18432 55120 -3 2496
|
||||
50000 5m 56368 18432 55120 -3 2496
|
||||
100000 5m 56368 18432 55120 -3 2496
|
||||
10000 40m 56368 18432 55120 -3 2496
|
||||
25000 40m 56368 18432 55120 -3 2496
|
||||
40000 40m 56368 18432 55120 -3 2496
|
||||
50000 40m 56368 18432 55120 -3 2496
|
||||
100000 40m 56368 18432 55120 -3 2496
|
||||
10000 300m 56368 18432 55120 -3 2496
|
||||
25000 300m 56368 18432 55120 -3 2496
|
||||
40000 300m 56368 18432 55120 -3 2496
|
||||
50000 300m 56368 18432 55120 -3 2496
|
||||
100000 300m 56368 18432 55120 -3 2496
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1 +0,0 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/TCP-CENTRIC
|
@ -0,0 +1,15 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,16) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(16,25) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(25,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,16 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,16) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(16,25) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% for port_idx in range(25,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
@ -1,55 +0,0 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,16) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(16,25) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% for port_idx in range(25,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,55 +0,0 @@
|
||||
{%- set default_cable = '300m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,16) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(16,25) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% for port_idx in range(25,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "12766208",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "7326924",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"ingress_lossless_pool",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"egress_lossless_pool",
|
||||
"size":"0",
|
||||
"static_th":"12766208"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"egress_lossy_pool",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t1.j2
|
@ -1,17 +0,0 @@
|
||||
# PG lossless profiles.
|
||||
# speed cable size xon xoff threshold xon_offset
|
||||
10000 5m 56368 18432 55120 -3 2496
|
||||
25000 5m 56368 18432 55120 -3 2496
|
||||
40000 5m 56368 18432 55120 -3 2496
|
||||
50000 5m 56368 18432 55120 -3 2496
|
||||
100000 5m 56368 18432 55120 -3 2496
|
||||
10000 40m 56368 18432 55120 -3 2496
|
||||
25000 40m 56368 18432 55120 -3 2496
|
||||
40000 40m 56368 18432 55120 -3 2496
|
||||
50000 40m 56368 18432 55120 -3 2496
|
||||
100000 40m 56368 18432 55120 -3 2496
|
||||
10000 300m 56368 18432 55120 -3 2496
|
||||
25000 300m 56368 18432 55120 -3 2496
|
||||
40000 300m 56368 18432 55120 -3 2496
|
||||
50000 300m 56368 18432 55120 -3 2496
|
||||
100000 300m 56368 18432 55120 -3 2496
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1 +0,0 @@
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/RDMA-CENTRIC
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/td2/6000/TCP-CENTRIC
|
@ -0,0 +1,39 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{% for port_idx in range(0,1) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(1,2) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(2,3) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(3,4) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(4,5) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(5,6) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(6,7) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 1)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 2)) %}{% endif %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4 + 3)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{% for port_idx in range(7,32) %}
|
||||
{% if PORT_ALL.append("Ethernet%d" % (port_idx * 4)) %}{% endif %}
|
||||
{% endfor %}
|
||||
{%- endmacro %}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user