forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Barefoot] Add xon_offset to pg_profile_lookup.ini (sonic-net#12073)
- Why I did it Barefoot uses hysteresis, instead of 'xon-threshold'. 'xon' is only supported in static mode, so there is a need to add this attribute to every mode in PG profile init file - How I did it 'xon_offset' was added to pg_profile_lookup.ini - How to verify it Install and basic sanity tests including traffic. Checked with: pfcwd/test_pfc_config.py pfcwd/test_pfcwd_all_port_storm.py pfcwd/test_pfcwd_function.py pfcwd/test_pfcwd_war_reboot.py pfc_asym/test_pfc_asym.py Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com> Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com>
- Loading branch information
1 parent
1dec490
commit bdebcff
Showing
3 changed files
with
54 additions
and
51 deletions.
There are no files selected for viewing
39 changes: 20 additions & 19 deletions
39
device/barefoot/x86_64-accton_as9516_32d-r0/newport/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold | ||
10000 5m 34816 18432 16384 7 | ||
25000 5m 34816 18432 16384 7 | ||
40000 5m 34816 18432 16384 7 | ||
50000 5m 34816 18432 16384 7 | ||
100000 5m 36864 18432 18432 7 | ||
400000 5m 36864 18432 18432 7 | ||
10000 40m 36864 18432 18432 7 | ||
25000 40m 39936 18432 21504 7 | ||
40000 40m 41984 18432 23552 7 | ||
50000 40m 41984 18432 23552 7 | ||
100000 40m 54272 18432 35840 7 | ||
400000 40m 54272 18432 35840 7 | ||
10000 300m 49152 18432 30720 7 | ||
25000 300m 71680 18432 53248 7 | ||
40000 300m 94208 18432 75776 7 | ||
50000 300m 94208 18432 75776 7 | ||
100000 300m 184320 18432 165888 7 | ||
400000 300m 184320 18432 165888 7 | ||
# speed cable size xon xoff threshold xon_offset | ||
10000 5m 34816 18432 16384 7 18432 | ||
25000 5m 34816 18432 16384 7 18432 | ||
40000 5m 34816 18432 16384 7 18432 | ||
50000 5m 34816 18432 16384 7 18432 | ||
100000 5m 36864 18432 18432 7 18432 | ||
400000 5m 36864 18432 18432 7 18432 | ||
10000 40m 36864 18432 18432 7 18432 | ||
25000 40m 39936 18432 21504 7 18432 | ||
40000 40m 41984 18432 23552 7 18432 | ||
50000 40m 41984 18432 23552 7 18432 | ||
100000 40m 54272 18432 35840 7 18432 | ||
400000 40m 54272 18432 35840 7 18432 | ||
10000 300m 49152 18432 30720 7 18432 | ||
25000 300m 71680 18432 53248 7 18432 | ||
40000 300m 94208 18432 75776 7 18432 | ||
50000 300m 94208 18432 75776 7 18432 | ||
100000 300m 184320 18432 165888 7 18432 | ||
400000 300m 184320 18432 165888 7 18432 | ||
|
33 changes: 17 additions & 16 deletions
33
device/barefoot/x86_64-accton_wedge100bf_32x-r0/montara/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold | ||
10000 5m 34816 18432 16384 0 | ||
25000 5m 34816 18432 16384 0 | ||
40000 5m 34816 18432 16384 0 | ||
50000 5m 34816 18432 16384 0 | ||
100000 5m 36864 18432 18432 0 | ||
10000 40m 36864 18432 18432 0 | ||
25000 40m 39936 18432 21504 0 | ||
40000 40m 41984 18432 23552 0 | ||
50000 40m 41984 18432 23552 0 | ||
100000 40m 54272 18432 35840 0 | ||
10000 300m 49152 18432 30720 0 | ||
25000 300m 71680 18432 53248 0 | ||
40000 300m 94208 18432 75776 0 | ||
50000 300m 94208 18432 75776 0 | ||
100000 300m 184320 18432 165888 0 | ||
# speed cable size xon xoff threshold xon_offset | ||
10000 5m 34816 18432 16384 0 18432 | ||
25000 5m 34816 18432 16384 0 18432 | ||
40000 5m 34816 18432 16384 0 18432 | ||
50000 5m 34816 18432 16384 0 18432 | ||
100000 5m 36864 18432 18432 0 18432 | ||
10000 40m 36864 18432 18432 0 18432 | ||
25000 40m 39936 18432 21504 0 18432 | ||
40000 40m 41984 18432 23552 0 18432 | ||
50000 40m 41984 18432 23552 0 18432 | ||
100000 40m 54272 18432 35840 0 18432 | ||
10000 300m 49152 18432 30720 0 18432 | ||
25000 300m 71680 18432 53248 0 18432 | ||
40000 300m 94208 18432 75776 0 18432 | ||
50000 300m 94208 18432 75776 0 18432 | ||
100000 300m 184320 18432 165888 0 18432 | ||
|
33 changes: 17 additions & 16 deletions
33
device/barefoot/x86_64-accton_wedge100bf_65x-r0/mavericks/pg_profile_lookup.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
# PG lossless profiles. | ||
# speed cable size xon xoff threshold | ||
10000 5m 34816 18432 16384 0 | ||
25000 5m 34816 18432 16384 0 | ||
40000 5m 34816 18432 16384 0 | ||
50000 5m 34816 18432 16384 0 | ||
100000 5m 36864 18432 18432 0 | ||
10000 40m 36864 18432 18432 0 | ||
25000 40m 39936 18432 21504 0 | ||
40000 40m 41984 18432 23552 0 | ||
50000 40m 41984 18432 23552 0 | ||
100000 40m 54272 18432 35840 0 | ||
10000 300m 49152 18432 30720 0 | ||
25000 300m 71680 18432 53248 0 | ||
40000 300m 94208 18432 75776 0 | ||
50000 300m 94208 18432 75776 0 | ||
100000 300m 184320 18432 165888 0 | ||
# speed cable size xon xoff threshold xon_offset | ||
10000 5m 34816 18432 16384 0 18432 | ||
25000 5m 34816 18432 16384 0 18432 | ||
40000 5m 34816 18432 16384 0 18432 | ||
50000 5m 34816 18432 16384 0 18432 | ||
100000 5m 36864 18432 18432 0 18432 | ||
10000 40m 36864 18432 18432 0 18432 | ||
25000 40m 39936 18432 21504 0 18432 | ||
40000 40m 41984 18432 23552 0 18432 | ||
50000 40m 41984 18432 23552 0 18432 | ||
100000 40m 54272 18432 35840 0 18432 | ||
10000 300m 49152 18432 30720 0 18432 | ||
25000 300m 71680 18432 53248 0 18432 | ||
40000 300m 94208 18432 75776 0 18432 | ||
50000 300m 94208 18432 75776 0 18432 | ||
100000 300m 184320 18432 165888 0 18432 | ||
|