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

[sonic-swss] : PFCWD recovery changes using DLR_INIT #2316

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

vmittal-msft
Copy link
Contributor

What I did
This is changing PFCWD recovery from SONIC based to SAI/SDK DLR_INIT way.

Why I did it
Existing SONIC scheme will not work for upcoming BRCM devices starting with TH3.

How I verified it
Verified this to be working fine on HW platform where the issue was seen. Added sonic-mgmt test case to handle this scenario.

@prsunny
Copy link
Collaborator

prsunny commented Jun 9, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Collaborator

prsunny commented Jun 9, 2022

Plans to add test?

@neethajohn
Copy link
Contributor

neethajohn commented Jun 9, 2022

Plans to add test?

The changes required for existing testcases are already addressed in the below PR. We just need to include Th3 in the platform check
sonic-net/sonic-mgmt#5665

@vmittal-msft
Copy link
Contributor Author

Plans to add test?

The changes required for existing testcases are already addressed in the below PR. We just need to include Th3 in the platform check Azure/sonic-mgmt#5665

@prsunny @neethajohn I have added new test case to handle this scenario where multi port multi priority PFCWD verification will be done. I will verify Neetha changes along with that test case and push those changes in sonic-mgmt as seperate PR.

@neethajohn
Copy link
Contributor

@vmittal-msft , as discussed, please explore if mock tests can be added for these changes

orchagent/switchorch.cpp Show resolved Hide resolved
orchagent/switchorch.h Outdated Show resolved Hide resolved
orchagent/pfcwdorch.h Outdated Show resolved Hide resolved
orchagent/pfcwdorch.cpp Outdated Show resolved Hide resolved
orchagent/pfcwdorch.cpp Outdated Show resolved Hide resolved
orchagent/pfcwdorch.cpp Outdated Show resolved Hide resolved
@vmittal-msft vmittal-msft force-pushed the vmittal/pfcwd_dlr branch 8 times, most recently from 4a2c3d3 to ea29f92 Compare July 26, 2022 17:22
tests/mock_tests/portsorch_ut.cpp Outdated Show resolved Hide resolved
tests/mock_tests/portsorch_ut.cpp Outdated Show resolved Hide resolved
@vmittal-msft vmittal-msft force-pushed the vmittal/pfcwd_dlr branch 10 times, most recently from 6bd3850 to 8c5d31e Compare July 28, 2022 17:51
@vmittal-msft vmittal-msft force-pushed the vmittal/pfcwd_dlr branch 3 times, most recently from 9c34885 to f4dbc73 Compare July 28, 2022 22:53
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 5, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

gechiang
gechiang previously approved these changes Aug 5, 2022
Copy link
Contributor

@gechiang gechiang left a comment

Choose a reason for hiding this comment

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

LGTM

prsunny
prsunny previously approved these changes Aug 5, 2022
neethajohn
neethajohn previously approved these changes Aug 8, 2022
@vmittal-msft vmittal-msft merged commit fd0c585 into sonic-net:master Aug 10, 2022
@vmittal-msft vmittal-msft deleted the vmittal/pfcwd_dlr branch August 10, 2022 23:08
yxieca pushed a commit that referenced this pull request Sep 1, 2022
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Sep 1, 2022
Update sonic-swss submodule pointer to include the following:
* [BFD]Clean up state_db BFD entries on swss restart ([sonic-net#2434](sonic-net/sonic-swss#2434))
* Fix the Fec Mode Setting of gbsyncd ([sonic-net#2430](sonic-net/sonic-swss#2430))
* [neighsyncd] Enabling ipv4 link local entries for non-dualtor ([sonic-net#2427](sonic-net/sonic-swss#2427))
* tlm_teamd: Filter portchannel subinterface events from STATE_DB LAG_TABLE ([sonic-net#2408](sonic-net/sonic-swss#2408))
* PFCWD recovery changes using DLR_INIT ([sonic-net#2316](sonic-net/sonic-swss#2316))
* Dynamic port configuration - add port buffer cfg to the port ref counter ([sonic-net#2194](sonic-net/sonic-swss#2194))

Signed-off-by: dprital <drorp@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants