[Buffer] Separate buffer profile for Force10-S6100
Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
This commit is contained in:
parent
f7455b7b2c
commit
2d5c243b84
@ -0,0 +1,42 @@
|
||||
|
||||
{%- set default_cable = '5m' %}
|
||||
|
||||
{%- include 'buffer_ports_t0.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "10875072",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic",
|
||||
"xoff": "4194112"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "9243812",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "15982720",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||
"size":"1518",
|
||||
"static_th":"15982720"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,42 @@
|
||||
|
||||
{%- set default_cable = '40m' %}
|
||||
|
||||
{%- include 'buffer_ports_t1.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "10875072",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic",
|
||||
"xoff": "4194112"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "9243812",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "15982720",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||
"size":"1518",
|
||||
"static_th":"15982720"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"[BUFFER_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 1248 2288 35776 0 2288
|
||||
25000 5m 1248 2288 53248 0 2288
|
||||
40000 5m 1248 2288 66560 0 2288
|
||||
50000 5m 1248 2288 79872 0 2288
|
||||
100000 5m 1248 2288 165568 0 2288
|
||||
10000 40m 1248 2288 37024 0 2288
|
||||
25000 40m 1248 2288 56160 0 2288
|
||||
40000 40m 1248 2288 71552 0 2288
|
||||
50000 40m 1248 2288 85696 0 2288
|
||||
100000 40m 1248 2288 177632 0 2288
|
||||
10000 300m 1248 2288 46176 0 2288
|
||||
25000 300m 1248 2288 79040 0 2288
|
||||
40000 300m 1248 2288 108160 0 2288
|
||||
50000 300m 1248 2288 141856 0 2288
|
||||
100000 300m 1248 2288 268736 0 2288
|
21
device/common/profiles/th/6100/BALANCED/qos.json.j2
Normal file
21
device/common/profiles/th/6100/BALANCED/qos.json.j2
Normal file
@ -0,0 +1,21 @@
|
||||
{%- macro generate_wred_profiles() %}
|
||||
"WRED_PROFILE": {
|
||||
"AZURE_LOSSLESS" : {
|
||||
"wred_green_enable" : "true",
|
||||
"wred_yellow_enable" : "true",
|
||||
"wred_red_enable" : "true",
|
||||
"ecn" : "ecn_all",
|
||||
"green_max_threshold" : "2097152",
|
||||
"green_min_threshold" : "250000",
|
||||
"yellow_max_threshold" : "2097152",
|
||||
"yellow_min_threshold" : "1048576",
|
||||
"red_max_threshold" : "2097152",
|
||||
"red_min_threshold" : "1048576",
|
||||
"green_drop_probability" : "5",
|
||||
"yellow_drop_probability": "5",
|
||||
"red_drop_probability" : "5"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
|
||||
{%- include 'qos_config.j2' %}
|
@ -0,0 +1,42 @@
|
||||
|
||||
{%- set default_cable = '5m' %}
|
||||
|
||||
{%- include 'buffer_ports_t0.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "10875072",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic",
|
||||
"xoff": "4194112"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "9243812",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "15982720",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||
"size":"1518",
|
||||
"static_th":"15982720"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1,42 @@
|
||||
|
||||
{%- set default_cable = '40m' %}
|
||||
|
||||
{%- include 'buffer_ports_t1.j2' %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "10875072",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic",
|
||||
"xoff": "4194112"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "9243812",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "15982720",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||
"size":"1518",
|
||||
"static_th":"15982720"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"[BUFFER_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 1248 2288 35776 0 2288
|
||||
25000 5m 1248 2288 53248 0 2288
|
||||
40000 5m 1248 2288 66560 0 2288
|
||||
50000 5m 1248 2288 79872 0 2288
|
||||
100000 5m 1248 2288 165568 0 2288
|
||||
10000 40m 1248 2288 37024 0 2288
|
||||
25000 40m 1248 2288 56160 0 2288
|
||||
40000 40m 1248 2288 71552 0 2288
|
||||
50000 40m 1248 2288 85696 0 2288
|
||||
100000 40m 1248 2288 177632 0 2288
|
||||
10000 300m 1248 2288 46176 0 2288
|
||||
25000 300m 1248 2288 79040 0 2288
|
||||
40000 300m 1248 2288 108160 0 2288
|
||||
50000 300m 1248 2288 141856 0 2288
|
||||
100000 300m 1248 2288 268736 0 2288
|
21
device/common/profiles/th/6100/RDMA-CENTRIC/qos.json.j2
Normal file
21
device/common/profiles/th/6100/RDMA-CENTRIC/qos.json.j2
Normal file
@ -0,0 +1,21 @@
|
||||
{%- macro generate_wred_profiles() %}
|
||||
"WRED_PROFILE": {
|
||||
"AZURE_LOSSLESS" : {
|
||||
"wred_green_enable" : "true",
|
||||
"wred_yellow_enable" : "true",
|
||||
"wred_red_enable" : "true",
|
||||
"ecn" : "ecn_all",
|
||||
"green_max_threshold" : "2097152",
|
||||
"green_min_threshold" : "250000",
|
||||
"yellow_max_threshold" : "2097152",
|
||||
"yellow_min_threshold" : "1048576",
|
||||
"red_max_threshold" : "2097152",
|
||||
"red_min_threshold" : "1048576",
|
||||
"green_drop_probability" : "5",
|
||||
"yellow_drop_probability": "5",
|
||||
"red_drop_probability" : "5"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
|
||||
{%- include 'qos_config.j2' %}
|
1
device/common/profiles/th/6100/TCP-CENTRIC
Symbolic link
1
device/common/profiles/th/6100/TCP-CENTRIC
Symbolic link
@ -0,0 +1 @@
|
||||
BALANCED
|
1
device/dell/x86_64-dell_s6100_c2538-r0/Force10-S6100/BALANCED
Symbolic link
1
device/dell/x86_64-dell_s6100_c2538-r0/Force10-S6100/BALANCED
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/profiles/th/6100/BALANCED
|
@ -0,0 +1 @@
|
||||
../../../common/profiles/th/6100/RDMA-CENTRIC
|
1
device/dell/x86_64-dell_s6100_c2538-r0/Force10-S6100/TCP-CENTRIC
Symbolic link
1
device/dell/x86_64-dell_s6100_c2538-r0/Force10-S6100/TCP-CENTRIC
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/profiles/th/6100/TCP-CENTRIC
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,64) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
@ -0,0 +1,6 @@
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,64) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
@ -1,47 +0,0 @@
|
||||
|
||||
{%- set default_cable = '5m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,64) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "10875072",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic",
|
||||
"xoff": "4194112"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "9243812",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "15982720",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||
"size":"1518",
|
||||
"static_th":"15982720"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossy_pool]",
|
||||
"size":"1518",
|
||||
"dynamic_th":"3"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
@ -0,0 +1 @@
|
||||
BALANCED/buffers_defaults_t0.j2
|
@ -1,47 +0,0 @@
|
||||
|
||||
{%- set default_cable = '40m' %}
|
||||
|
||||
{%- macro generate_port_lists(PORT_ALL) %}
|
||||
{# Generate list of ports #}
|
||||
{%- for port_idx in range(0,64) %}
|
||||
{%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro generate_buffer_pool_and_profiles() %}
|
||||
"BUFFER_POOL": {
|
||||
"ingress_lossless_pool": {
|
||||
"size": "10875072",
|
||||
"type": "ingress",
|
||||
"mode": "dynamic",
|
||||
"xoff": "4194112"
|
||||
},
|
||||
"egress_lossy_pool": {
|
||||
"size": "9243812",
|
||||
"type": "egress",
|
||||
"mode": "dynamic"
|
||||
},
|
||||
"egress_lossless_pool": {
|
||||
"size": "15982720",
|
||||
"type": "egress",
|
||||
"mode": "static"
|
||||
}
|
||||
},
|
||||
"BUFFER_PROFILE": {
|
||||
"ingress_lossy_profile": {
|
||||
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
|
||||
"size":"0",
|
||||
"dynamic_th":"3"
|
||||
},
|
||||
"egress_lossless_profile": {
|
||||
"pool":"[BUFFER_POOL|egress_lossless_pool]",
|
||||
"size":"1518",
|
||||
"static_th":"15982720"
|
||||
},
|
||||
"egress_lossy_profile": {
|
||||
"pool":"[BUFFER_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 1248 2288 35776 0 2288
|
||||
25000 5m 1248 2288 53248 0 2288
|
||||
40000 5m 1248 2288 66560 0 2288
|
||||
50000 5m 1248 2288 79872 0 2288
|
||||
100000 5m 1248 2288 165568 0 2288
|
||||
10000 40m 1248 2288 37024 0 2288
|
||||
25000 40m 1248 2288 56160 0 2288
|
||||
40000 40m 1248 2288 71552 0 2288
|
||||
50000 40m 1248 2288 85696 0 2288
|
||||
100000 40m 1248 2288 177632 0 2288
|
||||
10000 300m 1248 2288 46176 0 2288
|
||||
25000 300m 1248 2288 79040 0 2288
|
||||
40000 300m 1248 2288 108160 0 2288
|
||||
50000 300m 1248 2288 141856 0 2288
|
||||
100000 300m 1248 2288 268736 0 2288
|
@ -0,0 +1 @@
|
||||
BALANCED/pg_profile_lookup.ini
|
@ -1,21 +0,0 @@
|
||||
{%- macro generate_wred_profiles() %}
|
||||
"WRED_PROFILE": {
|
||||
"AZURE_LOSSLESS" : {
|
||||
"wred_green_enable" : "true",
|
||||
"wred_yellow_enable" : "true",
|
||||
"wred_red_enable" : "true",
|
||||
"ecn" : "ecn_all",
|
||||
"green_max_threshold" : "2097152",
|
||||
"green_min_threshold" : "250000",
|
||||
"yellow_max_threshold" : "2097152",
|
||||
"yellow_min_threshold" : "1048576",
|
||||
"red_max_threshold" : "2097152",
|
||||
"red_min_threshold" : "1048576",
|
||||
"green_drop_probability" : "5",
|
||||
"yellow_drop_probability": "5",
|
||||
"red_drop_probability" : "5"
|
||||
}
|
||||
},
|
||||
{%- endmacro %}
|
||||
|
||||
{%- include 'qos_config.j2' %}
|
1
device/dell/x86_64-dell_s6100_c2538-r0/Force10-S6100/qos.json.j2
Symbolic link
1
device/dell/x86_64-dell_s6100_c2538-r0/Force10-S6100/qos.json.j2
Symbolic link
@ -0,0 +1 @@
|
||||
BALANCED/qos.json.j2
|
Loading…
Reference in New Issue
Block a user