Skip to content

Commit

Permalink
Add lossy scheduler for queue 7 (#12596)
Browse files Browse the repository at this point in the history
* Add lossy scheduler for queue 7
  • Loading branch information
bingwang-ms authored and yxieca committed Nov 10, 2022
1 parent c1db09e commit d824846
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 0 deletions.
7 changes: 7 additions & 0 deletions files/build_templates/qos_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
"global": {
"dscp_to_tc_map" : "AZURE"
}{% if PORT_ACTIVE %},{% endif %}

{% endif %}
{% for port in PORT_ACTIVE %}
"{{ port }}": {
Expand Down Expand Up @@ -332,6 +333,12 @@
"{{ port }}|5": {
"scheduler": "scheduler.0"
},
{# DSCP 48 is mapped to QUEUE 7 in macro generate_dscp_to_tc_map #}
{% if (generate_dscp_to_tc_map is defined) and tunnel_qos_remap_enable %}
"{{ port }}|7": {
"scheduler": "scheduler.0"
},
{% endif %}
{% endfor %}
{% for port in PORT_ACTIVE %}
"{{ port }}|6": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1050,99 +1050,195 @@
"Ethernet0|5": {
"scheduler": "scheduler.0"
},
"Ethernet0|7": {
"scheduler": "scheduler.0"
},
"Ethernet4|5": {
"scheduler": "scheduler.0"
},
"Ethernet4|7": {
"scheduler": "scheduler.0"
},
"Ethernet8|5": {
"scheduler": "scheduler.0"
},
"Ethernet8|7": {
"scheduler": "scheduler.0"
},
"Ethernet12|5": {
"scheduler": "scheduler.0"
},
"Ethernet12|7": {
"scheduler": "scheduler.0"
},
"Ethernet16|5": {
"scheduler": "scheduler.0"
},
"Ethernet16|7": {
"scheduler": "scheduler.0"
},
"Ethernet20|5": {
"scheduler": "scheduler.0"
},
"Ethernet20|7": {
"scheduler": "scheduler.0"
},
"Ethernet24|5": {
"scheduler": "scheduler.0"
},
"Ethernet24|7": {
"scheduler": "scheduler.0"
},
"Ethernet28|5": {
"scheduler": "scheduler.0"
},
"Ethernet28|7": {
"scheduler": "scheduler.0"
},
"Ethernet32|5": {
"scheduler": "scheduler.0"
},
"Ethernet32|7": {
"scheduler": "scheduler.0"
},
"Ethernet36|5": {
"scheduler": "scheduler.0"
},
"Ethernet36|7": {
"scheduler": "scheduler.0"
},
"Ethernet40|5": {
"scheduler": "scheduler.0"
},
"Ethernet40|7": {
"scheduler": "scheduler.0"
},
"Ethernet44|5": {
"scheduler": "scheduler.0"
},
"Ethernet44|7": {
"scheduler": "scheduler.0"
},
"Ethernet48|5": {
"scheduler": "scheduler.0"
},
"Ethernet48|7": {
"scheduler": "scheduler.0"
},
"Ethernet52|5": {
"scheduler": "scheduler.0"
},
"Ethernet52|7": {
"scheduler": "scheduler.0"
},
"Ethernet56|5": {
"scheduler": "scheduler.0"
},
"Ethernet56|7": {
"scheduler": "scheduler.0"
},
"Ethernet60|5": {
"scheduler": "scheduler.0"
},
"Ethernet60|7": {
"scheduler": "scheduler.0"
},
"Ethernet64|5": {
"scheduler": "scheduler.0"
},
"Ethernet64|7": {
"scheduler": "scheduler.0"
},
"Ethernet68|5": {
"scheduler": "scheduler.0"
},
"Ethernet68|7": {
"scheduler": "scheduler.0"
},
"Ethernet72|5": {
"scheduler": "scheduler.0"
},
"Ethernet72|7": {
"scheduler": "scheduler.0"
},
"Ethernet76|5": {
"scheduler": "scheduler.0"
},
"Ethernet76|7": {
"scheduler": "scheduler.0"
},
"Ethernet80|5": {
"scheduler": "scheduler.0"
},
"Ethernet80|7": {
"scheduler": "scheduler.0"
},
"Ethernet84|5": {
"scheduler": "scheduler.0"
},
"Ethernet84|7": {
"scheduler": "scheduler.0"
},
"Ethernet88|5": {
"scheduler": "scheduler.0"
},
"Ethernet88|7": {
"scheduler": "scheduler.0"
},
"Ethernet92|5": {
"scheduler": "scheduler.0"
},
"Ethernet92|7": {
"scheduler": "scheduler.0"
},
"Ethernet96|5": {
"scheduler": "scheduler.0"
},
"Ethernet96|7": {
"scheduler": "scheduler.0"
},
"Ethernet100|5": {
"scheduler": "scheduler.0"
},
"Ethernet100|7": {
"scheduler": "scheduler.0"
},
"Ethernet104|5": {
"scheduler": "scheduler.0"
},
"Ethernet104|7": {
"scheduler": "scheduler.0"
},
"Ethernet108|5": {
"scheduler": "scheduler.0"
},
"Ethernet108|7": {
"scheduler": "scheduler.0"
},
"Ethernet112|5": {
"scheduler": "scheduler.0"
},
"Ethernet112|7": {
"scheduler": "scheduler.0"
},
"Ethernet116|5": {
"scheduler": "scheduler.0"
},
"Ethernet116|7": {
"scheduler": "scheduler.0"
},
"Ethernet120|5": {
"scheduler": "scheduler.0"
},
"Ethernet120|7": {
"scheduler": "scheduler.0"
},
"Ethernet124|5": {
"scheduler": "scheduler.0"
},
"Ethernet124|7": {
"scheduler": "scheduler.0"
},
"Ethernet0|6": {
"scheduler": "scheduler.0"
},
Expand Down
Loading

0 comments on commit d824846

Please sign in to comment.