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

[Barefoot] Add xon_offset to pg_profile_lookup.ini #12073

Merged
merged 11 commits into from
Oct 20, 2022

Conversation

MariuszStachura
Copy link
Contributor

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 [email protected]

- 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 <[email protected]>
@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 12073 in repo sonic-net/sonic-buildimage

@MariuszStachura MariuszStachura marked this pull request as ready for review September 20, 2022 09:51
@MariuszStachura
Copy link
Contributor Author

@prsunny Hey Prince, do you think there might be some CI issues lately? I keep getting different errors here, many thanks in advance.

@MariuszStachura
Copy link
Contributor Author

Hi @xumia, I think that those CI issues are not related to my change. Could you help me out finding a solution to get this PR merged? Many thanks in advance

Copy link
Contributor

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StormLiangMS StormLiangMS merged commit bdebcff into sonic-net:master Oct 20, 2022
SavchukRomanLv pushed a commit to SavchukRomanLv/sonic-buildimage that referenced this pull request Nov 1, 2022
StormLiangMS pushed a commit that referenced this pull request Nov 2, 2022
…12568)

Why I did it
This changes should go with updated SDE for BFN. Without update we do see orchagent core dump.

How I did it
Revert changes

How to verify it
Deploy topology. No core dump appears
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants