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

[device/dell] Add dynamic buffer pg lookup tbl #1366

Merged
merged 1 commit into from
Feb 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -68,7 +68,7 @@
}
},
"BUFFER_POOL": {
"ingress_lossless_lossy_pool": {
"ingress_lossless_pool": {
"size": "10443264",
"type": "ingress",
"mode": "dynamic",
Expand All @@ -87,14 +87,14 @@
},
"BUFFER_PROFILE": {
"ingress_lossless_profile": {
"pool": "[BUFFER_POOL|ingress_lossless_lossy_pool]",
"pool": "[BUFFER_POOL|ingress_lossless_pool]",
"xon": "4096",
"xoff": "58448",
"size": "1248",
"dynamic_th": "-4"
},
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_lossy_pool]",
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"size":"0",
"dynamic_th":"3"
},
Expand All @@ -110,16 +110,18 @@
}
},
"BUFFER_PG": {
"{{ port_names }}:3-4": {
"{{ port_names }}|3-4": {
"profile" : "[BUFFER_PROFILE|ingress_lossless_profile]"
},
"{{ port_names }}:0-1": {
"{{ port_names }}|0-1": {
"profile" : "[BUFFER_PROFILE|ingress_lossy_profile]"
},
"BUFFER_QUEUE_TABLE:{{ port_names }}:3-4": {
}
},
"BUFFER_QUEUE": {
"{{ port_names }}|3-4": {
"profile" : "[BUFFER_PROFILE|egress_lossless_profile]"
},
"BUFFER_QUEUE_TABLE:{{ port_names }}:0-1": {
"{{ port_names }}|0-1": {
"profile" : "[BUFFER_PROFILE|egress_lossy_profile]"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold
10000 5m 1248 2288 35776 -4
25000 5m 1248 2288 53248 -4
40000 5m 1248 2288 66560 -4
50000 5m 1248 2288 90272 -4
100000 5m 1248 2288 165568 -4
10000 40m 1248 2288 37024 -4
25000 40m 1248 2288 53248 -4
40000 40m 1248 2288 71552 -4
50000 40m 1248 2288 96096 -4
100000 40m 1248 2288 177632 -4
10000 300m 1248 2288 46176 -4
25000 300m 1248 2288 79040 -4
40000 300m 1248 2288 108160 -4
50000 300m 1248 2288 141856 -4
100000 300m 1248 2288 268736 -4