Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wred drop probability config in qos wred profile #1913

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@
"yellow_max_threshold":"628320",
"yellow_min_threshold":"78400",
"green_max_threshold": "642656",
"green_min_threshold": "80192"
"green_min_threshold": "80192",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS" : {
"wred_green_enable":"true",
Expand All @@ -128,7 +131,10 @@
"yellow_max_threshold":"628320",
"yellow_min_threshold":"78400",
"green_max_threshold": "642656",
"green_min_threshold": "80192"
"green_min_threshold": "80192",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
10 changes: 8 additions & 2 deletions device/accton/x86_64-accton_as7212_54x-r0/AS7212-54x/qos.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -144,7 +147,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold":"312000",
"green_min_threshold":"104000"
"green_min_threshold":"104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold":"312000",
"green_min_threshold":"104000"
"green_min_threshold":"104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -140,7 +143,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -140,7 +143,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold":"312000",
"green_min_threshold":"104000"
"green_min_threshold":"104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@
"yellow_max_threshold":"312000",
"yellow_min_threshold":"104000",
"green_max_threshold": "312000",
"green_min_threshold": "104000"
"green_min_threshold": "104000",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@
"yellow_max_threshold":"628320",
"yellow_min_threshold":"78400",
"green_max_threshold": "642656",
"green_min_threshold": "80192"
"green_min_threshold": "80192",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS" : {
"wred_green_enable":"true",
Expand All @@ -128,7 +131,10 @@
"yellow_max_threshold":"628320",
"yellow_min_threshold":"78400",
"green_max_threshold": "642656",
"green_min_threshold": "80192"
"green_min_threshold": "80192",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@
"yellow_max_threshold":"628320",
"yellow_min_threshold":"78400",
"green_max_threshold": "642656",
"green_min_threshold": "80192"
"green_min_threshold": "80192",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS" : {
"wred_green_enable":"true",
Expand All @@ -128,7 +131,10 @@
"yellow_max_threshold":"628320",
"yellow_min_threshold":"78400",
"green_max_threshold": "642656",
"green_min_threshold": "80192"
"green_min_threshold": "80192",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
10 changes: 8 additions & 2 deletions device/mellanox/x86_64-mlnx_lssn2700-r0/LS-SN2700/qos.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -144,7 +147,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
10 changes: 8 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2100-r0/ACS-MSN2100/qos.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -144,7 +147,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
10 changes: 8 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2410-r0/ACS-MSN2410/qos.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -144,7 +147,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
10 changes: 8 additions & 2 deletions device/mellanox/x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -144,7 +147,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
},
"AZURE_LOSSLESS": {
"wred_green_enable":"true",
Expand All @@ -144,7 +147,10 @@
"yellow_max_threshold":"516096",
"yellow_min_threshold":"516096",
"green_max_threshold": "184320",
"green_min_threshold": "184320"
"green_min_threshold": "184320",
"green_drop_probability":"100",
"yellow_drop_probability":"100",
"red_drop_probability":"100"
}
},
"QUEUE": {
Expand Down